srh_example_controller.hpp
Go to the documentation of this file.
1 
28 #ifndef _SRH_EXAMPLE_CONTROLLER_HPP_
29 #define _SRH_EXAMPLE_CONTROLLER_HPP_
30 
32 #include <string>
33 
34 namespace controller
35 {
37  public SrController
38 {
39 public:
45 
49  virtual ~SrhExampleController();
50 
60  bool init(ros_ethercat_model::RobotStateInterface *robot, ros::NodeHandle &n);
61 
71  bool init(ros_ethercat_model::RobotStateInterface *robot, const std::string &joint_name);
72 
79  virtual void starting(const ros::Time &time);
80 
85  virtual void update(const ros::Time &time, const ros::Duration &period);
86 };
87 } // namespace controller
88 
89 /* For the emacs weenies in the crowd.
90 Local Variables:
91  c-basic-offset: 2
92 End:
93 */
94 
95 
96 #endif
virtual void update(const ros::Time &time, const ros::Duration &period)
A generic controller for the Shadow Robot EtherCAT hand&#39;s joints.
virtual void starting(const ros::Time &time)
robot
bool init(ros_ethercat_model::RobotStateInterface *robot, ros::NodeHandle &n)


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