#include <counterbalance_test_controller.h>
Public Types | |
enum | { STARTING, SETTLING, DITHERING, NEXT, DONE } |
Public Member Functions | |
CounterbalanceTestController () | |
bool | done () |
bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
Functional way to initialize. | |
bool | sendData () |
void | starting () |
void | update () |
Issues commands to the joint. Should be called at regular intervals. | |
~CounterbalanceTestController () | |
Public Attributes | |
joint_qualification_controllers::CounterbalanceTestData | cb_test_data_ |
Private Attributes | |
boost::scoped_ptr < realtime_tools::RealtimePublisher < joint_qualification_controllers::CounterbalanceTestData > > | cb_data_pub_ |
bool | data_sent_ |
int | dither_count_ |
int | dither_points_ |
controller::JointPositionController * | flex_controller_ |
control_toolbox::Dither * | flex_dither_ |
uint | flex_index_ |
pr2_mechanism_model::JointState * | flex_state_ |
ros::Time | initial_time_ |
controller::JointPositionController * | lift_controller_ |
control_toolbox::Dither * | lift_dither_ |
uint | lift_index_ |
pr2_mechanism_model::JointState * | lift_state_ |
pr2_mechanism_model::RobotState * | robot_ |
double | settle_time_ |
ros::Time | start_time_ |
int | starting_count_ |
int | state_ |
double | timeout_ |
Definition at line 59 of file counterbalance_test_controller.h.
anonymous enum |
Definition at line 60 of file counterbalance_test_controller.h.
CounterbalanceTestController::CounterbalanceTestController | ( | ) |
Definition at line 48 of file counterbalance_test_controller.cpp.
CounterbalanceTestController::~CounterbalanceTestController | ( | ) |
Definition at line 109 of file counterbalance_test_controller.cpp.
bool joint_qualification_controllers::CounterbalanceTestController::done | ( | ) | [inline] |
Definition at line 81 of file counterbalance_test_controller.h.
bool CounterbalanceTestController::init | ( | pr2_mechanism_model::RobotState * | robot, | |
ros::NodeHandle & | n | |||
) |
Functional way to initialize.
*robot | The robot that is being controlled. | |
&n | Node handle for parameters and services |
Definition at line 117 of file counterbalance_test_controller.cpp.
bool CounterbalanceTestController::sendData | ( | ) |
Definition at line 554 of file counterbalance_test_controller.cpp.
void CounterbalanceTestController::starting | ( | ) |
Definition at line 436 of file counterbalance_test_controller.cpp.
void CounterbalanceTestController::update | ( | ) |
Issues commands to the joint. Should be called at regular intervals.
Definition at line 441 of file counterbalance_test_controller.cpp.
boost::scoped_ptr<realtime_tools::RealtimePublisher<joint_qualification_controllers::CounterbalanceTestData> > joint_qualification_controllers::CounterbalanceTestController::cb_data_pub_ [private] |
Definition at line 115 of file counterbalance_test_controller.h.
joint_qualification_controllers::CounterbalanceTestData joint_qualification_controllers::CounterbalanceTestController::cb_test_data_ |
Definition at line 83 of file counterbalance_test_controller.h.
Definition at line 113 of file counterbalance_test_controller.h.
Definition at line 108 of file counterbalance_test_controller.h.
Definition at line 105 of file counterbalance_test_controller.h.
controller::JointPositionController* joint_qualification_controllers::CounterbalanceTestController::flex_controller_ [private] |
Definition at line 90 of file counterbalance_test_controller.h.
control_toolbox::Dither* joint_qualification_controllers::CounterbalanceTestController::flex_dither_ [private] |
Definition at line 87 of file counterbalance_test_controller.h.
Definition at line 111 of file counterbalance_test_controller.h.
pr2_mechanism_model::JointState* joint_qualification_controllers::CounterbalanceTestController::flex_state_ [private] |
Definition at line 92 of file counterbalance_test_controller.h.
ros::Time joint_qualification_controllers::CounterbalanceTestController::initial_time_ [private] |
Definition at line 101 of file counterbalance_test_controller.h.
controller::JointPositionController* joint_qualification_controllers::CounterbalanceTestController::lift_controller_ [private] |
Definition at line 89 of file counterbalance_test_controller.h.
control_toolbox::Dither* joint_qualification_controllers::CounterbalanceTestController::lift_dither_ [private] |
Definition at line 86 of file counterbalance_test_controller.h.
Definition at line 110 of file counterbalance_test_controller.h.
pr2_mechanism_model::JointState* joint_qualification_controllers::CounterbalanceTestController::lift_state_ [private] |
Definition at line 93 of file counterbalance_test_controller.h.
pr2_mechanism_model::RobotState* joint_qualification_controllers::CounterbalanceTestController::robot_ [private] |
Definition at line 95 of file counterbalance_test_controller.h.
Definition at line 103 of file counterbalance_test_controller.h.
ros::Time joint_qualification_controllers::CounterbalanceTestController::start_time_ [private] |
Definition at line 104 of file counterbalance_test_controller.h.
Definition at line 97 of file counterbalance_test_controller.h.
Definition at line 99 of file counterbalance_test_controller.h.
Definition at line 106 of file counterbalance_test_controller.h.