device_interface::ServoDeviceBase Class Reference

#include <device_interface.h>

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

List of all members.

Public Member Functions

virtual float last_request ()=0
virtual void publish (float new_position, ros::Time cycle_time)=0
 ServoDeviceBase (ros::NodeHandle node)
virtual float value ()=0

Protected Attributes

ros::Publisher pub_

Detailed Description

Servo device virtual derived class

Definition at line 51 of file device_interface.h.


Constructor & Destructor Documentation

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

Constructor

Parameters:
node handle for state and command topics

Definition at line 59 of file device_interface.h.


Member Function Documentation

virtual float device_interface::ServoDeviceBase::last_request (  )  [pure virtual]
virtual void device_interface::ServoDeviceBase::publish ( float  new_position,
ros::Time  cycle_time 
) [pure virtual]

Publish servo request.

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

Implemented in device_interface::DeviceBrake, device_interface::DeviceSteering, and device_interface::DeviceThrottle.

virtual float device_interface::ServoDeviceBase::value (  )  [pure virtual]

Member Data Documentation

ros::Publisher device_interface::ServoDeviceBase::pub_ [protected]

Definition at line 74 of file device_interface.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