#include <gazebo_ros_joint_state_publisher.h>
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::NodeHandle > | rosnode_ |
std::string | tf_prefix_ |
double | update_period_ |
double | update_rate_ |
event::ConnectionPtr | updateConnection |
physics::WorldPtr | world_ |
Definition at line 57 of file gazebo_ros_joint_state_publisher.h.
Definition at line 35 of file gazebo_ros_joint_state_publisher.cpp.
Definition at line 38 of file gazebo_ros_joint_state_publisher.cpp.
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 100 of file gazebo_ros_joint_state_publisher.cpp.
Definition at line 114 of file gazebo_ros_joint_state_publisher.cpp.
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.
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.
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.
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.
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.