delphyne
SpeedSystem< T > Class Template Referencefinal

Detailed Description

template<typename T>
class delphyne::SpeedSystem< T >

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>

Inheritance diagram for SpeedSystem< T >:
[legend]

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
 

Constructor & Destructor Documentation

◆ SpeedSystem()

Default constructor.

◆ ~SpeedSystem()

~SpeedSystem ( )
override

Member Function Documentation

◆ acceleration_output()

const drake::systems::OutputPort<T>& acceleration_output ( ) const

◆ CalcOutputAcceleration()

void CalcOutputAcceleration ( const drake::systems::Context< T > &  context,
drake::systems::BasicVector< T > *  output 
) const
protected

◆ command_input()

const drake::systems::InputPort<T>& command_input ( ) const

◆ feedback_input()

const drake::systems::InputPort<T>& feedback_input ( ) const

The documentation for this class was generated from the following file: