#include <SimulatedController.h>
Public Member Functions | |
void | broadcastState (const ros::TimerEvent &evnt) |
void | callbackJointTrajectory (const trajectory_msgs::JointTrajectory::ConstPtr &msg) |
void | init () |
SimulatedController () | |
~SimulatedController () | |
Protected Member Functions | |
void | updateLastStateFeedbackMessages (const sensor_msgs::JointState &st) |
Protected Attributes | |
std::string | _CntrlStatePubTopic |
std::string | _ControlFeedbackPubTopic |
ros::Publisher | _ControllerFeedbackPublisher |
ros::Publisher | _ControllerStatePublisher |
std::vector< std::string > | _JointNames |
ros::Publisher | _JointStatePublisher |
std::string | _JointStatePubTopic |
ros::Subscriber | _JointTrajSubscriber |
std::string | _JointTrajSubsTopic |
pr2_controllers_msgs::JointTrajectoryControllerState | _LastControllerJointState |
control_msgs::FollowJointTrajectoryFeedback | _LastControllerTrajState |
sensor_msgs::JointState | _LastJointState |
bool | _ProcessingRequest |
ros::Timer | _StatusUpdateTimer |
Definition at line 58 of file SimulatedController.h.
Definition at line 41 of file SimulatedController.cpp.
Definition at line 53 of file SimulatedController.cpp.
void SimulatedController::broadcastState | ( | const ros::TimerEvent & | evnt | ) |
Definition at line 111 of file SimulatedController.cpp.
void SimulatedController::callbackJointTrajectory | ( | const trajectory_msgs::JointTrajectory::ConstPtr & | msg | ) |
Definition at line 128 of file SimulatedController.cpp.
void SimulatedController::init | ( | ) |
Definition at line 58 of file SimulatedController.cpp.
void SimulatedController::updateLastStateFeedbackMessages | ( | const sensor_msgs::JointState & | st | ) | [protected] |
Definition at line 198 of file SimulatedController.cpp.
std::string SimulatedController::_CntrlStatePubTopic [protected] |
Definition at line 83 of file SimulatedController.h.
std::string SimulatedController::_ControlFeedbackPubTopic [protected] |
Definition at line 84 of file SimulatedController.h.
Definition at line 79 of file SimulatedController.h.
Definition at line 77 of file SimulatedController.h.
std::vector<std::string> SimulatedController::_JointNames [protected] |
Definition at line 89 of file SimulatedController.h.
Definition at line 78 of file SimulatedController.h.
std::string SimulatedController::_JointStatePubTopic [protected] |
Definition at line 85 of file SimulatedController.h.
Definition at line 76 of file SimulatedController.h.
std::string SimulatedController::_JointTrajSubsTopic [protected] |
Definition at line 86 of file SimulatedController.h.
pr2_controllers_msgs::JointTrajectoryControllerState SimulatedController::_LastControllerJointState [protected] |
Definition at line 94 of file SimulatedController.h.
control_msgs::FollowJointTrajectoryFeedback SimulatedController::_LastControllerTrajState [protected] |
Definition at line 93 of file SimulatedController.h.
sensor_msgs::JointState SimulatedController::_LastJointState [protected] |
Definition at line 92 of file SimulatedController.h.
bool SimulatedController::_ProcessingRequest [protected] |
Definition at line 97 of file SimulatedController.h.
ros::Timer SimulatedController::_StatusUpdateTimer [protected] |
Definition at line 80 of file SimulatedController.h.