Skip to content
Snippets Groups Projects
Commit 99746a2a authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[ABK] Removed mach control for Roccaraso

parent 591d7a3b
Branches
Tags
No related merge requests found
Pipeline #4242 passed
......@@ -63,11 +63,16 @@ bool AirBrakesController::start()
void AirBrakesController::update()
{
#ifndef ROCCARASO
auto currentPoint =
TimedTrajectoryPoint{NASController::getInstance().getNasState()};
#endif
if (!abk.isRunning() && status.state == AirBrakesControllerState::ACTIVE &&
currentPoint.getMac() < MACH_LIMIT)
if (!abk.isRunning() && status.state == AirBrakesControllerState::ACTIVE
#ifndef ROCCARASO
&& currentPoint.getMac() < MACH_LIMIT
#endif
)
abk.begin();
abk.update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment