ArduPilot / ArduPilot/ardupilot
ADSB Ping heartbeat is not consumed so misconfiguration cannot be detected
- 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
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