|
Wolflib 0.1.0
PROS differential-drive motion, mapping, and Monte Carlo localization
|
#include <pid.hpp>
Public Member Functions | |
| PID (ControllerSettings settings={}) | |
| double | update (double error, double dtSeconds) |
| void | reset () |
| void | setSettings (ControllerSettings settings) |
| ControllerSettings | getSettings () const |
| double | getError () const |
| double | getIntegral () const |
| double | getDerivative () const |
|
explicit |
| double wolflib::PID::getDerivative | ( | ) | const |
| double wolflib::PID::getError | ( | ) | const |
| double wolflib::PID::getIntegral | ( | ) | const |
| ControllerSettings wolflib::PID::getSettings | ( | ) | const |
| void wolflib::PID::reset | ( | ) |
| void wolflib::PID::setSettings | ( | ControllerSettings | settings | ) |
| double wolflib::PID::update | ( | double | error, |
| double | dtSeconds | ||
| ) |