#include <caster_calibration_controller.h>
Public Member Functions | |
CasterCalibrationController () | |
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) |
virtual void | starting () |
virtual void | update () |
~CasterCalibrationController () | |
Protected Types | |
enum | { INITIALIZED, BEGINNING, MOVING, CALIBRATED } |
Protected Attributes | |
pr2_hardware_interface::Actuator * | actuator_ |
ros::Time | beginning_ |
controller::CasterController | cc_ |
std::vector < pr2_hardware_interface::Actuator * > | fake_as |
std::vector < pr2_mechanism_model::JointState * > | fake_js |
ros::ServiceServer | is_calibrated_srv_ |
pr2_mechanism_model::JointState * | joint_ |
ros::Time | last_publish_time_ |
ros::NodeHandle | node_ |
double | original_position_ |
bool | original_switch_state_ |
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_ |
int | unstick_iter_ |
pr2_mechanism_model::JointState * | wheel_l_joint_ |
pr2_mechanism_model::JointState * | wheel_r_joint_ |
Definition at line 44 of file caster_calibration_controller.h.
anonymous enum [protected] |
Definition at line 58 of file caster_calibration_controller.h.
controller::CasterCalibrationController::CasterCalibrationController | ( | ) |
controller::CasterCalibrationController::~CasterCalibrationController | ( | ) |
virtual bool controller::CasterCalibrationController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
ros::NodeHandle & | n | |||
) | [virtual] |
bool controller::CasterCalibrationController::isCalibrated | ( | pr2_controllers_msgs::QueryCalibrationState::Request & | req, | |
pr2_controllers_msgs::QueryCalibrationState::Response & | resp | |||
) |
virtual void controller::CasterCalibrationController::starting | ( | ) | [virtual] |
virtual void controller::CasterCalibrationController::update | ( | ) | [virtual] |
pr2_hardware_interface::Actuator* controller::CasterCalibrationController::actuator_ [protected] |
Definition at line 68 of file caster_calibration_controller.h.
ros::Time controller::CasterCalibrationController::beginning_ [protected] |
Definition at line 65 of file caster_calibration_controller.h.
controller::CasterController controller::CasterCalibrationController::cc_ [protected] |
Definition at line 76 of file caster_calibration_controller.h.
std::vector<pr2_hardware_interface::Actuator*> controller::CasterCalibrationController::fake_as [protected] |
Definition at line 73 of file caster_calibration_controller.h.
std::vector<pr2_mechanism_model::JointState*> controller::CasterCalibrationController::fake_js [protected] |
Definition at line 74 of file caster_calibration_controller.h.
ros::ServiceServer controller::CasterCalibrationController::is_calibrated_srv_ [protected] |
Definition at line 79 of file caster_calibration_controller.h.
pr2_mechanism_model::JointState* controller::CasterCalibrationController::joint_ [protected] |
Definition at line 69 of file caster_calibration_controller.h.
ros::Time controller::CasterCalibrationController::last_publish_time_ [protected] |
Definition at line 78 of file caster_calibration_controller.h.
ros::NodeHandle controller::CasterCalibrationController::node_ [protected] |
Definition at line 55 of file caster_calibration_controller.h.
double controller::CasterCalibrationController::original_position_ [protected] |
Definition at line 63 of file caster_calibration_controller.h.
bool controller::CasterCalibrationController::original_switch_state_ [protected] |
Definition at line 62 of file caster_calibration_controller.h.
boost::scoped_ptr<realtime_tools::RealtimePublisher<std_msgs::Empty> > controller::CasterCalibrationController::pub_calibrated_ [protected] |
Definition at line 80 of file caster_calibration_controller.h.
pr2_mechanism_model::RobotState* controller::CasterCalibrationController::robot_ [protected] |
Definition at line 56 of file caster_calibration_controller.h.
double controller::CasterCalibrationController::search_velocity_ [protected] |
Definition at line 61 of file caster_calibration_controller.h.
int controller::CasterCalibrationController::state_ [protected] |
Definition at line 59 of file caster_calibration_controller.h.
pr2_mechanism_model::Transmission* controller::CasterCalibrationController::transmission_ [protected] |
Definition at line 70 of file caster_calibration_controller.h.
int controller::CasterCalibrationController::unstick_iter_ [protected] |
Definition at line 66 of file caster_calibration_controller.h.
pr2_mechanism_model::JointState * controller::CasterCalibrationController::wheel_l_joint_ [protected] |
Definition at line 69 of file caster_calibration_controller.h.
pr2_mechanism_model::JointState * controller::CasterCalibrationController::wheel_r_joint_ [protected] |
Definition at line 69 of file caster_calibration_controller.h.