7 #ifndef DYNAMICS3D_PROTOTYPE_MODEL_H
8 #define DYNAMICS3D_PROTOTYPE_MODEL_H
11 class CPrototypeEntity;
12 class CPrototypeJointEquippedEntity;
15 #include <argos3/plugins/robots/prototype/simulator/prototype_joint_entity.h>
16 #include <argos3/plugins/simulator/physics_engines/dynamics3d/dynamics3d_multi_body_object_model.h>
17 #include <argos3/plugins/simulator/physics_engines/dynamics3d/bullet/BulletDynamics/Featherstone/btMultiBodyJointMotor.h>
18 #include <argos3/plugins/simulator/physics_engines/dynamics3d/bullet/BulletDynamics/Featherstone/btMultiBodyJointLimitConstraint.h>
36 virtual void AddToWorld(btMultiBodyDynamicsWorld& c_world);
54 std::shared_ptr<CLink>& ptr_parent,
55 std::shared_ptr<CLink>& ptr_child,
56 const btVector3& c_parent_offset,
57 const btVector3& c_child_offset,
58 const btQuaternion& c_parent_to_child_rotation,
59 const btVector3& c_axis,
60 bool b_disable_collision);
62 std::shared_ptr<CLink> Parent;
63 std::shared_ptr<CLink> Child;
64 btVector3 ParentOffset;
65 btVector3 ChildOffset;
66 btQuaternion ParentToChildRotation;
68 bool DisableCollision;
84 btMultiBodyJointLimitConstraint Constraint;
90 CPrototypeJointEntity::SActuator& s_actuator,
97 CPrototypeJointEntity::SActuator& Actuator;
99 btMultiBodyJointMotor Motor;
105 CPrototypeJointEntity::SSensor& s_sensor,
111 CPrototypeJointEntity::SSensor& Sensor;
115 std::vector<SJoint> m_vecJoints;
116 std::vector<SLimit> m_vecLimits;
117 std::vector<SActuator> m_vecActuators;
118 std::vector<SSensor> m_vecSensors;
signed int SInt32
32-bit signed integer.
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
virtual ~CDynamics3DPrototypeModel()
virtual void RemoveFromWorld(btMultiBodyDynamicsWorld &c_world)
virtual void AddToWorld(btMultiBodyDynamicsWorld &c_world)
virtual void UpdateEntityStatus()
Updates the status of the associated entity.
CDynamics3DPrototypeModel(CDynamics3DEngine &c_engine, CPrototypeEntity &c_entity)
virtual void UpdateFromEntityStatus()
Updates the state of this model from the status of the associated entity.