All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Types | Public Member Functions | Private Attributes
pilot::AccelSpeed Class Reference

#include <accel_speed.h>

Inheritance diagram for pilot::AccelSpeed:
Inheritance graph

List of all members.

Public Types

typedef boost::shared_ptr
< device_interface::ServoDeviceBase

Public Member Functions

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

Private Attributes

boost::shared_ptr< SpeedControlspeed_

Detailed Description

Pilot acceleration controller for older speed control classes

Definition at line 27 of file accel_speed.h.

Member Typedef Documentation

Shared pointer to servo device instance.

Reimplemented from pilot::AccelBase.

Definition at line 34 of file accel_speed.h.

Constructor & Destructor Documentation

pilot::AccelSpeed::AccelSpeed ( art_pilot::PilotConfig &  config)

Definition at line 25 of file

Definition at line 54 of file

Member Function Documentation

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

Adjust acceleration to match target.

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

Implements pilot::AccelBase.

Definition at line 56 of file

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

Reconfigure controller parameters.

allocate appropriate speed control subclass for this configuration

Implements pilot::AccelBase.

Definition at line 89 of file

void pilot::AccelSpeed::reset ( void  ) [virtual]

Reset accel_speed controller.

reset corresponding speed controller

Implements pilot::AccelBase.

Definition at line 96 of file

Member Data Documentation

boost::shared_ptr<SpeedControl> pilot::AccelSpeed::speed_ [private]

Definition at line 53 of file accel_speed.h.

The documentation for this class was generated from the following files:
 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