#include <wrist_difference_controller.h>
Public Types | |
enum | { STARTING, LEFT, RIGHT, ANALYZING, DONE } |
Public Member Functions | |
void | analysis () |
Perform the test analysis. | |
bool | done () |
bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
Functional way to initialize. | |
bool | sendData () |
Sends data, returns true if sent. | |
void | starting () |
Called when controller is started. | |
void | update () |
Issues commands to the joint to perform hysteresis test. | |
WristDifferenceController () | |
~WristDifferenceController () | |
Private Attributes | |
bool | data_sent_ |
controller::JointPositionController * | flex_controller_ |
pr2_mechanism_model::JointState * | flex_joint_ |
double | flex_position_ |
double | initial_position_ |
ros::Time | initial_time_ |
int | left_count_ |
int | right_count_ |
pr2_mechanism_model::RobotState * | robot_ |
controller::JointVelocityController * | roll_controller_ |
pr2_mechanism_model::JointState * | roll_joint_ |
double | roll_velocity_ |
double | sd_max_ |
int | start_count_ |
int | starting_count |
int | state_ |
double | timeout_ |
double | tolerance_ |
boost::scoped_ptr < realtime_tools::RealtimePublisher < joint_qualification_controllers::WristDiffData > > | wrist_data_pub_ |
joint_qualification_controllers::WristDiffData | wrist_test_data_ |
Definition at line 60 of file wrist_difference_controller.h.
anonymous enum |
Definition at line 61 of file wrist_difference_controller.h.
WristDifferenceController::WristDifferenceController | ( | ) |
Definition at line 47 of file wrist_difference_controller.cpp.
WristDifferenceController::~WristDifferenceController | ( | ) |
Definition at line 102 of file wrist_difference_controller.cpp.
void WristDifferenceController::analysis | ( | ) |
Perform the test analysis.
Definition at line 347 of file wrist_difference_controller.cpp.
bool joint_qualification_controllers::WristDifferenceController::done | ( | ) | [inline] |
Definition at line 93 of file wrist_difference_controller.h.
bool WristDifferenceController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
ros::NodeHandle & | n | |||
) |
Functional way to initialize.
*robot | The robot that is being controlled. | |
&n | NodeHandle of mechanism control |
Definition at line 108 of file wrist_difference_controller.cpp.
bool WristDifferenceController::sendData | ( | ) |
Sends data, returns true if sent.
Definition at line 377 of file wrist_difference_controller.cpp.
void WristDifferenceController::starting | ( | ) |
Called when controller is started.
Definition at line 249 of file wrist_difference_controller.cpp.
void WristDifferenceController::update | ( | ) |
Issues commands to the joint to perform hysteresis test.
Definition at line 257 of file wrist_difference_controller.cpp.
Definition at line 118 of file wrist_difference_controller.h.
controller::JointPositionController* joint_qualification_controllers::WristDifferenceController::flex_controller_ [private] |
Definition at line 102 of file wrist_difference_controller.h.
pr2_mechanism_model::JointState* joint_qualification_controllers::WristDifferenceController::flex_joint_ [private] |
Definition at line 99 of file wrist_difference_controller.h.
Definition at line 105 of file wrist_difference_controller.h.
Definition at line 108 of file wrist_difference_controller.h.
ros::Time joint_qualification_controllers::WristDifferenceController::initial_time_ [private] |
Start time of the test.
Definition at line 107 of file wrist_difference_controller.h.
Definition at line 109 of file wrist_difference_controller.h.
Definition at line 109 of file wrist_difference_controller.h.
pr2_mechanism_model::RobotState* joint_qualification_controllers::WristDifferenceController::robot_ [private] |
Definition at line 101 of file wrist_difference_controller.h.
controller::JointVelocityController* joint_qualification_controllers::WristDifferenceController::roll_controller_ [private] |
Definition at line 103 of file wrist_difference_controller.h.
pr2_mechanism_model::JointState* joint_qualification_controllers::WristDifferenceController::roll_joint_ [private] |
Definition at line 100 of file wrist_difference_controller.h.
Velocity during the test.
Definition at line 106 of file wrist_difference_controller.h.
double joint_qualification_controllers::WristDifferenceController::sd_max_ [private] |
Definition at line 113 of file wrist_difference_controller.h.
Definition at line 109 of file wrist_difference_controller.h.
Definition at line 116 of file wrist_difference_controller.h.
Definition at line 115 of file wrist_difference_controller.h.
double joint_qualification_controllers::WristDifferenceController::timeout_ [private] |
Definition at line 111 of file wrist_difference_controller.h.
Definition at line 112 of file wrist_difference_controller.h.
boost::scoped_ptr<realtime_tools::RealtimePublisher<joint_qualification_controllers::WristDiffData> > joint_qualification_controllers::WristDifferenceController::wrist_data_pub_ [private] |
Definition at line 121 of file wrist_difference_controller.h.
joint_qualification_controllers::WristDiffData joint_qualification_controllers::WristDifferenceController::wrist_test_data_ [private] |
Definition at line 97 of file wrist_difference_controller.h.