34 #ifndef WRIST_CALIBRATION_CONTROLLER_H 35 #define WRIST_CALIBRATION_CONTROLLER_H 40 #include "std_msgs/Empty.h" 41 #include "pr2_controllers_msgs/QueryCalibrationState.h" 55 bool isCalibrated(pr2_controllers_msgs::QueryCalibrationState::Request& req, pr2_controllers_msgs::QueryCalibrationState::Response&
resp);
68 boost::scoped_ptr<realtime_tools::RealtimePublisher<std_msgs::Empty> >
pub_calibrated_;
86 std::vector<pr2_hardware_interface::Actuator*>
fake_as;
87 std::vector<pr2_mechanism_model::JointState*>
fake_js;
std::vector< pr2_hardware_interface::Actuator * > fake_as
bool original_switch_state_
ros::Time last_publish_time_
controller::JointVelocityController vc_flex_
pr2_mechanism_model::RobotState * robot_
pr2_mechanism_model::JointState * roll_joint_
pr2_hardware_interface::Actuator * actuator_r_
double flex_search_velocity_
~WristCalibrationController()
controller::JointVelocityController vc_roll_
ros::ServiceServer is_calibrated_srv_
virtual bool init(pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
std::vector< pr2_mechanism_model::JointState * > fake_js
bool isCalibrated(pr2_controllers_msgs::QueryCalibrationState::Request &req, pr2_controllers_msgs::QueryCalibrationState::Response &resp)
boost::scoped_ptr< realtime_tools::RealtimePublisher< std_msgs::Empty > > pub_calibrated_
double prev_actuator_l_position_
boost::shared_ptr< pr2_mechanism_model::Transmission > transmission_
double roll_search_velocity_
WristCalibrationController()
double prev_actuator_r_position_
pr2_hardware_interface::Actuator * actuator_l_
pr2_mechanism_model::JointState * flex_joint_