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 23 of file accel_speed.cc.

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

Definition at line 52 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:
pstate current pilot state
brake shared pointer to brake servo device interface
throttle shared pointer to throttle servo device interface

Implements pilot::AccelBase.

Definition at line 54 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 87 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 94 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:
 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:54 2013