All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboRosCreate Class Reference

#include <gazebo_ros_create.h>

List of all members.

Public Member Functions

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

Private Member Functions

void OnCmdVel (const geometry_msgs::TwistConstPtr &msg)
void OnContact (const std::string &name, const physics::Contact &contact)
void spin ()
void UpdateSensors ()

Private Attributes

physics::CollisionPtr base_geom_
std::string base_geom_name_
ros::Subscriber cmd_vel_sub_
event::ConnectionPtr contact_event_
std::string front_castor_joint_name_
ros::Publisher joint_state_pub_
physics::JointPtr joints_ [4]
sensor_msgs::JointState js_
common::Time last_cmd_vel_time_
sensors::RaySensorPtr left_cliff_sensor_
std::string left_wheel_joint_name_
sensors::RaySensorPtr leftfront_cliff_sensor_
physics::ModelPtr my_parent_
physics::WorldPtr my_world_
std::string node_namespace_
 Parameters.
float odom_pose_ [3]
ros::Publisher odom_pub_
float odom_vel_ [3]
common::Time prev_update_time_
std::string rear_castor_joint_name_
sensors::RaySensorPtr right_cliff_sensor_
std::string right_wheel_joint_name_
sensors::RaySensorPtr rightfront_cliff_sensor_
ros::NodeHandlerosnode_
create_node::TurtlebotSensorState sensor_state_
ros::Publisher sensor_state_pub_
bool set_joints_ [4]
boost::thread * spinner_thread_
float torque_
 Torque applied to the wheels.
tf::TransformBroadcaster transform_broadcaster_
event::ConnectionPtr updateConnection
sensors::RaySensorPtr wall_sensor_
float wheel_diam_
 Diameter of the wheels.
float wheel_sep_
 Separation between the wheels.
float * wheel_speed_
 Speeds of the wheels.

Detailed Description

Definition at line 21 of file gazebo_ros_create.h.


Constructor & Destructor Documentation

Definition at line 18 of file gazebo_ros_create.cpp.

Definition at line 36 of file gazebo_ros_create.cpp.


Member Function Documentation

void GazeboRosCreate::Load ( physics::ModelPtr  _parent,
sdf::ElementPtr  _sdf 
) [virtual]

Definition at line 45 of file gazebo_ros_create.cpp.

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

Definition at line 399 of file gazebo_ros_create.cpp.

void GazeboRosCreate::OnContact ( const std::string &  name,
const physics::Contact &  contact 
) [private]

Definition at line 210 of file gazebo_ros_create.cpp.

void GazeboRosCreate::spin ( ) [private]

Definition at line 410 of file gazebo_ros_create.cpp.

void GazeboRosCreate::UpdateChild ( ) [virtual]

Definition at line 231 of file gazebo_ros_create.cpp.

void GazeboRosCreate::UpdateSensors ( ) [private]

Definition at line 366 of file gazebo_ros_create.cpp.


Member Data Documentation

physics::CollisionPtr gazebo::GazeboRosCreate::base_geom_ [private]

Definition at line 81 of file gazebo_ros_create.h.

Definition at line 44 of file gazebo_ros_create.h.

Definition at line 64 of file gazebo_ros_create.h.

Definition at line 97 of file gazebo_ros_create.h.

Definition at line 42 of file gazebo_ros_create.h.

Definition at line 62 of file gazebo_ros_create.h.

physics::JointPtr gazebo::GazeboRosCreate::joints_[4] [private]

Definition at line 80 of file gazebo_ros_create.h.

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

Definition at line 90 of file gazebo_ros_create.h.

Definition at line 74 of file gazebo_ros_create.h.

sensors::RaySensorPtr gazebo::GazeboRosCreate::left_cliff_sensor_ [private]

Definition at line 83 of file gazebo_ros_create.h.

Definition at line 40 of file gazebo_ros_create.h.

sensors::RaySensorPtr gazebo::GazeboRosCreate::leftfront_cliff_sensor_ [private]

Definition at line 84 of file gazebo_ros_create.h.

physics::ModelPtr gazebo::GazeboRosCreate::my_parent_ [private]

Definition at line 67 of file gazebo_ros_create.h.

physics::WorldPtr gazebo::GazeboRosCreate::my_world_ [private]

Definition at line 66 of file gazebo_ros_create.h.

Parameters.

Definition at line 39 of file gazebo_ros_create.h.

Definition at line 76 of file gazebo_ros_create.h.

Definition at line 61 of file gazebo_ros_create.h.

Definition at line 77 of file gazebo_ros_create.h.

Definition at line 73 of file gazebo_ros_create.h.

Definition at line 43 of file gazebo_ros_create.h.

sensors::RaySensorPtr gazebo::GazeboRosCreate::right_cliff_sensor_ [private]

Definition at line 86 of file gazebo_ros_create.h.

Definition at line 41 of file gazebo_ros_create.h.

sensors::RaySensorPtr gazebo::GazeboRosCreate::rightfront_cliff_sensor_ [private]

Definition at line 85 of file gazebo_ros_create.h.

Definition at line 56 of file gazebo_ros_create.h.

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

Definition at line 92 of file gazebo_ros_create.h.

Definition at line 60 of file gazebo_ros_create.h.

Definition at line 79 of file gazebo_ros_create.h.

boost::thread* gazebo::GazeboRosCreate::spinner_thread_ [private]

Definition at line 95 of file gazebo_ros_create.h.

Torque applied to the wheels.

Definition at line 53 of file gazebo_ros_create.h.

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

Definition at line 89 of file gazebo_ros_create.h.

Definition at line 100 of file gazebo_ros_create.h.

sensors::RaySensorPtr gazebo::GazeboRosCreate::wall_sensor_ [private]

Definition at line 87 of file gazebo_ros_create.h.

Diameter of the wheels.

Definition at line 50 of file gazebo_ros_create.h.

Separation between the wheels.

Definition at line 47 of file gazebo_ros_create.h.

Speeds of the wheels.

Definition at line 70 of file gazebo_ros_create.h.


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


turtlebot_gazebo_plugins
Author(s): Nate Koenig
autogenerated on Mon Dec 24 2012 23:58:56