44 std::function<
void(
float)> setActuator);
68 float getRho(
float z);
88 float getExtension(
float surface);
135 std::function<void(
float)> setActuator;
138 uint32_t lastSelectedPointIndex = 0;
void begin()
This method chooses the trajectory the rocket will follow and starts the algorithm.
bool init() override
Initializes the Algorithm object, must be called as soon as the object is created.
void step() override
Looks for nearest point in the current chosen trajectory and moves the airbraks according to the curr...
AirBrakesPI(std::function< TimedTrajectoryPoint()> getCurrentPosition, const TrajectorySet &trajectorySet, const AirBrakesPIConfig &config, std::function< void(float)> setActuator)
Proportional and integral controller with saturation.
Trajectory point with timestamp and velocity module.
This file includes all the types the logdecoder script will decode.