|
sas
Modularised monitoring, logging, and control of robots.
|
Interface between ObjectServer and Gazebo. More...
#include <sas_object_server_gazebo.hpp>
Public Member Functions | |
| ObjectServerGazebo (const ObjectServerGazebo &)=delete | |
| ObjectServerGazebo (ObjectServerGazebo &&)=default | |
| ObjectServerGazebo (const std::shared_ptr< ObjectServer > &object_server, const std::string &gazebo_entity_name, const std::string &gazebo_set_pose_service_name, const std::string &gazebo_world_dynamic_pose_topic) | |
| Construct an ObjectServerGazebo instance. | |
| void | update () |
| Synchronize ObjectServer and Gazebo poses. | |
Interface between ObjectServer and Gazebo.
Receives target poses from an ObjectServer instance, forwards them to Gazebo, and publishes the current Gazebo pose back through the ObjectServer.
| sas::ObjectServerGazebo::ObjectServerGazebo | ( | const std::shared_ptr< ObjectServer > & | object_server, |
| const std::string & | gazebo_entity_name, | ||
| const std::string & | gazebo_set_pose_service_name, | ||
| const std::string & | gazebo_world_dynamic_pose_topic ) |
Construct an ObjectServerGazebo instance.
| object_server | ObjectServer instance used for ROS communication. |
| gazebo_entity_name | Gazebo entity name handled by this object. |
| gazebo_set_pose_service_name | Gazebo service used to set poses. |
| gazebo_world_dynamic_pose_topic | Gazebo topic used to read poses. |
| void sas::ObjectServerGazebo::update | ( | ) |
Synchronize ObjectServer and Gazebo poses.
Sends a new target pose to Gazebo when it changes and updates the ObjectServer with the current pose reported by Gazebo.