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

#include <gazebo_ros_joint_state_publisher.h>

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

Public Member Functions

 GazeboRosJointStatePublisher ()
 
void Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf)
 
void OnUpdate (const common::UpdateInfo &_info)
 
void publishJointStates ()
 
 ~GazeboRosJointStatePublisher ()
 

Private Attributes

std::vector< std::string > joint_names_
 
sensor_msgs::JointState joint_state_
 
ros::Publisher joint_state_publisher_
 
std::vector< physics::JointPtr > joints_
 
common::Time last_update_time_
 
physics::ModelPtr parent_
 
std::string robot_namespace_
 
boost::shared_ptr< ros::NodeHandlerosnode_
 
std::string tf_prefix_
 
double update_period_
 
double update_rate_
 
event::ConnectionPtr updateConnection
 
physics::WorldPtr world_
 

Detailed Description

Definition at line 57 of file gazebo_ros_joint_state_publisher.h.

Constructor & Destructor Documentation

GazeboRosJointStatePublisher::GazeboRosJointStatePublisher ( )

Definition at line 35 of file gazebo_ros_joint_state_publisher.cpp.

GazeboRosJointStatePublisher::~GazeboRosJointStatePublisher ( )

Definition at line 38 of file gazebo_ros_joint_state_publisher.cpp.

Member Function Documentation

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

Definition at line 42 of file gazebo_ros_joint_state_publisher.cpp.

void GazeboRosJointStatePublisher::OnUpdate ( const common::UpdateInfo &  _info)

Definition at line 108 of file gazebo_ros_joint_state_publisher.cpp.

void GazeboRosJointStatePublisher::publishJointStates ( )

Definition at line 133 of file gazebo_ros_joint_state_publisher.cpp.

Member Data Documentation

std::vector<std::string> gazebo::GazeboRosJointStatePublisher::joint_names_
private

Definition at line 77 of file gazebo_ros_joint_state_publisher.h.

sensor_msgs::JointState gazebo::GazeboRosJointStatePublisher::joint_state_
private

Definition at line 73 of file gazebo_ros_joint_state_publisher.h.

ros::Publisher gazebo::GazeboRosJointStatePublisher::joint_state_publisher_
private

Definition at line 74 of file gazebo_ros_joint_state_publisher.h.

std::vector<physics::JointPtr> gazebo::GazeboRosJointStatePublisher::joints_
private

Definition at line 69 of file gazebo_ros_joint_state_publisher.h.

common::Time gazebo::GazeboRosJointStatePublisher::last_update_time_
private

Definition at line 82 of file gazebo_ros_joint_state_publisher.h.

physics::ModelPtr gazebo::GazeboRosJointStatePublisher::parent_
private

Definition at line 68 of file gazebo_ros_joint_state_publisher.h.

std::string gazebo::GazeboRosJointStatePublisher::robot_namespace_
private

Definition at line 76 of file gazebo_ros_joint_state_publisher.h.

boost::shared_ptr<ros::NodeHandle> gazebo::GazeboRosJointStatePublisher::rosnode_
private

Definition at line 72 of file gazebo_ros_joint_state_publisher.h.

std::string gazebo::GazeboRosJointStatePublisher::tf_prefix_
private

Definition at line 75 of file gazebo_ros_joint_state_publisher.h.

double gazebo::GazeboRosJointStatePublisher::update_period_
private

Definition at line 81 of file gazebo_ros_joint_state_publisher.h.

double gazebo::GazeboRosJointStatePublisher::update_rate_
private

Definition at line 80 of file gazebo_ros_joint_state_publisher.h.

event::ConnectionPtr gazebo::GazeboRosJointStatePublisher::updateConnection
private

Definition at line 66 of file gazebo_ros_joint_state_publisher.h.

physics::WorldPtr gazebo::GazeboRosJointStatePublisher::world_
private

Definition at line 67 of file gazebo_ros_joint_state_publisher.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