libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::foundation::FeedforwardController Class Reference

Stateless calculator for the configured feedforward output. More...

#include <motor.hpp>

Collaboration diagram for libstp::foundation::FeedforwardController:
[legend]

Public Member Functions

 FeedforwardController (Feedforward ff={})
double calculate (double velocity, double acceleration=0.0) const

Public Attributes

Feedforward config

Detailed Description

Stateless calculator for the configured feedforward output.

Definition at line 81 of file motor.hpp.

Constructor & Destructor Documentation

◆ FeedforwardController()

libstp::foundation::FeedforwardController::FeedforwardController ( Feedforward ff = {})
inlineexplicit

Definition at line 86 of file motor.hpp.

Member Function Documentation

◆ calculate()

double libstp::foundation::FeedforwardController::calculate ( double velocity,
double acceleration = 0.0 ) const
inlinenodiscard

Definition at line 88 of file motor.hpp.

Member Data Documentation

◆ config

Feedforward libstp::foundation::FeedforwardController::config

Definition at line 84 of file motor.hpp.


The documentation for this class was generated from the following file:
  • /home/runner/work/raccoon-lib/raccoon-lib/modules/libstp-foundation/include/foundation/motor.hpp