device_interface::DeviceBrake Class Reference

#include <device_impl.h>

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

List of all members.

Public Member Functions

 DeviceBrake (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::BrakeState::ConstPtr &msgIn)

Private Attributes

art_msgs::BrakeCommand cmd_
art_msgs::BrakeState msg_

Detailed Description

Brake servo interface class

Definition at line 116 of file device_impl.h.


Constructor & Destructor Documentation

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

Definition at line 120 of file device_impl.h.


Member Function Documentation

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

Implements device_interface::ServoDeviceBase.

Definition at line 131 of file device_impl.h.

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

Definition at line 158 of file device_impl.h.

virtual void device_interface::DeviceBrake::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 136 of file device_impl.h.

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

Implements device_interface::DeviceBase.

Definition at line 143 of file device_impl.h.

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

Implements device_interface::ServoDeviceBase.

Definition at line 151 of file device_impl.h.


Member Data Documentation

art_msgs::BrakeCommand device_interface::DeviceBrake::cmd_ [private]

Definition at line 163 of file device_impl.h.

art_msgs::BrakeState device_interface::DeviceBrake::msg_ [private]

Definition at line 164 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