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 27 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 38 of file accel.h.


Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 32 of file accel.h.

pilot::AccelBase::~AccelBase (  )  [virtual]

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:
pstate current pilot state
brake shared pointer to brake servo device interface
throttle shared 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] newconfig latest 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:
 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