Public Member Functions | Protected Attributes
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

Constructor

Parameters:
nodehandle 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_positionnew position requested
cycle_timecurrent pilot cycle time stamp

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

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

Member Data Documentation

Definition at line 74 of file device_interface.h.


The documentation for this class was generated from the following file:


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