Public Types | Public Member Functions
pilot::AccelBase Class Reference

#include <accel.h>

Inheritance diagram for pilot::AccelBase:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< device_interface::ServoDeviceBase
ServoPtr

Public Member Functions

 AccelBase (art_pilot::PilotConfig &config)
virtual void adjust (art_msgs::PilotState &pstate, ServoPtr brake, ServoPtr throttle)=0
virtual void reconfigure (art_pilot::PilotConfig &newconfig)=0
virtual void reset (void)=0
virtual ~AccelBase ()

Detailed Description

Pilot acceleration controller virtual base class

Definition at line 29 of file accel.h.


Member Typedef Documentation

Shared pointer to servo device instance.

Reimplemented in pilot::AccelExample, pilot::AccelPlan, and pilot::AccelSpeed.

Definition at line 44 of file accel.h.


Constructor & Destructor Documentation

pilot::AccelBase::AccelBase ( art_pilot::PilotConfig &  config) [inline]

Constructor.

Parameters:
[in,out]configpilot configuration parameters (may be modified if parameter values invalid)

Definition at line 38 of file accel.h.

Destructor (required for virtual base classes).

Definition at line 25 of file alloc_accel.cc.


Member Function Documentation

virtual void pilot::AccelBase::adjust ( art_msgs::PilotState pstate,
ServoPtr  brake,
ServoPtr  throttle 
) [pure virtual]

Adjust acceleration to match target.

Parameters:
pstatecurrent pilot state
brakeshared pointer to brake servo device interface
throttleshared pointer to throttle servo device interface

Implemented in pilot::AccelExample, pilot::AccelPlan, and pilot::AccelSpeed.

virtual void pilot::AccelBase::reconfigure ( art_pilot::PilotConfig &  newconfig) [pure virtual]

Reconfigure controller parameters.

Parameters:
[in,out]newconfiglatest pilot configuration parameters (may be modified if parameter values invalid)

Implemented in pilot::AccelExample, pilot::AccelPlan, and pilot::AccelSpeed.

virtual void pilot::AccelBase::reset ( void  ) [pure virtual]

Reset acceleration controller.

Implemented in pilot::AccelExample, pilot::AccelPlan, and pilot::AccelSpeed.


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


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