|
#include <RobotAPI/components/units/RobotUnit/BasicControllers.h>
Public Member Functions | |
float | calculateProportionalGain () const |
float | estimateTime () const |
bool | getCurrentlyPIDActive () const |
PositionThroughVelocityControllerWithAccelerationBounds () | |
float | run () const |
bool | validParameters () const |
Public Attributes | |
float | acceleration |
float | accuracy = 0.001 |
float | currentPosition |
float | currentV |
float | deceleration |
float | dt |
float | maxDt |
float | maxV |
float | pControlPosErrorLimit = 0.01 |
float | pControlVelLimit |
std::shared_ptr< PIDController > | pid |
float | targetPosition |
Definition at line 300 of file BasicControllers.h.
Definition at line 567 of file BasicControllers.cpp.
float calculateProportionalGain | ( | ) | const |
float estimateTime | ( | ) | const |
bool getCurrentlyPIDActive | ( | ) | const |
Definition at line 961 of file BasicControllers.cpp.
float run | ( | ) | const |
Definition at line 597 of file BasicControllers.cpp.
bool validParameters | ( | ) | const |
float acceleration |
Definition at line 306 of file BasicControllers.h.
float accuracy = 0.001 |
Definition at line 313 of file BasicControllers.h.
float currentPosition |
Definition at line 308 of file BasicControllers.h.
float currentV |
Definition at line 304 of file BasicControllers.h.
float deceleration |
Definition at line 307 of file BasicControllers.h.
float dt |
Definition at line 302 of file BasicControllers.h.
float maxDt |
Definition at line 303 of file BasicControllers.h.
float maxV |
Definition at line 305 of file BasicControllers.h.
float pControlPosErrorLimit = 0.01 |
Definition at line 310 of file BasicControllers.h.
float pControlVelLimit |
Definition at line 311 of file BasicControllers.h.
std::shared_ptr<PIDController> pid |
Definition at line 314 of file BasicControllers.h.
float targetPosition |
Definition at line 309 of file BasicControllers.h.