22 #ifndef TOUCH_CONTROLLER_H_
23 #define TOUCH_CONTROLLER_H_
25 #include <controller_interface/controller.h>
26 #include <pluginlib/class_list_macros.h>
27 #include <realtime_tools/realtime_publisher.h>
28 #include <boost/shared_ptr.hpp>
29 #include <std_msgs/Bool.h>
32 #include <h4r_ev3_control/Ev3SensorInterface.h>
58 bool sensor_mode_needs_init_;
60 std::string frame_id_;
63 typedef boost::shared_ptr<
64 realtime_tools::RealtimePublisher<std_msgs::Bool> > RtBoolPublisherPtr;
65 RtBoolPublisherPtr realtime_bool_publisher_;
69 ros::Time last_publish_time_;
77 ros::NodeHandle &root_nh,
78 ros::NodeHandle& ctrl_nh);
80 virtual void starting(
const ros::Time& time);
81 virtual void update(
const ros::Time& time,
const ros::Duration& );
82 virtual void stopping(
const ros::Time& ){}
Definition: Ev3SensorInterface.h:35
Definition: ev3_touch_controller.h:51
Definition: Ev3SensorInterface.h:97