Files
PX4-Autopilot/msg/PrecTakeoffStatus.msg
Jonas Perolini 10d4c80551 feat(navigator): precision takeoff with the vision target estimator (#28552)
* feat(navigator): precision takeoff with the vision target estimator

* fix(navigator): only remove the liftoff freeze when an actual target is detected

* feat(logger): log prec_takeoff_status as optional topic

* chore(vte): minor format

* fix(logger): move to topic behind CONFIG_MODULES_VISION_TARGET_ESTIMATOR

* fix(navigator): preserve corrected position on takeoff handoff

* docs(vte): rephrase VTE_AID_MASK

* rework(vte): clarify that home is used as the pad's abs position during prec takeoff

* fix(vte): clear cached relative mission position once task starts

* fix(takeoff): keep xy freez until TAKEOFF_STATE_FLIGHT

* feat(navigator): delay prec takeoff corrections by MIS_TKO_PREC_DLY

---------

Co-authored-by: jonas <jonas.perolini@rigi.tech>
2026-09-09 10:16:12 -06:00

16 lines
800 B
Plaintext

# Precision takeoff status.
#
# Published by: navigator (prec_takeoff.cpp).
# Subscribed by: vision_target_estimator, flight_mode_manager (FlightTaskAuto).
#
# ONGOING while a vertical takeoff setpoint is active and MIS_TKO_PREC is set. DONE is published when the
# takeoff altitude is reached, then STOPPED once the takeoff is no longer active. Published every Navigator cycle.
uint64 timestamp # [us] Time since system start
uint8 state # [@enum PREC_TAKEOFF_STATE] Current precision-takeoff state
bool setpoint_adjusted # True after a valid target adjusted the horizontal setpoint
uint8 PREC_TAKEOFF_STATE_STOPPED = 0 # Not active
uint8 PREC_TAKEOFF_STATE_ONGOING = 1 # Takeoff active; the estimator may still be acquiring the target
uint8 PREC_TAKEOFF_STATE_DONE = 2 # Takeoff altitude reached