#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 53 of file head_position_controller.h.
Definition at line 48 of file head_position_controller.cpp.
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 | ||
) | [virtual] |
Implements pr2_controller_interface::Controller.
Definition at line 57 of file head_position_controller.cpp.
void HeadPositionController::starting | ( | ) | [virtual] |
Reimplemented from pr2_controller_interface::Controller.
Definition at line 91 of file head_position_controller.cpp.
void HeadPositionController::update | ( | void | ) | [virtual] |
Implements pr2_controller_interface::Controller.
Definition at line 99 of file head_position_controller.cpp.
controller::JointPositionController joint_qualification_controllers::HeadPositionController::head_pan_controller_ [private] |
Definition at line 77 of file head_position_controller.h.
controller::JointPositionController joint_qualification_controllers::HeadPositionController::head_tilt_controller_ [private] |
Definition at line 78 of file head_position_controller.h.
Definition at line 69 of file head_position_controller.h.
std::string joint_qualification_controllers::HeadPositionController::pan_link_name_ [private] |
Definition at line 70 of file head_position_controller.h.
Definition at line 65 of file head_position_controller.h.
pr2_mechanism_model::RobotState* joint_qualification_controllers::HeadPositionController::robot_state_ [private] |
Definition at line 71 of file head_position_controller.h.
Definition at line 72 of file head_position_controller.h.
std::string joint_qualification_controllers::HeadPositionController::tilt_link_name_ [private] |
Definition at line 70 of file head_position_controller.h.
Definition at line 65 of file head_position_controller.h.