ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
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;
const CVector3 * GetWheelPositions() const
const Real * GetWheelVelocities() const
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...
Real GetWheelVelocity(size_t un_index) const
CWheeledEntity(CComposableEntity *pc_parent, size_t un_num_wheels)
virtual ~CWheeledEntity()
void SetWheel(UInt32 un_index, const CVector3 &c_position, Real f_radius)
void SetVelocities(Real *pf_velocities)
const CVector3 & GetWheelPosition(size_t un_index) const
const Real * GetWheelRadia() const
virtual std::string GetTypeDescription() const
Returns a string label for this class.
unsigned int UInt32
32-bit unsigned integer.
size_t GetNumWheels() const
float Real
Collects all ARGoS code.
Real GetWheelRadius(size_t un_index) const