delphyne
|
The SpeedSystem implements a very simple speed controller, taking as an input the current frame velocity (from an InputPort) and the desired speed (from a second InputPort), and producing an acceleration on an OutputPort to reach that speed.
#include <src/systems/speed_system.h>
Public Member Functions | |
SpeedSystem () | |
Default constructor. More... | |
~SpeedSystem () override | |
const drake::systems::OutputPort< T > & | acceleration_output () const |
const drake::systems::InputPort< T > & | feedback_input () const |
const drake::systems::InputPort< T > & | command_input () const |
Protected Member Functions | |
void | CalcOutputAcceleration (const drake::systems::Context< T > &context, drake::systems::BasicVector< T > *output) const |
SpeedSystem | ( | ) |
Default constructor.
|
override |
const drake::systems::OutputPort<T>& acceleration_output | ( | ) | const |
|
protected |
const drake::systems::InputPort<T>& command_input | ( | ) | const |
const drake::systems::InputPort<T>& feedback_input | ( | ) | const |