#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 () |
Public Member Functions inherited from pr2_controller_interface::Controller | |
Controller () | |
bool | getController (const std::string &name, int sched, ControllerType *&c) |
bool | initRequest (ControllerProvider *cp, pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
bool | isRunning () |
void | starting (const ros::Time &time) |
bool | startRequest () |
void | stopping (const ros::Time &time) |
virtual void | stopping () |
bool | stopRequest () |
void | update (const ros::Time &time, const ros::Duration &period) |
void | updateRequest () |
virtual | ~Controller () |
Protected Types | |
enum | { INITIALIZED, BEGINNING, MOVING_TO_LOW, MOVING_TO_HIGH, CALIBRATED } |
Protected Attributes | |
pr2_hardware_interface::Actuator * | actuator_ |
int | countdown_ |
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_ |
boost::shared_ptr< pr2_mechanism_model::Transmission > | transmission_ |
controller::JointVelocityController | vc_ |
Additional Inherited Members | |
Public Attributes inherited from pr2_controller_interface::Controller | |
std::vector< std::string > | after_list_ |
AFTER_ME | |
std::vector< std::string > | before_list_ |
BEFORE_ME | |
CONSTRUCTED | |
INITIALIZED | |
RUNNING | |
enum pr2_controller_interface::Controller:: { ... } | state_ |
Definition at line 49 of file joint_calibration_controller.h.
|
protected |
Enumerator | |
---|---|
INITIALIZED | |
BEGINNING | |
MOVING_TO_LOW | |
MOVING_TO_HIGH | |
CALIBRATED |
Definition at line 69 of file joint_calibration_controller.h.
controller::JointCalibrationController::JointCalibrationController | ( | ) |
Definition at line 45 of file joint_calibration_controller.cpp.
|
virtual |
Definition at line 51 of file joint_calibration_controller.cpp.
|
virtual |
Implements pr2_controller_interface::Controller.
Definition at line 55 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 191 of file joint_calibration_controller.cpp.
|
virtual |
Reimplemented from pr2_controller_interface::Controller.
Definition at line 183 of file joint_calibration_controller.cpp.
|
virtual |
Implements pr2_controller_interface::Controller.
Definition at line 200 of file joint_calibration_controller.cpp.
|
protected |
Definition at line 76 of file joint_calibration_controller.h.
|
protected |
Definition at line 71 of file joint_calibration_controller.h.
|
protected |
Definition at line 66 of file joint_calibration_controller.h.
|
protected |
Definition at line 77 of file joint_calibration_controller.h.
|
protected |
Definition at line 65 of file joint_calibration_controller.h.
|
protected |
Definition at line 64 of file joint_calibration_controller.h.
|
protected |
Definition at line 74 of file joint_calibration_controller.h.
|
protected |
Definition at line 67 of file joint_calibration_controller.h.
|
protected |
Definition at line 63 of file joint_calibration_controller.h.
|
protected |
Definition at line 73 of file joint_calibration_controller.h.
|
protected |
Definition at line 70 of file joint_calibration_controller.h.
|
protected |
Definition at line 78 of file joint_calibration_controller.h.
|
protected |
Definition at line 80 of file joint_calibration_controller.h.