device_interface::DeviceThrottle Class Reference

#include <device_impl.h>

Inheritance diagram for device_interface::DeviceThrottle:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Throttle servo interface class

Definition at line 291 of file device_impl.h.


Constructor & Destructor Documentation

device_interface::DeviceThrottle::DeviceThrottle ( ros::NodeHandle  node  )  [inline]

Definition at line 295 of file device_impl.h.


Member Function Documentation

virtual float device_interface::DeviceThrottle::last_request (  )  [inline, virtual]

Implements device_interface::ServoDeviceBase.

Definition at line 306 of file device_impl.h.

void device_interface::DeviceThrottle::process ( const art_msgs::ThrottleState::ConstPtr &  msgIn  )  [inline, private]

Definition at line 333 of file device_impl.h.

virtual void device_interface::DeviceThrottle::publish ( float  new_position,
ros::Time  cycle_time 
) [inline, virtual]

Publish servo request.

Parameters:
new_position new position requested
cycle_time current pilot cycle time stamp

Implements device_interface::ServoDeviceBase.

Definition at line 311 of file device_impl.h.

virtual DeviceState device_interface::DeviceThrottle::state ( ros::Time  recently  )  [inline, virtual]

Implements device_interface::DeviceBase.

Definition at line 318 of file device_impl.h.

virtual float device_interface::DeviceThrottle::value (  )  [inline, virtual]

Implements device_interface::ServoDeviceBase.

Definition at line 326 of file device_impl.h.


Member Data Documentation

art_msgs::ThrottleCommand device_interface::DeviceThrottle::cmd_ [private]

Definition at line 338 of file device_impl.h.

art_msgs::ThrottleState device_interface::DeviceThrottle::msg_ [private]

Definition at line 339 of file device_impl.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines


art_pilot
Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Fri Jan 11 09:11:53 2013