8 #include <argos3/core/simulator/physics_engine/physics_engine.h>
9 #include <argos3/core/simulator/space/space.h>
19 m_fRotationSpeed(0.0f) {
27 const std::string& str_id) :
30 m_fRotationSpeed(0.0f) {
40 m_fRotationSpeed = 0.0f;
48 m_fRotationSpeed != 0.0f) {
49 m_cRotation +=
CRadians(m_fRotationSpeed *
59 m_cRotation = c_rotation;
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
It defines the basic type CRadians, used to store an angle value in radians.
CRadians & UnsignedNormalize()
Normalizes the value in the range [0:TWO_PI].
Basic class for an entity that contains other entities.
static const CRadians ZERO
Set to zero radians.
void Disable()
Disables the entity.
REGISTER_STANDARD_SPACE_OPERATIONS_ON_ENTITY(CEntity)
CFootBotDistanceScannerEquippedEntity(CComposableEntity *pc_parent)
static Real GetSimulationClockTick()
Returns the simulation clock tick.
The namespace containing all the ARGoS related code.
virtual void Update()
Updates the state of this entity.
void SetRotation(const CRadians &c_rotation)