#include <gazebo_ros_planar_move.h>
Public Member Functions | |
GazeboRosPlanarMove () | |
void | Load (physics::ModelPtr parent, sdf::ElementPtr sdf) |
~GazeboRosPlanarMove () | |
Protected Member Functions | |
virtual void | FiniChild () |
virtual void | UpdateChild () |
Private Member Functions | |
void | cmdVelCallback (const geometry_msgs::Twist::ConstPtr &cmd_msg) |
void | publishOdometry (double step_time) |
void | QueueThread () |
Private Attributes | |
bool | alive_ |
boost::thread | callback_queue_thread_ |
std::string | command_topic_ |
math::Pose | last_odom_pose_ |
common::Time | last_odom_publish_time_ |
boost::mutex | lock |
nav_msgs::Odometry | odom_ |
std::string | odometry_frame_ |
ros::Publisher | odometry_pub_ |
double | odometry_rate_ |
std::string | odometry_topic_ |
physics::ModelPtr | parent_ |
ros::CallbackQueue | queue_ |
std::string | robot_base_frame_ |
std::string | robot_namespace_ |
boost::shared_ptr < ros::NodeHandle > | rosnode_ |
double | rot_ |
std::string | tf_prefix_ |
boost::shared_ptr < tf::TransformBroadcaster > | transform_broadcaster_ |
event::ConnectionPtr | update_connection_ |
ros::Subscriber | vel_sub_ |
double | x_ |
double | y_ |
Definition at line 47 of file gazebo_ros_planar_move.h.
Definition at line 30 of file gazebo_ros_planar_move.cpp.
Definition at line 32 of file gazebo_ros_planar_move.cpp.
void gazebo::GazeboRosPlanarMove::cmdVelCallback | ( | const geometry_msgs::Twist::ConstPtr & | cmd_msg | ) | [private] |
Definition at line 190 of file gazebo_ros_planar_move.cpp.
void gazebo::GazeboRosPlanarMove::FiniChild | ( | ) | [protected, virtual] |
Definition at line 182 of file gazebo_ros_planar_move.cpp.
void gazebo::GazeboRosPlanarMove::Load | ( | physics::ModelPtr | parent, |
sdf::ElementPtr | sdf | ||
) |
Definition at line 35 of file gazebo_ros_planar_move.cpp.
void gazebo::GazeboRosPlanarMove::publishOdometry | ( | double | step_time | ) | [private] |
Definition at line 208 of file gazebo_ros_planar_move.cpp.
void gazebo::GazeboRosPlanarMove::QueueThread | ( | ) | [private] |
Definition at line 199 of file gazebo_ros_planar_move.cpp.
void gazebo::GazeboRosPlanarMove::UpdateChild | ( | ) | [protected, virtual] |
Definition at line 160 of file gazebo_ros_planar_move.cpp.
bool gazebo::GazeboRosPlanarMove::alive_ [private] |
Definition at line 91 of file gazebo_ros_planar_move.h.
boost::thread gazebo::GazeboRosPlanarMove::callback_queue_thread_ [private] |
Definition at line 82 of file gazebo_ros_planar_move.h.
std::string gazebo::GazeboRosPlanarMove::command_topic_ [private] |
Definition at line 74 of file gazebo_ros_planar_move.h.
Definition at line 93 of file gazebo_ros_planar_move.h.
common::Time gazebo::GazeboRosPlanarMove::last_odom_publish_time_ [private] |
Definition at line 92 of file gazebo_ros_planar_move.h.
boost::mutex gazebo::GazeboRosPlanarMove::lock [private] |
Definition at line 71 of file gazebo_ros_planar_move.h.
nav_msgs::Odometry gazebo::GazeboRosPlanarMove::odom_ [private] |
Definition at line 68 of file gazebo_ros_planar_move.h.
std::string gazebo::GazeboRosPlanarMove::odometry_frame_ [private] |
Definition at line 76 of file gazebo_ros_planar_move.h.
Definition at line 65 of file gazebo_ros_planar_move.h.
double gazebo::GazeboRosPlanarMove::odometry_rate_ [private] |
Definition at line 78 of file gazebo_ros_planar_move.h.
std::string gazebo::GazeboRosPlanarMove::odometry_topic_ [private] |
Definition at line 75 of file gazebo_ros_planar_move.h.
physics::ModelPtr gazebo::GazeboRosPlanarMove::parent_ [private] |
Definition at line 61 of file gazebo_ros_planar_move.h.
Definition at line 81 of file gazebo_ros_planar_move.h.
std::string gazebo::GazeboRosPlanarMove::robot_base_frame_ [private] |
Definition at line 77 of file gazebo_ros_planar_move.h.
std::string gazebo::GazeboRosPlanarMove::robot_namespace_ [private] |
Definition at line 73 of file gazebo_ros_planar_move.h.
boost::shared_ptr<ros::NodeHandle> gazebo::GazeboRosPlanarMove::rosnode_ [private] |
Definition at line 64 of file gazebo_ros_planar_move.h.
double gazebo::GazeboRosPlanarMove::rot_ [private] |
Definition at line 90 of file gazebo_ros_planar_move.h.
std::string gazebo::GazeboRosPlanarMove::tf_prefix_ [private] |
Definition at line 69 of file gazebo_ros_planar_move.h.
boost::shared_ptr<tf::TransformBroadcaster> gazebo::GazeboRosPlanarMove::transform_broadcaster_ [private] |
Definition at line 67 of file gazebo_ros_planar_move.h.
Definition at line 62 of file gazebo_ros_planar_move.h.
Definition at line 66 of file gazebo_ros_planar_move.h.
double gazebo::GazeboRosPlanarMove::x_ [private] |
Definition at line 88 of file gazebo_ros_planar_move.h.
double gazebo::GazeboRosPlanarMove::y_ [private] |
Definition at line 89 of file gazebo_ros_planar_move.h.