gazebo::GazeboRosCreate Class Reference

#include <gazebo_ros_create.h>

List of all members.

Public Member Functions

virtual void FiniChild ()
 GazeboRosCreate (gazebo::Entity *parent)
virtual void InitChild ()
virtual void LoadChild (XMLConfigNode *node)
virtual void UpdateChild ()
virtual ~GazeboRosCreate ()

Private Member Functions

void OnCmdVel (const geometry_msgs::TwistConstPtr &msg)
void OnContact (const gazebo::Contact &contact)
void UpdateSensors ()

Private Attributes

Geom * base_geom_
ParamT< std::string > * base_geom_nameP_
ros::Subscriber cmd_vel_sub_
ParamT< std::string > * front_castor_joint_nameP_
ros::Publisher joint_state_pub_
Joint * joints_ [4]
sensor_msgs::JointState js_
RaySensor * left_cliff_sensor_
ParamT< std::string > * left_wheel_joint_nameP_
RaySensor * leftfront_cliff_sensor_
Model * my_parent_
ParamT< std::string > * node_namespaceP_
float odom_pose_ [3]
ros::Publisher odom_pub_
float odom_vel_ [3]
Time prev_update_time_
ParamT< std::string > * rear_castor_joint_nameP_
RaySensor * right_cliff_sensor_
ParamT< std::string > * right_wheel_joint_nameP_
RaySensor * rightfront_cliff_sensor_
ros::NodeHandle * rosnode_
turtlebot_node::TurtlebotSensorState sensor_state_
ros::Publisher sensor_state_pub_
ParamT< float > * torqueP_
 Torque applied to the wheels.
tf::TransformBroadcaster transform_broadcaster_
RaySensor * wall_sensor_
ParamT< float > * wheel_diamP_
 Diameter of the wheels.
ParamT< float > * wheel_sepP_
 Separation between the wheels.
float * wheel_speed_
 Speeds of the wheels.

Detailed Description

Definition at line 16 of file gazebo_ros_create.h.


Constructor & Destructor Documentation

gazebo::GazeboRosCreate::GazeboRosCreate ( gazebo::Entity *  parent  ) 
GazeboRosCreate::~GazeboRosCreate (  )  [virtual]

Definition at line 58 of file gazebo_ros_create.cpp.


Member Function Documentation

void GazeboRosCreate::FiniChild (  )  [virtual]

Definition at line 176 of file gazebo_ros_create.cpp.

void GazeboRosCreate::InitChild (  )  [virtual]

Definition at line 171 of file gazebo_ros_create.cpp.

void GazeboRosCreate::LoadChild ( XMLConfigNode *  node  )  [virtual]

Definition at line 73 of file gazebo_ros_create.cpp.

void GazeboRosCreate::OnCmdVel ( const geometry_msgs::TwistConstPtr &  msg  )  [private]

Definition at line 328 of file gazebo_ros_create.cpp.

void GazeboRosCreate::OnContact ( const gazebo::Contact &  contact  )  [private]

Definition at line 181 of file gazebo_ros_create.cpp.

void GazeboRosCreate::UpdateChild (  )  [virtual]

Definition at line 202 of file gazebo_ros_create.cpp.

void GazeboRosCreate::UpdateSensors (  )  [private]

Definition at line 295 of file gazebo_ros_create.cpp.


Member Data Documentation

Definition at line 69 of file gazebo_ros_create.h.

ParamT<std::string>* gazebo::GazeboRosCreate::base_geom_nameP_ [private]

Definition at line 46 of file gazebo_ros_create.h.

ros::Subscriber gazebo::GazeboRosCreate::cmd_vel_sub_ [private]

Definition at line 39 of file gazebo_ros_create.h.

Definition at line 44 of file gazebo_ros_create.h.

Definition at line 37 of file gazebo_ros_create.h.

Joint* gazebo::GazeboRosCreate::joints_[4] [private]

Definition at line 68 of file gazebo_ros_create.h.

sensor_msgs::JointState gazebo::GazeboRosCreate::js_ [private]

Definition at line 78 of file gazebo_ros_create.h.

Definition at line 71 of file gazebo_ros_create.h.

ParamT<std::string>* gazebo::GazeboRosCreate::left_wheel_joint_nameP_ [private]

Definition at line 42 of file gazebo_ros_create.h.

Definition at line 72 of file gazebo_ros_create.h.

Definition at line 57 of file gazebo_ros_create.h.

ParamT<std::string>* gazebo::GazeboRosCreate::node_namespaceP_ [private]

Definition at line 41 of file gazebo_ros_create.h.

Definition at line 65 of file gazebo_ros_create.h.

ros::Publisher gazebo::GazeboRosCreate::odom_pub_ [private]

Definition at line 36 of file gazebo_ros_create.h.

Definition at line 66 of file gazebo_ros_create.h.

Definition at line 63 of file gazebo_ros_create.h.

ParamT<std::string>* gazebo::GazeboRosCreate::rear_castor_joint_nameP_ [private]

Definition at line 45 of file gazebo_ros_create.h.

Definition at line 74 of file gazebo_ros_create.h.

ParamT<std::string>* gazebo::GazeboRosCreate::right_wheel_joint_nameP_ [private]

Definition at line 43 of file gazebo_ros_create.h.

Definition at line 73 of file gazebo_ros_create.h.

ros::NodeHandle* gazebo::GazeboRosCreate::rosnode_ [private]

Definition at line 31 of file gazebo_ros_create.h.

turtlebot_node::TurtlebotSensorState gazebo::GazeboRosCreate::sensor_state_ [private]

Definition at line 80 of file gazebo_ros_create.h.

Definition at line 35 of file gazebo_ros_create.h.

ParamT<float>* gazebo::GazeboRosCreate::torqueP_ [private]

Torque applied to the wheels.

Definition at line 55 of file gazebo_ros_create.h.

tf::TransformBroadcaster gazebo::GazeboRosCreate::transform_broadcaster_ [private]

Definition at line 77 of file gazebo_ros_create.h.

Definition at line 75 of file gazebo_ros_create.h.

ParamT<float>* gazebo::GazeboRosCreate::wheel_diamP_ [private]

Diameter of the wheels.

Definition at line 52 of file gazebo_ros_create.h.

ParamT<float>* gazebo::GazeboRosCreate::wheel_sepP_ [private]

Separation between the wheels.

Definition at line 49 of file gazebo_ros_create.h.

Speeds of the wheels.

Definition at line 60 of file gazebo_ros_create.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerator


turtlebot_gazebo_plugins
Author(s): Nate Koenig
autogenerated on Fri Jan 11 09:42:41 2013