$search
#include <gazebo_ros_controller_manager.h>
This is a controller plugin that provides interface between simulated robot and pr2_controller_manager. controller:gazebo_ros_controller_manager XML extension requires a model as its parent. Please see pr2_description for example usages in the pr2_simulator.
Gazebo simulator provides joint force/torque control for simulated joints and links. This plugin exposes a set of pseudo-actuator states to pr2_controller_manager through ros by the use of inverse transmissions as defined in pr2_mechanism_controllers.
<!-- GazeboRosControllerMangager --> <controller:gazebo_ros_controller_manager name="gazebo_ros_controller_manager" plugin="libgazebo_ros_controller_manager.so"> <alwaysOn>true</alwaysOn> <updateRate>1000.0</updateRate> <robotParam>robot_description</robotParam> <robotNamespace>/</robotNamespace> </controller:gazebo_ros_controller_manager>
Definition at line 104 of file gazebo_ros_controller_manager.h.
gazebo::GazeboRosControllerManager::GazeboRosControllerManager | ( | Entity * | parent | ) |
Definition at line 59 of file gazebo_ros_controller_manager.cpp.
gazebo::GazeboRosControllerManager::~GazeboRosControllerManager | ( | ) | [virtual] |
Definition at line 102 of file gazebo_ros_controller_manager.cpp.
void gazebo::GazeboRosControllerManager::ControllerManagerROSThread | ( | ) | [private] |
Definition at line 499 of file gazebo_ros_controller_manager.cpp.
void gazebo::GazeboRosControllerManager::FiniChild | ( | ) | [protected, virtual] |
Definition at line 396 of file gazebo_ros_controller_manager.cpp.
void gazebo::GazeboRosControllerManager::InitChild | ( | ) | [protected, virtual] |
Definition at line 174 of file gazebo_ros_controller_manager.cpp.
void gazebo::GazeboRosControllerManager::LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual] |
Definition at line 117 of file gazebo_ros_controller_manager.cpp.
void gazebo::GazeboRosControllerManager::ReadPr2Xml | ( | XMLConfigNode * | node | ) | [private] |
Definition at line 413 of file gazebo_ros_controller_manager.cpp.
bool gazebo::GazeboRosControllerManager::setModelsJointsStates | ( | pr2_gazebo_plugins::SetModelsJointsStates::Request & | req, | |
pr2_gazebo_plugins::SetModelsJointsStates::Response & | res | |||
) | [private] |
ros service callback
void gazebo::GazeboRosControllerManager::UpdateChild | ( | ) | [protected, virtual] |
FIXME: if damping is greater than this value, do some unconventional smoothing to prevent instability due to safety controller
Definition at line 191 of file gazebo_ros_controller_manager.cpp.
Definition at line 121 of file gazebo_ros_controller_manager.h.
bool gazebo::GazeboRosControllerManager::fake_calibration_ [private] |
Definition at line 162 of file gazebo_ros_controller_manager.h.
Definition at line 126 of file gazebo_ros_controller_manager.h.
Definition at line 120 of file gazebo_ros_controller_manager.h.
std::vector<gazebo::Joint*> gazebo::GazeboRosControllerManager::joints_ [private] |
Definition at line 127 of file gazebo_ros_controller_manager.h.
Model* gazebo::GazeboRosControllerManager::parent_model_ [private] |
Definition at line 119 of file gazebo_ros_controller_manager.h.
std::string gazebo::GazeboRosControllerManager::robotNamespace [private] |
Definition at line 160 of file gazebo_ros_controller_manager.h.
ParamT<std::string>* gazebo::GazeboRosControllerManager::robotNamespaceP [private] |
Definition at line 158 of file gazebo_ros_controller_manager.h.
std::string gazebo::GazeboRosControllerManager::robotParam [private] |
Definition at line 159 of file gazebo_ros_controller_manager.h.
ParamT<std::string>* gazebo::GazeboRosControllerManager::robotParamP [private] |
set topic name of robot description parameter
Definition at line 157 of file gazebo_ros_controller_manager.h.
boost::thread gazebo::GazeboRosControllerManager::ros_spinner_thread_ [private] |
Definition at line 170 of file gazebo_ros_controller_manager.h.
Definition at line 141 of file gazebo_ros_controller_manager.h.
ros service
Definition at line 144 of file gazebo_ros_controller_manager.h.
std::string gazebo::GazeboRosControllerManager::setModelsJointsStatesServiceName [private] |
Definition at line 131 of file gazebo_ros_controller_manager.h.
ParamT<std::string>* gazebo::GazeboRosControllerManager::setModelsJointsStatesServiceNameP [private] |
Service Call Name.
Definition at line 130 of file gazebo_ros_controller_manager.h.
double gazebo::GazeboRosControllerManager::sim_start_ [private] |
Definition at line 154 of file gazebo_ros_controller_manager.h.
double gazebo::GazeboRosControllerManager::wall_start_ [private] |
ros service callback
Definition at line 154 of file gazebo_ros_controller_manager.h.