#include <device_impl.h>
Public Member Functions | |
DeviceThrottle (ros::NodeHandle node) | |
virtual float | last_request () |
virtual void | publish (float new_position, ros::Time cycle_time) |
virtual DeviceState | state (ros::Time recently) |
virtual float | value () |
Private Member Functions | |
void | process (const art_msgs::ThrottleState::ConstPtr &msgIn) |
Private Attributes | |
art_msgs::ThrottleCommand | cmd_ |
art_msgs::ThrottleState | msg_ |
Throttle servo interface class
Definition at line 295 of file device_impl.h.
device_interface::DeviceThrottle::DeviceThrottle | ( | ros::NodeHandle | node | ) | [inline] |
Definition at line 299 of file device_impl.h.
virtual float device_interface::DeviceThrottle::last_request | ( | ) | [inline, virtual] |
Implements device_interface::ServoDeviceBase.
Definition at line 310 of file device_impl.h.
void device_interface::DeviceThrottle::process | ( | const art_msgs::ThrottleState::ConstPtr & | msgIn | ) | [inline, private] |
Definition at line 337 of file device_impl.h.
virtual void device_interface::DeviceThrottle::publish | ( | float | new_position, |
ros::Time | cycle_time | ||
) | [inline, virtual] |
Publish servo request.
new_position | new position requested |
cycle_time | current pilot cycle time stamp |
Implements device_interface::ServoDeviceBase.
Definition at line 315 of file device_impl.h.
virtual DeviceState device_interface::DeviceThrottle::state | ( | ros::Time | recently | ) | [inline, virtual] |
Implements device_interface::DeviceBase.
Definition at line 322 of file device_impl.h.
virtual float device_interface::DeviceThrottle::value | ( | ) | [inline, virtual] |
Implements device_interface::ServoDeviceBase.
Definition at line 330 of file device_impl.h.
Definition at line 342 of file device_impl.h.
Definition at line 343 of file device_impl.h.