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

#include <gazebo_ros_p3d.h>

List of all members.

Public Member Functions

 GazeboRosP3D ()
 Constructor.
void Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf)
 Load the controller.
virtual ~GazeboRosP3D ()
 Destructor.

Protected Member Functions

virtual void UpdateChild ()
 Update the controller.

Private Member Functions

double GaussianKernel (double mu, double sigma)
 Gaussian noise generator.
void P3DQueueThread ()

Private Attributes

math::Vector3 aeul_
math::Vector3 apos_
boost::thread callback_queue_thread_
math::Vector3 frame_aeul_
math::Vector3 frame_apos_
std::string frame_name_
 frame transform name, should match link name FIXME: extract link name directly?
double gaussian_noise_
 Gaussian noise.
math::Vector3 last_frame_veul_
math::Vector3 last_frame_vpos_
common::Time last_time_
 save last_time
math::Vector3 last_veul_
math::Vector3 last_vpos_
physics::LinkPtr link_
 The parent Model.
std::string link_name_
 store bodyname
boost::mutex lock
 mutex to lock access to fields used in message callbacks
physics::ModelPtr model_
math::Pose offset_
 allow specifying constant xyz and rpy offsets
ros::CallbackQueue p3d_queue_
PubMultiQueue pmq
nav_msgs::Odometry pose_msg_
 ros message
ros::Publisher pub_
PubQueue< nav_msgs::Odometry >::Ptr pub_Queue
physics::LinkPtr reference_link_
 The body of the frame to display pose, twist.
std::string robot_namespace_
 for setting ROS name space
ros::NodeHandlerosnode_
 pointer to ros node
unsigned int seed
std::string tf_frame_name_
std::string topic_name_
 topic name
event::ConnectionPtr update_connection_
double update_rate_
physics::WorldPtr world_

Detailed Description

Definition at line 48 of file gazebo_ros_p3d.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 30 of file gazebo_ros_p3d.cpp.

Destructor.

Definition at line 37 of file gazebo_ros_p3d.cpp.


Member Function Documentation

double gazebo::GazeboRosP3D::GaussianKernel ( double  mu,
double  sigma 
) [private]

Gaussian noise generator.

Definition at line 326 of file gazebo_ros_p3d.cpp.

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

Load the controller.

Definition at line 50 of file gazebo_ros_p3d.cpp.

Definition at line 350 of file gazebo_ros_p3d.cpp.

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

Update the controller.

Todo:
: let user set separate linear and angular covariance values.

Definition at line 199 of file gazebo_ros_p3d.cpp.


Member Data Documentation

Definition at line 102 of file gazebo_ros_p3d.h.

Definition at line 101 of file gazebo_ros_p3d.h.

Definition at line 122 of file gazebo_ros_p3d.h.

Definition at line 106 of file gazebo_ros_p3d.h.

Definition at line 105 of file gazebo_ros_p3d.h.

frame transform name, should match link name FIXME: extract link name directly?

Definition at line 88 of file gazebo_ros_p3d.h.

Gaussian noise.

Definition at line 112 of file gazebo_ros_p3d.h.

Definition at line 104 of file gazebo_ros_p3d.h.

Definition at line 103 of file gazebo_ros_p3d.h.

common::Time gazebo::GazeboRosP3D::last_time_ [private]

save last_time

Definition at line 98 of file gazebo_ros_p3d.h.

Definition at line 100 of file gazebo_ros_p3d.h.

Definition at line 99 of file gazebo_ros_p3d.h.

physics::LinkPtr gazebo::GazeboRosP3D::link_ [private]

The parent Model.

Definition at line 66 of file gazebo_ros_p3d.h.

store bodyname

Definition at line 81 of file gazebo_ros_p3d.h.

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

mutex to lock access to fields used in message callbacks

Definition at line 95 of file gazebo_ros_p3d.h.

physics::ModelPtr gazebo::GazeboRosP3D::model_ [private]

Definition at line 63 of file gazebo_ros_p3d.h.

allow specifying constant xyz and rpy offsets

Definition at line 92 of file gazebo_ros_p3d.h.

Definition at line 120 of file gazebo_ros_p3d.h.

Definition at line 130 of file gazebo_ros_p3d.h.

nav_msgs::Odometry gazebo::GazeboRosP3D::pose_msg_ [private]

ros message

Definition at line 78 of file gazebo_ros_p3d.h.

Definition at line 74 of file gazebo_ros_p3d.h.

PubQueue<nav_msgs::Odometry>::Ptr gazebo::GazeboRosP3D::pub_Queue [private]

Definition at line 75 of file gazebo_ros_p3d.h.

physics::LinkPtr gazebo::GazeboRosP3D::reference_link_ [private]

The body of the frame to display pose, twist.

Definition at line 69 of file gazebo_ros_p3d.h.

for setting ROS name space

Definition at line 118 of file gazebo_ros_p3d.h.

pointer to ros node

Definition at line 73 of file gazebo_ros_p3d.h.

unsigned int gazebo::GazeboRosP3D::seed [private]

Definition at line 127 of file gazebo_ros_p3d.h.

Definition at line 89 of file gazebo_ros_p3d.h.

topic name

Definition at line 84 of file gazebo_ros_p3d.h.

Definition at line 125 of file gazebo_ros_p3d.h.

Definition at line 109 of file gazebo_ros_p3d.h.

physics::WorldPtr gazebo::GazeboRosP3D::world_ [private]

Definition at line 62 of file gazebo_ros_p3d.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