35 #ifndef _JOINT_QUALIFICATION_CONTROLLERS_HYSTERESIS_CONTROLLER_H 36 #define _JOINT_QUALIFICATION_CONTROLLERS_HYSTERESIS_CONTROLLER_H 51 #include <joint_qualification_controllers/HysteresisData2.h> 55 #include <boost/scoped_ptr.hpp> 125 boost::scoped_ptr<realtime_tools::RealtimePublisher<joint_qualification_controllers::HysteresisData2> >
hyst_pub_;
pr2_mechanism_model::JointState * joint_
pr2_mechanism_model::RobotState * robot_
boost::scoped_ptr< realtime_tools::RealtimePublisher< joint_qualification_controllers::HysteresisData2 > > hyst_pub_
void update()
Issues commands to the joint to perform hysteresis test.
bool init(pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
Functional way to initialize.
controller::JointVelocityController * velocity_controller_
std::vector< int > move_count_
void analysis()
Perform the test analysis.
bool sendData()
Sends data, returns true if sent.
joint_qualification_controllers::HysteresisData2 test_data_
void starting()
Called when controller is started.
double last_publish_time_