HMSphere
class gazebo::HMSphere¶
class gazebo::HMSphere : public gazebo::HMFossen
Class containing the methods and attributes for a hydrodynamic model for a sphere in the fluid.
Summary¶
| Members | Descriptions |
|---|---|
public inline virtual std::stringGetType() |
Return (derived) type of hydrodynamic model. |
public virtual voidPrint(std::string _paramName,std::string _message) |
Prints parameters. |
protected doubleradius |
Sphere radius. |
protected doubleCd |
Drag coefficient. |
protected doubleareaSection |
Area of the cross section. |
protectedREGISTER_HYDRODYNAMICMODEL(HMSphere) |
Register this model with the factory. |
protectedHMSphere(sdf::ElementPtr _sdf,physics::LinkPtr _link) |
Members¶
public inline virtual std::stringGetType()¶
Return (derived) type of hydrodynamic model.
public virtual voidPrint(std::string _paramName,std::string _message)¶
Prints parameters.
protected doubleradius¶
Sphere radius.
protected doubleCd¶
Drag coefficient.
protected doubleareaSection¶
Area of the cross section.
protectedREGISTER_HYDRODYNAMICMODEL(HMSphere)¶
Register this model with the factory.