7 #ifndef WHEELED_ENTITY_H
8 #define WHEELED_ENTITY_H
10 #include <argos3/core/simulator/entity/entity.h>
11 #include <argos3/core/utility/math/vector3.h>
24 size_t un_num_wheels);
27 const std::string& str_id,
28 size_t un_num_wheels);
45 return m_pcWheelPositions;
51 return m_pfWheelRadia;
57 return m_pfWheelVelocities;
71 Real* m_pfWheelVelocities;
unsigned int UInt32
32-bit unsigned integer.
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
Basic class for an entity that contains other entities.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
virtual ~CWheeledEntity()
const Real * GetWheelVelocities() const
Real GetWheelRadius(size_t un_index) const
CWheeledEntity(CComposableEntity *pc_parent, size_t un_num_wheels)
const CVector3 * GetWheelPositions() const
const CVector3 & GetWheelPosition(size_t un_index) const
void SetWheel(UInt32 un_index, const CVector3 &c_position, Real f_radius)
virtual std::string GetTypeDescription() const
Returns a string label for this class.
void SetVelocities(Real *pf_velocities)
const Real * GetWheelRadia() const
size_t GetNumWheels() const
Real GetWheelVelocity(size_t un_index) const