$search
#include <accel_speed.h>
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< SpeedControl > | speed_ |
Pilot acceleration controller for older speed control classes
Definition at line 27 of file accel_speed.h.
typedef boost::shared_ptr<device_interface::ServoDeviceBase> pilot::AccelSpeed::ServoPtr |
Shared pointer to servo device instance.
Reimplemented from pilot::AccelBase.
Definition at line 34 of file accel_speed.h.
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.
void pilot::AccelSpeed::adjust | ( | art_msgs::PilotState & | pstate, | |
ServoPtr | brake, | |||
ServoPtr | throttle | |||
) | [virtual] |
Adjust acceleration to match target.
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.
boost::shared_ptr<SpeedControl> pilot::AccelSpeed::speed_ [private] |
Definition at line 53 of file accel_speed.h.