Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
controller::SrhFakeJointCalibrationController Class Reference

#include <srh_fake_joint_calibration_controller.h>

Inheritance diagram for controller::SrhFakeJointCalibrationController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void beginCalibration ()
bool calibrated ()
virtual bool init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
 SrhFakeJointCalibrationController ()
virtual void update ()
virtual ~SrhFakeJointCalibrationController ()

Protected Types

enum  {
  IS_INITIALIZED, BEGINNING, MOVING_TO_LOW, MOVING_TO_HIGH,
  CALIBRATED
}

Protected Member Functions

void initialize_pids ()

Protected Attributes

pr2_hardware_interface::Actuatoractuator_
std::string actuator_name_
int countdown_
pr2_mechanism_model::JointStatejoint_
std::string joint_name_
ros::Time last_publish_time_
ros::NodeHandle node_
bool original_switch_state_
boost::scoped_ptr
< realtime_tools::RealtimePublisher
< std_msgs::Empty > > 
pub_calibrated_
double reference_position_
pr2_mechanism_model::RobotStaterobot_
double search_velocity_
int state_
boost::shared_ptr
< pr2_mechanism_model::Transmission
transmission_

Detailed Description

Definition at line 40 of file srh_fake_joint_calibration_controller.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
IS_INITIALIZED 
BEGINNING 
MOVING_TO_LOW 
MOVING_TO_HIGH 
CALIBRATED 

Definition at line 64 of file srh_fake_joint_calibration_controller.h.


Constructor & Destructor Documentation

Definition at line 40 of file srh_fake_joint_calibration_controller.cpp.

Definition at line 46 of file srh_fake_joint_calibration_controller.cpp.


Member Function Documentation

Definition at line 51 of file srh_fake_joint_calibration_controller.h.

Definition at line 50 of file srh_fake_joint_calibration_controller.h.

Read the pids values from the parameter server and calls the service to set them on the hand.

Reset the motor to make sure we have the proper 0 + correct PID settings

Definition at line 142 of file srh_fake_joint_calibration_controller.cpp.


Member Data Documentation

Definition at line 71 of file srh_fake_joint_calibration_controller.h.

Definition at line 75 of file srh_fake_joint_calibration_controller.h.

Definition at line 66 of file srh_fake_joint_calibration_controller.h.

Definition at line 72 of file srh_fake_joint_calibration_controller.h.

Definition at line 75 of file srh_fake_joint_calibration_controller.h.

Definition at line 62 of file srh_fake_joint_calibration_controller.h.

Definition at line 60 of file srh_fake_joint_calibration_controller.h.

Definition at line 69 of file srh_fake_joint_calibration_controller.h.

Definition at line 61 of file srh_fake_joint_calibration_controller.h.

Definition at line 68 of file srh_fake_joint_calibration_controller.h.

Definition at line 59 of file srh_fake_joint_calibration_controller.h.

Definition at line 68 of file srh_fake_joint_calibration_controller.h.

Reimplemented from pr2_controller_interface::Controller.

Definition at line 65 of file srh_fake_joint_calibration_controller.h.

Definition at line 73 of file srh_fake_joint_calibration_controller.h.


The documentation for this class was generated from the following files:


sr_mechanism_controllers
Author(s): Ugo Cupcic
autogenerated on Fri Aug 28 2015 13:09:56