7 #ifndef DYNAMICS2D_STRETCHABLE_OBJECT_MODEL_H
8 #define DYNAMICS2D_STRETCHABLE_OBJECT_MODEL_H
11 class CDynamics2DGrippable;
12 class CDynamics2DStretchableObjectModel;
15 #include <argos3/plugins/simulator/physics_engines/dynamics2d/dynamics2d_single_body_object_model.h>
61 m_pcGrippable = pc_grippable;
82 cpConstraint* m_ptLinearFriction;
83 cpConstraint* m_ptAngularFriction;
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
Basic class for an entity that contains other entities.
Base class for object models with a single body.
A stretchable and grippable object model for the dynamics 2D engine.
virtual void MoveTo(const CVector3 &c_position, const CQuaternion &c_orientation)
virtual ~CDynamics2DStretchableObjectModel()
CDynamics2DStretchableObjectModel(CDynamics2DEngine &c_engine, CComposableEntity &c_entity)
void SetLinearFriction(Real f_max_bias, Real f_max_force)
Sets the linear friction of this object.
void SetGrippable(CDynamics2DGrippable *pc_grippable)
void SetMass(Real f_mass)
CDynamics2DGrippable * GetGrippable()
virtual void UpdateFromEntityStatus()
Updates the state of this model from the status of the associated entity.
void SetAngularFriction(Real f_max_bias, Real f_max_force)
Sets the angular friction of this object.