Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboRosControllerManager Class Reference

#include <gazebo_ros_controller_manager.h>

List of all members.

Public Member Functions

 GazeboRosControllerManager ()
void Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf)
virtual ~GazeboRosControllerManager ()

Protected Member Functions

virtual void UpdateChild ()

Private Member Functions

void ControllerManagerROSThread ()
void ReadPr2Xml ()
 Service Call Name.
bool setModelsJointsStates (pr2_gazebo_plugins::SetModelsJointsStates::Request &req, pr2_gazebo_plugins::SetModelsJointsStates::Response &res)
 ros service callback

Private Attributes

pr2_controller_manager::ControllerManagercm_
bool fake_calibration_
pr2_mechanism_model::RobotStatefake_state_
pr2_hardware_interface::HardwareInterface hw_
std::vector
< gazebo::physics::JointPtr > 
joints_
transport::NodePtr node
gazebo::physics::ModelPtr parent_model_
std::string robotNamespace
std::string robotParam
 set topic name of robot description parameter
boost::thread ros_spinner_thread_
ros::NodeHandlerosnode_
ros::ServiceServer setModelsJointsStatesService
 ros service
double sim_start_
common::Time simTime
transport::SubscriberPtr statsSub
event::ConnectionPtr updateConnection
double wall_start_
 ros service callback
physics::WorldPtr world

Detailed Description

Definition at line 58 of file gazebo_ros_controller_manager.h.


Constructor & Destructor Documentation

Definition at line 55 of file gazebo_ros_controller_manager.cpp.

Definition at line 68 of file gazebo_ros_controller_manager.cpp.


Member Function Documentation

Definition at line 422 of file gazebo_ros_controller_manager.cpp.

void gazebo::GazeboRosControllerManager::Load ( physics::ModelPtr  _parent,
sdf::ElementPtr  _sdf 
)

Definition at line 98 of file gazebo_ros_controller_manager.cpp.

Service Call Name.

Definition at line 336 of file gazebo_ros_controller_manager.cpp.

ros service callback

void gazebo::GazeboRosControllerManager::UpdateChild ( ) [protected, virtual]

Definition at line 208 of file gazebo_ros_controller_manager.cpp.


Member Data Documentation

Definition at line 73 of file gazebo_ros_controller_manager.h.

Definition at line 114 of file gazebo_ros_controller_manager.h.

Todo:
The fake state helps Gazebo run the transmissions backwards, so that it can figure out what its joints should do based on the actuator values.

Definition at line 78 of file gazebo_ros_controller_manager.h.

Definition at line 72 of file gazebo_ros_controller_manager.h.

std::vector<gazebo::physics::JointPtr> gazebo::GazeboRosControllerManager::joints_ [private]

Definition at line 79 of file gazebo_ros_controller_manager.h.

transport::NodePtr gazebo::GazeboRosControllerManager::node [private]

Definition at line 131 of file gazebo_ros_controller_manager.h.

gazebo::physics::ModelPtr gazebo::GazeboRosControllerManager::parent_model_ [private]

Definition at line 71 of file gazebo_ros_controller_manager.h.

Definition at line 112 of file gazebo_ros_controller_manager.h.

set topic name of robot description parameter

Definition at line 111 of file gazebo_ros_controller_manager.h.

Definition at line 122 of file gazebo_ros_controller_manager.h.

Definition at line 93 of file gazebo_ros_controller_manager.h.

ros service

Definition at line 96 of file gazebo_ros_controller_manager.h.

Definition at line 106 of file gazebo_ros_controller_manager.h.

Definition at line 133 of file gazebo_ros_controller_manager.h.

transport::SubscriberPtr gazebo::GazeboRosControllerManager::statsSub [private]

Definition at line 132 of file gazebo_ros_controller_manager.h.

Definition at line 128 of file gazebo_ros_controller_manager.h.

ros service callback

Definition at line 106 of file gazebo_ros_controller_manager.h.

physics::WorldPtr gazebo::GazeboRosControllerManager::world [private]

Definition at line 125 of file gazebo_ros_controller_manager.h.


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


pr2_gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Thu Jan 2 2014 11:45:00