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

#include <object_controller_plugin.h>

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void FiniChild ()
virtual void UpdateChild ()

Private Member Functions

void cmdVelCallback (const geometry_msgs::Twist::ConstPtr &cmd_msg)
void getSimpleMap (const nav_msgs::OccupancyGrid::ConstPtr &map)
void getWheelVelocities ()
void publishOdometry (double step_time)
void QueueThread ()
bool updateState (segbot_gazebo_plugins::UpdatePluginState::Request &req, segbot_gazebo_plugins::UpdatePluginState::Response &resp)
void writePositionData (double step_time)

Private Attributes

bool alive_
boost::thread callback_queue_thread_
double circumscribed_model_distance_
std::string globalFrame
math::Pose last_odom_pose_
common::Time last_update_time_
boost::mutex lock
nav_msgs::OccupancyGrid map_
bool map_available_
std::string mapTopic
std::string modelNamespace
double modelPadding
double modelRadius
nav_msgs::Odometry odom_
physics::ModelPtr parent
bool pause_
ros::Publisher pub2_
ros::Publisher pub_
ros::CallbackQueue queue_
ros::NodeHandlerosnode_
double rot_
boost::mutex state_lock_
ros::Subscriber sub2_
ros::Subscriber sub_
std::string tf_prefix_
common::Time time_of_last_message_
double timeout_period_
std::string topicName
tf::TransformBroadcastertransform_broadcaster_
double update_period_
ros::ServiceServer update_state_service_server_
event::ConnectionPtr updateConnection
double updateRate
physics::WorldPtr world
double x_
double y_

Detailed Description

Definition at line 63 of file object_controller_plugin.h.


Constructor & Destructor Documentation

Definition at line 45 of file object_controller_plugin.cc.

Definition at line 47 of file object_controller_plugin.cc.


Member Function Documentation

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

Definition at line 234 of file object_controller_plugin.cc.

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

Definition at line 216 of file object_controller_plugin.cc.

void gazebo::ObjectControllerPlugin::getSimpleMap ( const nav_msgs::OccupancyGrid::ConstPtr &  map) [private]

Definition at line 250 of file object_controller_plugin.cc.

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

Definition at line 53 of file object_controller_plugin.cc.

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

Definition at line 326 of file object_controller_plugin.cc.

Definition at line 243 of file object_controller_plugin.cc.

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

Definition at line 195 of file object_controller_plugin.cc.

Definition at line 224 of file object_controller_plugin.cc.

void gazebo::ObjectControllerPlugin::writePositionData ( double  step_time) [private]

Definition at line 391 of file object_controller_plugin.cc.


Member Data Documentation

Definition at line 115 of file object_controller_plugin.h.

Definition at line 104 of file object_controller_plugin.h.

Definition at line 127 of file object_controller_plugin.h.

Definition at line 124 of file object_controller_plugin.h.

Definition at line 80 of file object_controller_plugin.h.

Definition at line 120 of file object_controller_plugin.h.

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

Definition at line 91 of file object_controller_plugin.h.

nav_msgs::OccupancyGrid gazebo::ObjectControllerPlugin::map_ [private]

Definition at line 128 of file object_controller_plugin.h.

Definition at line 129 of file object_controller_plugin.h.

Definition at line 123 of file object_controller_plugin.h.

Definition at line 99 of file object_controller_plugin.h.

Definition at line 126 of file object_controller_plugin.h.

Definition at line 125 of file object_controller_plugin.h.

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

Definition at line 87 of file object_controller_plugin.h.

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

Definition at line 77 of file object_controller_plugin.h.

Definition at line 94 of file object_controller_plugin.h.

Definition at line 84 of file object_controller_plugin.h.

Definition at line 84 of file object_controller_plugin.h.

Definition at line 103 of file object_controller_plugin.h.

Definition at line 83 of file object_controller_plugin.h.

Definition at line 114 of file object_controller_plugin.h.

Definition at line 92 of file object_controller_plugin.h.

Definition at line 85 of file object_controller_plugin.h.

Definition at line 85 of file object_controller_plugin.h.

Definition at line 88 of file object_controller_plugin.h.

Definition at line 97 of file object_controller_plugin.h.

Definition at line 96 of file object_controller_plugin.h.

Definition at line 100 of file object_controller_plugin.h.

Definition at line 86 of file object_controller_plugin.h.

Definition at line 119 of file object_controller_plugin.h.

Definition at line 89 of file object_controller_plugin.h.

Definition at line 78 of file object_controller_plugin.h.

Definition at line 118 of file object_controller_plugin.h.

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

Definition at line 76 of file object_controller_plugin.h.

Definition at line 112 of file object_controller_plugin.h.

Definition at line 113 of file object_controller_plugin.h.


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


segbot_gazebo_plugins
Author(s): Piyush Khandelwal
autogenerated on Mon Aug 5 2013 12:10:02