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

#include <gazebo_ros_skid_steer_drive.h>

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void FiniChild ()
virtual void UpdateChild ()

Private Member Functions

void cmdVelCallback (const geometry_msgs::Twist::ConstPtr &cmd_msg)
void getWheelVelocities ()
void publishOdometry (double step_time)
void QueueThread ()

Private Attributes

bool alive_
bool broadcast_tf_
boost::thread callback_queue_thread_
ros::Subscriber cmd_vel_subscriber_
std::string command_topic_
physics::JointPtr joints [4]
common::Time last_update_time_
std::string left_front_joint_name_
std::string left_rear_joint_name_
boost::mutex lock
nav_msgs::Odometry odom_
std::string odometry_frame_
ros::Publisher odometry_publisher_
std::string odometry_topic_
physics::ModelPtr parent
ros::CallbackQueue queue_
std::string right_front_joint_name_
std::string right_rear_joint_name_
std::string robot_base_frame_
std::string robot_namespace_
ros::NodeHandlerosnode_
double rot_
std::string tf_prefix_
double torque
tf::TransformBroadcastertransform_broadcaster_
event::ConnectionPtr update_connection_
double update_period_
double update_rate_
double wheel_diameter_
double wheel_separation_
double wheel_speed_ [4]
physics::WorldPtr world
double x_

Detailed Description

Definition at line 68 of file gazebo_ros_skid_steer_drive.h.


Constructor & Destructor Documentation

Definition at line 66 of file gazebo_ros_skid_steer_drive.cpp.

Definition at line 69 of file gazebo_ros_skid_steer_drive.cpp.


Member Function Documentation

void gazebo::GazeboRosSkidSteerDrive::cmdVelCallback ( const geometry_msgs::Twist::ConstPtr &  cmd_msg) [private]

Definition at line 358 of file gazebo_ros_skid_steer_drive.cpp.

void gazebo::GazeboRosSkidSteerDrive::FiniChild ( ) [protected, virtual]

Definition at line 336 of file gazebo_ros_skid_steer_drive.cpp.

Definition at line 344 of file gazebo_ros_skid_steer_drive.cpp.

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

Definition at line 75 of file gazebo_ros_skid_steer_drive.cpp.

void gazebo::GazeboRosSkidSteerDrive::publishOdometry ( double  step_time) [private]

Definition at line 374 of file gazebo_ros_skid_steer_drive.cpp.

Definition at line 366 of file gazebo_ros_skid_steer_drive.cpp.

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

Definition at line 308 of file gazebo_ros_skid_steer_drive.cpp.


Member Data Documentation

Definition at line 126 of file gazebo_ros_skid_steer_drive.h.

Definition at line 106 of file gazebo_ros_skid_steer_drive.h.

Definition at line 118 of file gazebo_ros_skid_steer_drive.h.

Definition at line 102 of file gazebo_ros_skid_steer_drive.h.

Definition at line 111 of file gazebo_ros_skid_steer_drive.h.

physics::JointPtr gazebo::GazeboRosSkidSteerDrive::joints[4] [private]

Definition at line 97 of file gazebo_ros_skid_steer_drive.h.

Definition at line 131 of file gazebo_ros_skid_steer_drive.h.

Definition at line 87 of file gazebo_ros_skid_steer_drive.h.

Definition at line 89 of file gazebo_ros_skid_steer_drive.h.

boost::mutex gazebo::GazeboRosSkidSteerDrive::lock [private]

Definition at line 108 of file gazebo_ros_skid_steer_drive.h.

nav_msgs::Odometry gazebo::GazeboRosSkidSteerDrive::odom_ [private]

Definition at line 104 of file gazebo_ros_skid_steer_drive.h.

Definition at line 113 of file gazebo_ros_skid_steer_drive.h.

Definition at line 101 of file gazebo_ros_skid_steer_drive.h.

Definition at line 112 of file gazebo_ros_skid_steer_drive.h.

physics::ModelPtr gazebo::GazeboRosSkidSteerDrive::parent [private]

Definition at line 84 of file gazebo_ros_skid_steer_drive.h.

Definition at line 117 of file gazebo_ros_skid_steer_drive.h.

Definition at line 88 of file gazebo_ros_skid_steer_drive.h.

Definition at line 90 of file gazebo_ros_skid_steer_drive.h.

Definition at line 114 of file gazebo_ros_skid_steer_drive.h.

Definition at line 110 of file gazebo_ros_skid_steer_drive.h.

Definition at line 100 of file gazebo_ros_skid_steer_drive.h.

Definition at line 125 of file gazebo_ros_skid_steer_drive.h.

Definition at line 105 of file gazebo_ros_skid_steer_drive.h.

Definition at line 94 of file gazebo_ros_skid_steer_drive.h.

Definition at line 103 of file gazebo_ros_skid_steer_drive.h.

Definition at line 85 of file gazebo_ros_skid_steer_drive.h.

Definition at line 130 of file gazebo_ros_skid_steer_drive.h.

Definition at line 129 of file gazebo_ros_skid_steer_drive.h.

Definition at line 93 of file gazebo_ros_skid_steer_drive.h.

Definition at line 92 of file gazebo_ros_skid_steer_drive.h.

Definition at line 95 of file gazebo_ros_skid_steer_drive.h.

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

Definition at line 83 of file gazebo_ros_skid_steer_drive.h.

Definition at line 124 of file gazebo_ros_skid_steer_drive.h.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Thu Jun 6 2019 18:41:10