Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
example
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
31
#include <
sr_mechanism_controllers/sr_controller.hpp
>
32
#include <string>
33
34
namespace
controller
35
{
36
class
SrhExampleController
:
37
public
SrController
38
{
39
public
:
44
SrhExampleController
();
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
ros::NodeHandle
controller::SrController
Definition:
sr_controller.hpp:54
ros::Time
controller::SrhExampleController::update
virtual void update(const ros::Time &time, const ros::Duration &period)
Definition:
srh_example_controller.cpp:158
sr_controller.hpp
A generic controller for the Shadow Robot EtherCAT hand's joints.
controller::SrhExampleController::starting
virtual void starting(const ros::Time &time)
Definition:
srh_example_controller.cpp:145
robot
robot
controller::SrhExampleController::init
bool init(ros_ethercat_model::RobotStateInterface *robot, ros::NodeHandle &n)
Definition:
srh_example_controller.cpp:53
controller::SrhExampleController::SrhExampleController
SrhExampleController()
Definition:
srh_example_controller.cpp:40
controller::SrhExampleController
Definition:
srh_example_controller.hpp:36
ros::Duration
controller::SrhExampleController::~SrhExampleController
virtual ~SrhExampleController()
Definition:
srh_example_controller.cpp:47
controller
Definition:
srh_example_controller.cpp:37
sr_mechanism_controllers
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:58