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::GazeboRosJointStatePublisher ( )

Definition at line 38 of file gazebo_ros_joint_state_publisher.cpp.

◆ ~GazeboRosJointStatePublisher()

GazeboRosJointStatePublisher::~GazeboRosJointStatePublisher ( )

Definition at line 41 of file gazebo_ros_joint_state_publisher.cpp.

Member Function Documentation

◆ Load()

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

Definition at line 45 of file gazebo_ros_joint_state_publisher.cpp.

◆ OnUpdate()

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

Definition at line 115 of file gazebo_ros_joint_state_publisher.cpp.

◆ publishJointStates()

void GazeboRosJointStatePublisher::publishJointStates ( )

Definition at line 147 of file gazebo_ros_joint_state_publisher.cpp.

Member Data Documentation

◆ joint_names_

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

Definition at line 77 of file gazebo_ros_joint_state_publisher.h.

◆ joint_state_

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

Definition at line 73 of file gazebo_ros_joint_state_publisher.h.

◆ joint_state_publisher_

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

Definition at line 74 of file gazebo_ros_joint_state_publisher.h.

◆ joints_

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

Definition at line 69 of file gazebo_ros_joint_state_publisher.h.

◆ last_update_time_

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

Definition at line 82 of file gazebo_ros_joint_state_publisher.h.

◆ parent_

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

Definition at line 68 of file gazebo_ros_joint_state_publisher.h.

◆ robot_namespace_

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

Definition at line 76 of file gazebo_ros_joint_state_publisher.h.

◆ rosnode_

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

Definition at line 72 of file gazebo_ros_joint_state_publisher.h.

◆ tf_prefix_

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

Definition at line 75 of file gazebo_ros_joint_state_publisher.h.

◆ update_period_

double gazebo::GazeboRosJointStatePublisher::update_period_
private

Definition at line 81 of file gazebo_ros_joint_state_publisher.h.

◆ update_rate_

double gazebo::GazeboRosJointStatePublisher::update_rate_
private

Definition at line 80 of file gazebo_ros_joint_state_publisher.h.

◆ updateConnection

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

Definition at line 66 of file gazebo_ros_joint_state_publisher.h.

◆ world_

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 Thu Sep 5 2024 02:49:55