Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
gazebo::GazeboRosPlanarMove Class Reference

#include <gazebo_ros_planar_move.h>

Inheritance diagram for gazebo::GazeboRosPlanarMove:
Inheritance graph
[legend]

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_
 
bool enable_y_axis_
 Enable Y-axis movement. More...
 
ignition::math::Pose3d 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::NodeHandlerosnode_
 
double rot_
 
std::string tf_prefix_
 
boost::shared_ptr< tf::TransformBroadcastertransform_broadcaster_
 
event::ConnectionPtr update_connection_
 
ros::Subscriber vel_sub_
 
double x_
 
double y_
 

Detailed Description

Definition at line 47 of file gazebo_ros_planar_move.h.

Constructor & Destructor Documentation

gazebo::GazeboRosPlanarMove::GazeboRosPlanarMove ( )

Definition at line 30 of file gazebo_ros_planar_move.cpp.

gazebo::GazeboRosPlanarMove::~GazeboRosPlanarMove ( )

Definition at line 32 of file gazebo_ros_planar_move.cpp.

Member Function Documentation

void gazebo::GazeboRosPlanarMove::cmdVelCallback ( const geometry_msgs::Twist::ConstPtr &  cmd_msg)
private

Definition at line 217 of file gazebo_ros_planar_move.cpp.

void gazebo::GazeboRosPlanarMove::FiniChild ( )
protectedvirtual

Definition at line 209 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 238 of file gazebo_ros_planar_move.cpp.

void gazebo::GazeboRosPlanarMove::QueueThread ( )
private

Definition at line 229 of file gazebo_ros_planar_move.cpp.

void gazebo::GazeboRosPlanarMove::UpdateChild ( )
protectedvirtual

Definition at line 179 of file gazebo_ros_planar_move.cpp.

Member Data Documentation

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.

bool gazebo::GazeboRosPlanarMove::enable_y_axis_
private

Enable Y-axis movement.

Definition at line 92 of file gazebo_ros_planar_move.h.

ignition::math::Pose3d gazebo::GazeboRosPlanarMove::last_odom_pose_
private

Definition at line 94 of file gazebo_ros_planar_move.h.

common::Time gazebo::GazeboRosPlanarMove::last_odom_publish_time_
private

Definition at line 93 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.

ros::Publisher gazebo::GazeboRosPlanarMove::odometry_pub_
private

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.

ros::CallbackQueue gazebo::GazeboRosPlanarMove::queue_
private

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.

event::ConnectionPtr gazebo::GazeboRosPlanarMove::update_connection_
private

Definition at line 62 of file gazebo_ros_planar_move.h.

ros::Subscriber gazebo::GazeboRosPlanarMove::vel_sub_
private

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.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Tue Apr 6 2021 02:19:40