|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <ramp.hpp>
Public Member Functions | |
| Ramp (ValueUnit initialValue, double rampSpeed) | |
| mockable void | setTarget (ValueUnit target) |
| mockable ValueUnit | getTarget () const |
| mockable void | setSpeed (double speed) |
| mockable void | update () |
| mockable ValueUnit | getValue () const |
| mockable bool | isTargetReached () const |
Dimensional wrap for taproot ramp
|
inline |
Speed should be positive
|
inline |
|
inline |
|
inline |
|
inline |
How many units per time unit the ramp moves towards the target value
This should be positive`
This is a float to allow ramp to use primitive types
|
inline |
|
inline |