7#ifndef POSITIONAL_ENTITY_H
8#define POSITIONAL_ENTITY_H
14#include <argos3/core/simulator/entity/entity.h>
15#include <argos3/core/utility/math/vector3.h>
16#include <argos3/core/utility/math/quaternion.h>
29 const std::string& str_id,
41 return m_cInitPosition;
45 m_cPosition = c_position;
49 m_cInitPosition = c_position;
53 return m_cOrientation;
57 return m_cInitOrientation;
61 m_cOrientation = c_orientation;
65 m_cInitOrientation = c_orientation;
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Basic class for an entity that contains other entities.
CEntity(CComposableEntity *pc_parent)
Class constructor.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
virtual void MoveTo(const CVector3 &c_position, const CQuaternion &c_orientation)
void SetOrientation(const CQuaternion c_orientation)
const CVector3 & GetInitPosition() const
virtual std::string GetTypeDescription() const
Returns a string label for this class.
const CQuaternion & GetOrientation() const
void SetPosition(const CVector3 &c_position)
const CVector3 & GetPosition() const
const CQuaternion & GetInitOrientation() const
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CPositionalEntity(CComposableEntity *pc_parent)
void SetInitPosition(const CVector3 &c_position)
void SetInitOrientation(const CQuaternion c_orientation)