Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gazebo_ros_control::GazeboRosControlPlugin Class Reference

#include <gazebo_ros_control_plugin.h>

Inheritance diagram for gazebo_ros_control::GazeboRosControlPlugin:
Inheritance graph
[legend]

Public Member Functions

std::string getURDF (std::string param_name) const
 
virtual void Load (gazebo::physics::ModelPtr parent, sdf::ElementPtr sdf)
 
bool parseTransmissionsFromURDF (const std::string &urdf_string)
 
virtual void Reset ()
 
void Update ()
 
virtual ~GazeboRosControlPlugin ()
 

Protected Member Functions

void eStopCB (const std_msgs::BoolConstPtr &e_stop_active)
 
void load_robot_hw_sim_srv ()
 

Protected Attributes

ros::Duration control_period_
 
boost::shared_ptr< controller_manager::ControllerManagercontroller_manager_
 
boost::thread deferred_load_thread_
 
bool e_stop_active_
 
ros::Subscriber e_stop_sub_
 
bool last_e_stop_active_
 
ros::Time last_update_sim_time_ros_
 
ros::Time last_write_sim_time_ros_
 
ros::NodeHandle model_nh_
 
gazebo::physics::ModelPtr parent_model_
 
std::string robot_description_
 
boost::shared_ptr< gazebo_ros_control::RobotHWSimrobot_hw_sim_
 
boost::shared_ptr< pluginlib::ClassLoader< gazebo_ros_control::RobotHWSim > > robot_hw_sim_loader_
 
std::string robot_hw_sim_type_str_
 
std::string robot_namespace_
 
sdf::ElementPtr sdf_
 
std::vector< transmission_interface::TransmissionInfotransmissions_
 
gazebo::event::ConnectionPtr update_connection_
 

Detailed Description

Definition at line 64 of file gazebo_ros_control_plugin.h.

Constructor & Destructor Documentation

gazebo_ros_control::GazeboRosControlPlugin::~GazeboRosControlPlugin ( )
virtual

Definition at line 51 of file gazebo_ros_control_plugin.cpp.

Member Function Documentation

void gazebo_ros_control::GazeboRosControlPlugin::eStopCB ( const std_msgs::BoolConstPtr &  e_stop_active)
protected

Definition at line 319 of file gazebo_ros_control_plugin.cpp.

std::string gazebo_ros_control::GazeboRosControlPlugin::getURDF ( std::string  param_name) const

Definition at line 281 of file gazebo_ros_control_plugin.cpp.

void gazebo_ros_control::GazeboRosControlPlugin::Load ( gazebo::physics::ModelPtr  parent,
sdf::ElementPtr  sdf 
)
virtual

Definition at line 58 of file gazebo_ros_control_plugin.cpp.

void gazebo_ros_control::GazeboRosControlPlugin::load_robot_hw_sim_srv ( )
protected
bool gazebo_ros_control::GazeboRosControlPlugin::parseTransmissionsFromURDF ( const std::string &  urdf_string)

Definition at line 312 of file gazebo_ros_control_plugin.cpp.

void gazebo_ros_control::GazeboRosControlPlugin::Reset ( )
virtual

Definition at line 273 of file gazebo_ros_control_plugin.cpp.

void gazebo_ros_control::GazeboRosControlPlugin::Update ( )

Definition at line 223 of file gazebo_ros_control_plugin.cpp.

Member Data Documentation

ros::Duration gazebo_ros_control::GazeboRosControlPlugin::control_period_
protected

Definition at line 120 of file gazebo_ros_control_plugin.h.

boost::shared_ptr<controller_manager::ControllerManager> gazebo_ros_control::GazeboRosControlPlugin::controller_manager_
protected

Definition at line 117 of file gazebo_ros_control_plugin.h.

boost::thread gazebo_ros_control::GazeboRosControlPlugin::deferred_load_thread_
protected

Definition at line 96 of file gazebo_ros_control_plugin.h.

bool gazebo_ros_control::GazeboRosControlPlugin::e_stop_active_
protected

Definition at line 125 of file gazebo_ros_control_plugin.h.

ros::Subscriber gazebo_ros_control::GazeboRosControlPlugin::e_stop_sub_
protected

Definition at line 126 of file gazebo_ros_control_plugin.h.

bool gazebo_ros_control::GazeboRosControlPlugin::last_e_stop_active_
protected

Definition at line 125 of file gazebo_ros_control_plugin.h.

ros::Time gazebo_ros_control::GazeboRosControlPlugin::last_update_sim_time_ros_
protected

Definition at line 121 of file gazebo_ros_control_plugin.h.

ros::Time gazebo_ros_control::GazeboRosControlPlugin::last_write_sim_time_ros_
protected

Definition at line 122 of file gazebo_ros_control_plugin.h.

ros::NodeHandle gazebo_ros_control::GazeboRosControlPlugin::model_nh_
protected

Definition at line 89 of file gazebo_ros_control_plugin.h.

gazebo::physics::ModelPtr gazebo_ros_control::GazeboRosControlPlugin::parent_model_
protected

Definition at line 92 of file gazebo_ros_control_plugin.h.

std::string gazebo_ros_control::GazeboRosControlPlugin::robot_description_
protected

Definition at line 107 of file gazebo_ros_control_plugin.h.

boost::shared_ptr<gazebo_ros_control::RobotHWSim> gazebo_ros_control::GazeboRosControlPlugin::robot_hw_sim_
protected

Definition at line 114 of file gazebo_ros_control_plugin.h.

boost::shared_ptr<pluginlib::ClassLoader<gazebo_ros_control::RobotHWSim> > gazebo_ros_control::GazeboRosControlPlugin::robot_hw_sim_loader_
protected

Definition at line 102 of file gazebo_ros_control_plugin.h.

std::string gazebo_ros_control::GazeboRosControlPlugin::robot_hw_sim_type_str_
protected

Definition at line 113 of file gazebo_ros_control_plugin.h.

std::string gazebo_ros_control::GazeboRosControlPlugin::robot_namespace_
protected

Definition at line 106 of file gazebo_ros_control_plugin.h.

sdf::ElementPtr gazebo_ros_control::GazeboRosControlPlugin::sdf_
protected

Definition at line 93 of file gazebo_ros_control_plugin.h.

std::vector<transmission_interface::TransmissionInfo> gazebo_ros_control::GazeboRosControlPlugin::transmissions_
protected

Definition at line 110 of file gazebo_ros_control_plugin.h.

gazebo::event::ConnectionPtr gazebo_ros_control::GazeboRosControlPlugin::update_connection_
protected

Definition at line 99 of file gazebo_ros_control_plugin.h.


The documentation for this class was generated from the following files:


gazebo_ros_control
Author(s): Jonathan Bohren, Dave Coleman
autogenerated on Tue Apr 6 2021 02:19:50