test_controllers.hpp
Go to the documentation of this file.
1 
27 #ifndef _SR_TEST_CONTROLLERS_HPP_
28 #define _SR_TEST_CONTROLLERS_HPP_
29 
31 #include <boost/smart_ptr.hpp>
32 
33 #include <control_toolbox/pid.h>
34 #include <pr2_hardware_interface/hardware_interface.h>
35 #include <pr2_mechanism_model/robot.h>
36 #include <tinyxml.h>
38 
40 {
41 public:
43 
44  virtual ~TestControllers();
45 
46  void init();
47 
48  virtual void init_controller() = 0;
49 
50  virtual double compute_output(double input, double current_position) = 0;
51 
58  pr2_mechanism_model::JointState *joint_state;
59 };
60 
61 
62 /* For the emacs weenies in the crowd.
63  Local Variables:
64  c-basic-offset: 2
65  End:
66 */
67 
68 #endif
boost::shared_ptr< TiXmlDocument > model
pr2_mechanism_model::JointState * joint_state
A generic controller for the Shadow Robot EtherCAT hand&#39;s joints.
boost::shared_ptr< controller::SrController > controller
boost::shared_ptr< pr2_mechanism_model::Robot > robot
virtual double compute_output(double input, double current_position)=0
boost::shared_ptr< pr2_mechanism_model::RobotState > robot_state
virtual ~TestControllers()
virtual void init_controller()=0
boost::shared_ptr< sr_actuator::SrMotorActuator > actuator
boost::shared_ptr< pr2_hardware_interface::HardwareInterface > hw


sr_mechanism_controllers
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:58