#include <joint_calibration_controller.h>
Public Member Functions | |
virtual bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
bool | isCalibrated (pr2_controllers_msgs::QueryCalibrationState::Request &req, pr2_controllers_msgs::QueryCalibrationState::Response &resp) |
JointCalibrationController () | |
virtual void | starting () |
virtual void | update () |
virtual | ~JointCalibrationController () |
Protected Types | |
enum | { INITIALIZED, BEGINNING, MOVING_TO_LOW, MOVING_TO_HIGH, CALIBRATED } |
Protected Attributes | |
pr2_hardware_interface::Actuator * | actuator_ |
int | countdown_ |
std::vector < pr2_hardware_interface::Actuator * > | fake_a |
std::vector < pr2_mechanism_model::JointState * > | fake_j |
ros::ServiceServer | is_calibrated_srv_ |
pr2_mechanism_model::JointState * | joint_ |
ros::Time | last_publish_time_ |
ros::NodeHandle | node_ |
double | original_position_ |
boost::scoped_ptr < realtime_tools::RealtimePublisher < std_msgs::Empty > > | pub_calibrated_ |
pr2_mechanism_model::RobotState * | robot_ |
double | search_velocity_ |
int | state_ |
pr2_mechanism_model::Transmission * | transmission_ |
controller::JointVelocityController | vc_ |
Definition at line 49 of file joint_calibration_controller.h.
anonymous enum [protected] |
Definition at line 69 of file joint_calibration_controller.h.
controller::JointCalibrationController::JointCalibrationController | ( | ) |
Definition at line 46 of file joint_calibration_controller.cpp.
controller::JointCalibrationController::~JointCalibrationController | ( | ) | [virtual] |
Definition at line 52 of file joint_calibration_controller.cpp.
bool controller::JointCalibrationController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
ros::NodeHandle & | n | |||
) | [virtual] |
Definition at line 56 of file joint_calibration_controller.cpp.
bool controller::JointCalibrationController::isCalibrated | ( | pr2_controllers_msgs::QueryCalibrationState::Request & | req, | |
pr2_controllers_msgs::QueryCalibrationState::Response & | resp | |||
) |
Definition at line 182 of file joint_calibration_controller.cpp.
void controller::JointCalibrationController::starting | ( | ) | [virtual] |
Definition at line 174 of file joint_calibration_controller.cpp.
void controller::JointCalibrationController::update | ( | ) | [virtual] |
Definition at line 191 of file joint_calibration_controller.cpp.
pr2_hardware_interface::Actuator* controller::JointCalibrationController::actuator_ [protected] |
Definition at line 76 of file joint_calibration_controller.h.
int controller::JointCalibrationController::countdown_ [protected] |
Definition at line 71 of file joint_calibration_controller.h.
std::vector<pr2_hardware_interface::Actuator*> controller::JointCalibrationController::fake_a [protected] |
Definition at line 81 of file joint_calibration_controller.h.
std::vector<pr2_mechanism_model::JointState*> controller::JointCalibrationController::fake_j [protected] |
Definition at line 82 of file joint_calibration_controller.h.
ros::ServiceServer controller::JointCalibrationController::is_calibrated_srv_ [protected] |
Definition at line 66 of file joint_calibration_controller.h.
pr2_mechanism_model::JointState* controller::JointCalibrationController::joint_ [protected] |
Definition at line 77 of file joint_calibration_controller.h.
ros::Time controller::JointCalibrationController::last_publish_time_ [protected] |
Definition at line 65 of file joint_calibration_controller.h.
ros::NodeHandle controller::JointCalibrationController::node_ [protected] |
Definition at line 64 of file joint_calibration_controller.h.
double controller::JointCalibrationController::original_position_ [protected] |
Definition at line 74 of file joint_calibration_controller.h.
boost::scoped_ptr<realtime_tools::RealtimePublisher<std_msgs::Empty> > controller::JointCalibrationController::pub_calibrated_ [protected] |
Definition at line 67 of file joint_calibration_controller.h.
pr2_mechanism_model::RobotState* controller::JointCalibrationController::robot_ [protected] |
Definition at line 63 of file joint_calibration_controller.h.
double controller::JointCalibrationController::search_velocity_ [protected] |
Definition at line 73 of file joint_calibration_controller.h.
int controller::JointCalibrationController::state_ [protected] |
Definition at line 70 of file joint_calibration_controller.h.
pr2_mechanism_model::Transmission* controller::JointCalibrationController::transmission_ [protected] |
Definition at line 78 of file joint_calibration_controller.h.
controller::JointVelocityController controller::JointCalibrationController::vc_ [protected] |
Definition at line 84 of file joint_calibration_controller.h.