#include <head_position_controller.h>
Public Member Functions | |
HeadPositionController () | |
bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
void | starting () |
void | update () |
~HeadPositionController () | |
Public Attributes | |
double | pan_out_ |
double | tilt_out_ |
Private Member Functions | |
void | command (const sensor_msgs::JointStateConstPtr &command_msg) |
Private Attributes | |
controller::JointPositionController | head_pan_controller_ |
controller::JointPositionController | head_tilt_controller_ |
ros::NodeHandle | node_ |
std::string | pan_link_name_ |
pr2_mechanism_model::RobotState * | robot_state_ |
ros::Subscriber | sub_command_ |
std::string | tilt_link_name_ |
Definition at line 51 of file head_position_controller.h.
HeadPositionController::HeadPositionController | ( | ) |
Definition at line 48 of file head_position_controller.cpp.
HeadPositionController::~HeadPositionController | ( | ) |
Definition at line 52 of file head_position_controller.cpp.
void HeadPositionController::command | ( | const sensor_msgs::JointStateConstPtr & | command_msg | ) | [private] |
Definition at line 108 of file head_position_controller.cpp.
bool HeadPositionController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
ros::NodeHandle & | n | |||
) |
Definition at line 57 of file head_position_controller.cpp.
void HeadPositionController::starting | ( | ) |
Definition at line 91 of file head_position_controller.cpp.
void HeadPositionController::update | ( | ) |
Definition at line 99 of file head_position_controller.cpp.
controller::JointPositionController joint_qualification_controllers::HeadPositionController::head_pan_controller_ [private] |
Definition at line 72 of file head_position_controller.h.
controller::JointPositionController joint_qualification_controllers::HeadPositionController::head_tilt_controller_ [private] |
Definition at line 73 of file head_position_controller.h.
ros::NodeHandle joint_qualification_controllers::HeadPositionController::node_ [private] |
Definition at line 64 of file head_position_controller.h.
std::string joint_qualification_controllers::HeadPositionController::pan_link_name_ [private] |
Definition at line 65 of file head_position_controller.h.
Definition at line 60 of file head_position_controller.h.
pr2_mechanism_model::RobotState* joint_qualification_controllers::HeadPositionController::robot_state_ [private] |
Definition at line 66 of file head_position_controller.h.
ros::Subscriber joint_qualification_controllers::HeadPositionController::sub_command_ [private] |
Definition at line 67 of file head_position_controller.h.
std::string joint_qualification_controllers::HeadPositionController::tilt_link_name_ [private] |
Definition at line 65 of file head_position_controller.h.
Definition at line 60 of file head_position_controller.h.