#include <gazebo_ros_diffdrive_uos.h>
Public Member Functions | |
GazeboRosDiffdrive () | |
virtual void | Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf) |
virtual void | UpdateChild () |
virtual | ~GazeboRosDiffdrive () |
Private Member Functions | |
void | OnCmdVel (const geometry_msgs::TwistConstPtr &msg) |
void | spin () |
Private Attributes | |
ros::Subscriber | cmd_vel_sub_ |
std::string | cmd_vel_topic_name_ |
ros::Publisher | joint_state_pub_ |
std::string | joint_states_topic_name_ |
std::vector< physics::JointPtr > | joints_ |
sensor_msgs::JointState | js_ |
common::Time | last_cmd_vel_time_ |
size_t | left |
float | max_velocity_ |
maximum linear speed of the robot [m/s] More... | |
physics::ModelPtr | my_parent_ |
physics::WorldPtr | my_world_ |
std::string | node_namespace_ |
size_t | num_joints_ |
float | odom_pose_ [3] |
ros::Publisher | odom_pub_ |
std::string | odom_topic_name_ |
float | odom_vel_ [3] |
common::Time | prev_update_time_ |
size_t | right |
ros::NodeHandle * | rosnode_ |
boost::thread * | spinner_thread_ |
float | torque_ |
maximum torque applied to the wheels [Nm] More... | |
float | turning_adaptation_ |
Turning adaptation for odometry. More... | |
event::ConnectionPtr | updateConnection |
float | wheel_diam_ |
Diameter of the wheels. More... | |
float | wheel_sep_ |
Separation between the wheels. More... | |
float | wheel_speed_left_ |
float | wheel_speed_right_ |
Desired speeds of the wheels. More... | |
Static Private Attributes | |
static const double | CMD_VEL_TIMEOUT = 0.6 |
Definition at line 17 of file gazebo_ros_diffdrive_uos.h.
GazeboRosDiffdrive::GazeboRosDiffdrive | ( | ) |
Definition at line 13 of file gazebo_ros_diffdrive_uos.cpp.
|
virtual |
Definition at line 20 of file gazebo_ros_diffdrive_uos.cpp.
|
virtual |
Definition at line 28 of file gazebo_ros_diffdrive_uos.cpp.
|
private |
Definition at line 342 of file gazebo_ros_diffdrive_uos.cpp.
|
private |
Definition at line 363 of file gazebo_ros_diffdrive_uos.cpp.
|
virtual |
Definition at line 205 of file gazebo_ros_diffdrive_uos.cpp.
|
private |
Definition at line 36 of file gazebo_ros_diffdrive_uos.h.
|
staticprivate |
Definition at line 27 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 40 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 34 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 42 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 69 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 83 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 75 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 45 of file gazebo_ros_diffdrive_uos.h.
|
private |
maximum linear speed of the robot [m/s]
Definition at line 60 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 63 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 62 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 38 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 44 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 80 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 33 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 41 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 81 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 72 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 45 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 31 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 86 of file gazebo_ros_diffdrive_uos.h.
|
private |
maximum torque applied to the wheels [Nm]
Definition at line 57 of file gazebo_ros_diffdrive_uos.h.
|
private |
Turning adaptation for odometry.
Definition at line 54 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 78 of file gazebo_ros_diffdrive_uos.h.
|
private |
Diameter of the wheels.
Definition at line 51 of file gazebo_ros_diffdrive_uos.h.
|
private |
Separation between the wheels.
Definition at line 48 of file gazebo_ros_diffdrive_uos.h.
|
private |
Definition at line 67 of file gazebo_ros_diffdrive_uos.h.
|
private |
Desired speeds of the wheels.
Definition at line 66 of file gazebo_ros_diffdrive_uos.h.