#include <joint_effort_controller.h>
Public Member Functions | |
virtual bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
bool | init (pr2_mechanism_model::RobotState *robot, const std::string &joint_name) |
JointEffortController () | |
virtual void | starting () |
virtual void | update () |
~JointEffortController () | |
Public Attributes | |
double | command_ |
pr2_mechanism_model::JointState * | joint_state_ |
Private Member Functions | |
void | commandCB (const std_msgs::Float64ConstPtr &msg) |
Private Attributes | |
ros::NodeHandle | node_ |
pr2_mechanism_model::RobotState * | robot_ |
ros::Subscriber | sub_command_ |
Definition at line 61 of file joint_effort_controller.h.
controller::JointEffortController::JointEffortController | ( | ) |
Definition at line 38 of file joint_effort_controller.cpp.
controller::JointEffortController::~JointEffortController | ( | ) |
Definition at line 43 of file joint_effort_controller.cpp.
void controller::JointEffortController::commandCB | ( | const std_msgs::Float64ConstPtr & | msg | ) | [private] |
Definition at line 99 of file joint_effort_controller.cpp.
bool controller::JointEffortController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
ros::NodeHandle & | n | |||
) | [virtual] |
Definition at line 68 of file joint_effort_controller.cpp.
bool controller::JointEffortController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
const std::string & | joint_name | |||
) |
Definition at line 48 of file joint_effort_controller.cpp.
virtual void controller::JointEffortController::starting | ( | ) | [inline, virtual] |
Definition at line 68 of file joint_effort_controller.h.
void controller::JointEffortController::update | ( | ) | [virtual] |
Definition at line 94 of file joint_effort_controller.cpp.
Definition at line 73 of file joint_effort_controller.h.
pr2_mechanism_model::JointState* controller::JointEffortController::joint_state_ |
Definition at line 71 of file joint_effort_controller.h.
ros::NodeHandle controller::JointEffortController::node_ [private] |
Definition at line 78 of file joint_effort_controller.h.
pr2_mechanism_model::RobotState* controller::JointEffortController::robot_ [private] |
Definition at line 76 of file joint_effort_controller.h.
ros::Subscriber controller::JointEffortController::sub_command_ [private] |
Definition at line 79 of file joint_effort_controller.h.