All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Member Functions | Protected Attributes
device_interface::ServoDeviceBase Class Reference

#include <device_interface.h>

Inheritance diagram for device_interface::ServoDeviceBase:
Inheritance graph

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


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.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines

Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Tue Sep 24 2013 10:44:02