sas
Modularised monitoring, logging, and control of robots.
Loading...
Searching...
No Matches
sas_robot_driver_gazebo.hpp File Reference

Gazebo implementation of sas::RobotDriver, in C++. More...

#include <memory>
#include <mutex>
#include <string>
#include <unordered_map>
#include <vector>
#include <Eigen/Dense>
#include <gz/msgs/model.pb.h>
#include <gz/transport/Node.hh>
#include <sas_core/sas_robot_driver.hpp>

Go to the source code of this file.

Classes

struct  sas::RobotDriverGazeboConfiguration
 Configuration of RobotDriverGazebo: the joints and the Gazebo topics. More...
class  sas::RobotDriverGazebo
 Gazebo implementation of RobotDriver. More...

Detailed Description

Gazebo implementation of sas::RobotDriver, in C++.

Publishes joint position commands to Gazebo's JointPositionController topics and keeps the latest joint states from a JointStatePublisher topic. The joint-state callback runs on gz-transport's thread and only copies the configured joints into vectors under a mutex, so it never waits for the driver's control loop (nor for a Python interpreter lock).