#include <joint_state_controller.h>
Public Member Functions | |
virtual bool | init (hardware_interface::JointStateInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh) |
JointStateController () | |
virtual void | starting (const ros::Time &time) |
virtual void | stopping (const ros::Time &time) |
virtual void | update (const ros::Time &time, const ros::Duration &period) |
Private Attributes | |
std::vector < hardware_interface::JointStateHandle > | joint_state_ |
ros::Time | last_publish_time_ |
double | publish_rate_ |
boost::shared_ptr < realtime_tools::RealtimePublisher < sensor_msgs::JointState > > | realtime_pub_ |
Definition at line 46 of file joint_state_controller.h.
Definition at line 49 of file joint_state_controller.h.
bool joint_state_controller::JointStateController::init | ( | hardware_interface::JointStateInterface * | hw, |
ros::NodeHandle & | root_nh, | ||
ros::NodeHandle & | controller_nh | ||
) | [virtual] |
Reimplemented from controller_interface::Controller< hardware_interface::JointStateInterface >.
Definition at line 40 of file joint_state_controller.cpp.
void joint_state_controller::JointStateController::starting | ( | const ros::Time & | time | ) | [virtual] |
Reimplemented from controller_interface::ControllerBase.
Definition at line 68 of file joint_state_controller.cpp.
void joint_state_controller::JointStateController::stopping | ( | const ros::Time & | time | ) | [virtual] |
Reimplemented from controller_interface::ControllerBase.
Definition at line 96 of file joint_state_controller.cpp.
void joint_state_controller::JointStateController::update | ( | const ros::Time & | time, |
const ros::Duration & | period | ||
) | [virtual] |
Implements controller_interface::ControllerBase.
Definition at line 74 of file joint_state_controller.cpp.
std::vector<hardware_interface::JointStateHandle> joint_state_controller::JointStateController::joint_state_ [private] |
Definition at line 57 of file joint_state_controller.h.
Definition at line 59 of file joint_state_controller.h.
double joint_state_controller::JointStateController::publish_rate_ [private] |
Definition at line 60 of file joint_state_controller.h.
boost::shared_ptr<realtime_tools::RealtimePublisher<sensor_msgs::JointState> > joint_state_controller::JointStateController::realtime_pub_ [private] |
Definition at line 58 of file joint_state_controller.h.