22 #ifndef EV3_GYRO_CONTROLLER_H_
23 #define EV3_GYRO_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 <sensor_msgs/Imu.h>
33 #include <h4r_ev3_control/Ev3SensorInterface.h>
56 Ev3Strings::Ev3GyroMode mode_;
59 bool sensor_mode_needs_init_;
61 std::string frame_id_;
64 typedef boost::shared_ptr<
65 realtime_tools::RealtimePublisher<sensor_msgs::Imu> > RtImuPublisherPtr;
66 RtImuPublisherPtr realtime_imu_publisher_;
70 ros::Time last_publish_time_;
78 ros::NodeHandle &root_nh,
79 ros::NodeHandle& ctrl_nh);
81 virtual void starting(
const ros::Time& time);
82 virtual void update(
const ros::Time& time,
const ros::Duration& );
83 virtual void stopping(
const ros::Time& ){}
Definition: ev3_gyro_controller.h:51
Definition: Ev3SensorInterface.h:35
Definition: Ev3SensorInterface.h:97