Public Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboInterface Class Reference

#include <GazeboInterface.h>

List of all members.

Public Member Functions

 GazeboInterface ()
virtual void Init ()
virtual void Load (physics::ModelPtr _model, sdf::ElementPtr _sdf)
void update ()
 ~GazeboInterface ()

Private Member Functions

void commandJoints (const sensor_msgs::JointState::ConstPtr &msg)
void controlJoints (const r2_msgs::JointControl::ConstPtr &msg)
bool getDoubleVal (XmlRpc::XmlRpcValue &val, double &doubleVal)
void traverseParams (XmlRpc::XmlRpcValue param, std::map< std::string, XmlRpc::XmlRpcValue > &valMap, std::string searchKey="", std::string ns="", std::string name="")

Private Attributes

bool advancedMode
ros::Subscriber jointCommandsSub
std::string jointCommandsTopic
ros::Subscriber jointControlSub
std::string jointControlTopic
ros::Publisher jointStatePub
double jointStatesStepTime
std::string jointStatesTopic
ros::Publisher jointStatusPub
double jointStatusStepTime
std::string jointStatusTopic
physics::ModelPtr modelPtr
std::auto_ptr< ros::NodeHandleparamsNodePtr
common::Time prevStatesUpdateTime
common::Time prevStatusUpdateTime
std::auto_ptr< RobotControllerrobotControllerPtr
std::auto_ptr< ros::NodeHandlerosNodePtr
event::ConnectionPtr updateConnectionPtr

Detailed Description

Definition at line 16 of file GazeboInterface.h.


Constructor & Destructor Documentation

Definition at line 10 of file GazeboInterface.cpp.

Definition at line 16 of file GazeboInterface.cpp.


Member Function Documentation

void GazeboInterface::commandJoints ( const sensor_msgs::JointState::ConstPtr &  msg) [private]

Definition at line 467 of file GazeboInterface.cpp.

Definition at line 492 of file GazeboInterface.cpp.

bool GazeboInterface::getDoubleVal ( XmlRpc::XmlRpcValue val,
double &  doubleVal 
) [private]

Definition at line 162 of file GazeboInterface.cpp.

void GazeboInterface::Init ( void  ) [virtual]

Definition at line 180 of file GazeboInterface.cpp.

void GazeboInterface::Load ( physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
) [virtual]

Definition at line 22 of file GazeboInterface.cpp.

void GazeboInterface::traverseParams ( XmlRpc::XmlRpcValue  param,
std::map< std::string, XmlRpc::XmlRpcValue > &  valMap,
std::string  searchKey = "",
std::string  ns = "",
std::string  name = "" 
) [private]

Definition at line 127 of file GazeboInterface.cpp.

void GazeboInterface::update ( void  )

Definition at line 415 of file GazeboInterface.cpp.


Member Data Documentation

Definition at line 70 of file GazeboInterface.h.

Definition at line 62 of file GazeboInterface.h.

Definition at line 61 of file GazeboInterface.h.

Definition at line 72 of file GazeboInterface.h.

Definition at line 71 of file GazeboInterface.h.

Definition at line 66 of file GazeboInterface.h.

Definition at line 67 of file GazeboInterface.h.

Definition at line 65 of file GazeboInterface.h.

Definition at line 74 of file GazeboInterface.h.

Definition at line 75 of file GazeboInterface.h.

Definition at line 73 of file GazeboInterface.h.

physics::ModelPtr gazebo::GazeboInterface::modelPtr [private]

Definition at line 49 of file GazeboInterface.h.

Definition at line 58 of file GazeboInterface.h.

Definition at line 77 of file GazeboInterface.h.

Definition at line 78 of file GazeboInterface.h.

Definition at line 54 of file GazeboInterface.h.

Definition at line 57 of file GazeboInterface.h.

Definition at line 52 of file GazeboInterface.h.


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


gazebo_interface
Author(s): rctaylo2
autogenerated on Thu Jan 2 2014 11:32:19