ArduPilot / ArduPilot/ardupilot

ADSB Ping heartbeat is not consumed so misconfiguration cannot be detected

Open
#4,633 8 comments 0 reactions 0 assignees View on GitHub
AllVehicles Enhancement Safety
Dominant language
C++
Stars
15.9k
Forks
21.4k
Avg merge
3d 17h
Merged PRs (30d)
119

Description

We do not consume any heartbeats from the uAvionix ADSB Ping sensor which means that we cannot detect a misconfiguration (i.e. incorrect baud rate). As it is, a misconfiguration will just appear as if there are no planes nearby.

We should consume the heartbeat and then if we are not receiving a heartbeat but the user has set the ADSB_ENABLE parameter to 1 we should report an sensor health in the SYS_STATUS message and trigger a pre-arm check.

Contributor guide

Open the contributing guide

Research direction

Start by locating the uAvionix ADSB Ping sensor integration and the handling for ADSB_ENABLE, then trace how SYS_STATUS and pre-arm checks report sensor health. Done means consuming the sensor heartbeat, detecting its absence when ADSB_ENABLE is 1, reporting the sensor health in SYS_STATUS, and triggering a pre-arm check.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.