Commit Graph
15 Commits
Author SHA1 Message Date
Alessandro Simovic 905510d80a finished the wip. Basic precland working 2023-03-31 15:02:46 +02:00
Alessandro Simovic 4435a57e68 wip 2023-03-29 16:14:33 +02:00
Alessandro Simovic 370af7c30f unify acceptance radius check 2023-03-29 13:32:54 +02:00
Alessandro Simovic 1f77a69516 formatting 2023-03-29 13:32:54 +02:00
Alessandro Simovic b6ee51e6a3 update copyright year 2023-03-29 13:32:54 +02:00
Alessandro Simovic 76478f37e8 rename switch function
The current name is confusing as it suggest an action,
which is switching to a new state. In reality these
functions first perform a check and then possibly
reject the state switch.
2023-03-29 13:32:54 +02:00
Alessandro Simovic 9487936ff5 rename variable 2023-03-29 13:32:54 +02:00
Alessandro Simovic ce0c5750a2 comment and renamed states 2023-03-29 13:32:54 +02:00
Alessandro Simovic 174eb56356 precland: fix fallback and slewrate init 2023-03-29 13:32:54 +02:00
Alessandro Simovic 995fabeb37 mission: publish sub flight mode for flightmode manager 2023-03-29 13:20:04 +02:00
Julian Oes e2524d8dd5 flight_modes: use precision landing when landing
This also enables precision landing in landing mode, not just during
RTL.

This required an additional fix during the horizontal approach. It seems
like the z setpoint is not set when landing, so we can't blindly use
that setpoint but rather need to keep the altitude.
2023-03-29 13:18:58 +02:00
Julian Oes 395a14a816 Revert "Make LandingTargetEstimator a lib and run on work_queue"
This reverts commit 37c2d242b159ccf55d6de999b268204fde2eed50.
2023-03-29 13:18:58 +02:00
Alessandro Simovic 136e2fee9b Make LandingTargetEstimator a lib and run on work_queue
Currently only precision landing is using the
LandingTargetEstimator and it is a waste to have it
running in the background all the time. With this change
the estimator is only started once the precision landing
flight task is activated, and stopped when the flight
task is deactivated.
2023-03-29 13:18:58 +02:00
Alessandro Simovic 4d30ccabac convert precland to flight task 2023-03-29 13:18:57 +02:00
Alessandro Simovic 0e53a8a915 moved precland from navigator to flighttasks
PrecisionLanding flight task is not being compiled yet. See next commit.
2023-03-29 13:18:56 +02:00