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>
57 m_pcGrippable = pc_grippable;
78 cpConstraint* m_ptLinearFriction;
79 cpConstraint* m_ptAngularFriction;
void SetMass(Real f_mass)
void SetAngularFriction(Real f_max_bias, Real f_max_force)
Sets the angular friction of this object.
float Real
Collects all ARGoS code.
A stretchable and grippable object model for the dynamics 2D engine.
Basic class for an entity that contains other entities.
Base class for object models with a single body.
void SetLinearFriction(Real f_max_bias, Real f_max_force)
Sets the linear friction of this object.
virtual void MoveTo(const CVector3 &c_position, const CQuaternion &c_orientation)
The namespace containing all the ARGoS related code.
CDynamics2DStretchableObjectModel(CDynamics2DEngine &c_engine, CComposableEntity &c_entity)
void SetGrippable(CDynamics2DGrippable *pc_grippable)
virtual ~CDynamics2DStretchableObjectModel()
virtual void UpdateFromEntityStatus()
Updates the state of this model from the status of the associated entity.