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 (ros_ethercat_model::RobotState *robot, ros::NodeHandle &n)
 SrhFakeJointCalibrationController ()
virtual void update (const ros::Time &time, const ros::Duration &period)

Protected Types

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

Protected Member Functions

void initialize_pids ()

Protected Attributes

ros_ethercat_model::Actuatoractuator_
std::string actuator_name_
int calibration_state_
ros_ethercat_model::JointStatejoint_
std::string joint_name_
std::string joint_prefix_
ros::Time last_publish_time_
ros::NodeHandle node_
std::string ns_
boost::scoped_ptr
< realtime_tools::RealtimePublisher
< std_msgs::Empty > > 
pub_calibrated_
ros_ethercat_model::RobotStaterobot_
std::string robot_id_

Detailed Description

Definition at line 42 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 65 of file srh_fake_joint_calibration_controller.h.


Constructor & Destructor Documentation

Definition at line 40 of file srh_fake_joint_calibration_controller.cpp.


Member Function Documentation

Definition at line 52 of file srh_fake_joint_calibration_controller.h.

Definition at line 51 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 140 of file srh_fake_joint_calibration_controller.cpp.

void controller::SrhFakeJointCalibrationController::update ( const ros::Time time,
const ros::Duration period 
) [virtual]

Member Data Documentation

Definition at line 68 of file srh_fake_joint_calibration_controller.h.

Definition at line 71 of file srh_fake_joint_calibration_controller.h.

Definition at line 66 of file srh_fake_joint_calibration_controller.h.

Definition at line 69 of file srh_fake_joint_calibration_controller.h.

Definition at line 71 of file srh_fake_joint_calibration_controller.h.

Definition at line 71 of file srh_fake_joint_calibration_controller.h.

Definition at line 63 of file srh_fake_joint_calibration_controller.h.

Definition at line 61 of file srh_fake_joint_calibration_controller.h.

Definition at line 71 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 71 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 21 2015 12:26:14