7 #ifndef DYNAMICS2D_VELOCITY_CONTROL_H
8 #define DYNAMICS2D_VELOCITY_CONTROL_H
11 class CDynamics2DEngine;
14 #include <argos3/plugins/simulator/physics_engines/dynamics2d/chipmunk-physics/include/chipmunk.h>
15 #include <argos3/core/utility/configuration/argos_configuration.h>
16 #include <argos3/core/utility/math/vector2.h>
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual ~CDynamics2DVelocityControl()
cpBody * GetControlledBody()
cpBody * m_ptControlledBody
void SetAngularVelocity(Real f_velocity)
cpConstraint * m_ptLinearConstraint
cpConstraint * GetAngularConstraint()
CDynamics2DEngine & m_cDyn2DEngine
cpBody * GetControlBody()
cpConstraint * GetLinearConstraint()
Real GetMaxTorque() const
Real GetAngularVelocity() const
CDynamics2DVelocityControl(CDynamics2DEngine &c_engine, Real f_max_force, Real f_max_torque, TConfigurationNode *t_node=NULL)
cpConstraint * m_ptAngularConstraint
CVector2 GetLinearVelocity() const
void SetLinearVelocity(const CVector2 &c_velocity)
void AttachTo(cpBody *pt_body)