Class GazeboRosState

Inheritance Relationships

Base Type

  • public gazebo::WorldPlugin

Class Documentation

class GazeboRosState : public gazebo::WorldPlugin

Provides services and topics to query and set the state of entities in simualtion, such as position and velocity.

Services:

get_entity_state (gazebo_msgs::srv::GetEntityState)
    Get an entity's position and velocity.

set_entity_state (gazebo_msgs::srv::SetEntityState)
    Set an entity's position and velocity.

Public Functions

GazeboRosState()

Constructor.

virtual ~GazeboRosState()

Destructor.

void Load(gazebo::physics::WorldPtr _world, sdf::ElementPtr _sdf) override