8 #include <argos3/core/utility/plugins/factory.h>
9 #include <argos3/core/simulator/entity/positional_entity.h>
10 #include <argos3/core/simulator/entity/embodied_entity.h>
20 c_entity.
MoveTo(c_position, c_orientation);
30 bool b_ignore_collisions) {
31 return c_entity.
MoveTo(c_position, c_orientation, b_check_only, b_ignore_collisions);
38 CallEntityOperation<CSpaceOperationAddEntity, CSpace, void>(m_cSpace, c_entity);
53 CallEntityOperation<CSpaceOperationRemoveEntity, CSpace, void>(m_cSpace, c_entity);
The namespace containing all the ARGoS related code.
This entity is a link to a body in the physics engine.
virtual bool MoveTo(const CVector3 &c_position, const CQuaternion &c_orientation, bool b_check_only=false, bool b_ignore_collisions=false)
Moves the entity to the wanted position and orientation.
virtual void MoveTo(const CVector3 &c_position, const CQuaternion &c_orientation)
virtual void RemoveEntity(const std::string &str_entity_id)
Removes an entity from the simulation.
virtual void MoveEntity(CPositionalEntity &c_entity, const CVector3 &c_position, const CQuaternion &c_orientation)
Moves the entity to the wanted position and orientation.
virtual void AddEntity(CEntity &c_entity)
Adds the passed entity to the simulation.
CEntity & GetEntity(const std::string &str_id)
Returns the entity with the given id.