goodrobots / vision_landing

Precision landing using visual targets
GNU General Public License v3.0
200 stars 71 forks source link

Add Target ID support to AC_PrecLand #103

Open fnoop opened 6 years ago

fnoop commented 6 years ago

Add support for LANDING_TARGET.target_num field, which represents the ID of a target. This is useful to log which target a sensor is sending data for at any particular time, and could be interesting to add a parameter to AC_PrecLand for example to limit landing to a particular target ID.

fnoop commented 6 years ago

Note that LANDING_TARGET mavlink definition has target_num as a uint8_t. This might not cover all target ID in larger marker dictionaries.

fnoop commented 6 years ago

PR raised: https://github.com/ArduPilot/ardupilot/pull/9134