Public Types | Public Member Functions | Private Attributes
pilot::AccelSpeed Class Reference

#include <accel_speed.h>

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

List of all members.

Public Types

typedef boost::shared_ptr
< device_interface::ServoDeviceBase
ServoPtr

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 accel_speed.cc.

Definition at line 54 of file accel_speed.cc.


Member Function Documentation

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

Adjust acceleration to match target.

Parameters:
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 accel_speed.cc.

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 accel_speed.cc.

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

Reset accel_speed controller.

reset corresponding speed controller

Implements pilot::AccelBase.

Definition at line 96 of file accel_speed.cc.


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:


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