HMCylinder
class gazebo::HMCylinder
¶
class gazebo::HMCylinder : public gazebo::HMFossen
Class containing the methods and attributes for a hydrodynamic model for a cylinder in the fluid.
Summary¶
Members | Descriptions |
---|---|
public inline virtual std::string GetType () |
Return (derived) type of hydrodynamic model. |
public virtual void Print (std::string _paramName,std::string _message) |
Prints parameters. |
protected double length |
Length of the cylinder. |
protected double radius |
Sphere radius. |
protected std::string axis |
Name of the unit rotation axis (just a tag for x, y or z) |
protected double dimRatio |
Ratio between length and diameter. |
protected double cdCirc |
Approximated drag coefficient for the circular area. |
protected double cdLength |
Approximated drag coefficient for the rectangular section. |
protected HMCylinder (sdf::ElementPtr _sdf,physics::LinkPtr _link) |
Members¶
public inline virtual std::string
GetType
()
¶
Return (derived) type of hydrodynamic model.
public virtual void
Print
(std::string _paramName,std::string _message)
¶
Prints parameters.
protected double
length
¶
Length of the cylinder.
protected double
radius
¶
Sphere radius.
protected std::string
axis
¶
Name of the unit rotation axis (just a tag for x, y or z)
protected double
dimRatio
¶
Ratio between length and diameter.
protected double
cdCirc
¶
Approximated drag coefficient for the circular area.
protected double
cdLength
¶
Approximated drag coefficient for the rectangular section.