Commit Graph

22 Commits

Author SHA1 Message Date
Peter Barker 50401b749b AP_Follow: factor out separate methods for handling mavlink messages
handle_message was a bit of a monster
2024-06-11 16:20:20 +10:00
Peter Barker 89eade0836 AP_Follow: factor out a Log_Write_FOLL method 2024-06-11 16:20:20 +10:00
Peter Barker 6765838a3c AP_Follow: factor out a should_handle_message method 2024-06-11 16:20:20 +10:00
Shiv Tyagi 6251b3e3f3 AP_Follow: add and use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
Andy Piper f7f29650ba AP_Follow: remove unused variables 2023-07-13 11:02:40 +10:00
Asif Khan d367483155 AP_Follow: support for Mount following the lead vehicle in follow mode 2023-05-26 11:10:35 -07:00
Iampete1 0d32e6cbf3 AP_Follow: params always use set method 2022-08-03 13:43:48 +01:00
Andrew Tridgell ab64744ccd AP_Follow: added APIs for plane ship landing 2022-03-10 07:34:20 +11:00
Peter Barker 45c6591f03 AP_Follow: include cleanups 2022-03-01 11:21:33 +11:00
Randy Mackay e4336551cd AP_Follow: add clear_offsets_if_required method
this restores the offsets to zero if they were initialised from zero when the lead vehicle was first spotted
2019-10-07 08:30:45 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 8f5a22685a AP_Follow: NFC small renames and comment improvements 2019-03-01 09:15:24 +09:00
Peter Barker fc358092ed AP_Follow: remove header reliance on GCS and AHRS 2019-02-15 08:15:45 +11:00
Andrew Tridgell 42881ecf17 AP_Follow: correct timestamps on GLOBAL_POSITION_INT
this allows follow to cope better with timing jitter in the telemetry
link between vehicles
2018-12-31 09:56:04 +09:00
Randy Mackay 90a8f8b7e0 AP_Follow: add get bearing and distance accessors
used for reporting purposes
2018-12-13 09:30:19 +09:00
Randy Mackay a776c7114f AP_Follow: move enabled accessor to top of definition file 2018-12-13 09:30:19 +09:00
Randy Mackay 962d449352 AP_Follow: remove send-text to GCS 2018-12-13 09:30:19 +09:00
Andrew Tridgell 3d2634671f AP_Follow: fixed handling of FOLL_SYSID parameter
removed separate variable and use parameter only
2018-12-07 10:31:04 +09:00
Randy Mackay 9799567416 AP_Follow: fixup offset initialisation 2018-08-01 20:18:23 +09:00
Randy Mackay 465564ba99 AP_Follow: fix initialisation of offsets 2018-07-18 15:11:09 +09:00
hoangthien94 70a23724b5 AP_Follow: Add FOLL_ALT_SOURCE parameter, 0: absolute, 1: relative
AP_Follow: Fill _target_location.alt with packet.relative_alt when FOLL_ALT_SOURCE param is set to 1

AP_Follow: Change current_loc to have altitude above home if relative_alt flag is set

AP_Follow: Fill _target_location.alt with packet.relative_alt when FOLL_ALT_SOURCE param is set to 1

AP_Follow: Change current_loc to have altitude above home if relative_alt flag is set

AP_Follow: Fix things up before merging
- Rebase code on master
- Change all the commits to start with AP_Follow
- Change _ALT_SOURCE to _ALT_TYPE, bottom of param list, value to 10
- Minor formatting

AP_Follow: Tiny formatting issue
2018-06-09 11:01:35 +09:00
Peter Barker e33ce5eb48 AP_Follow: use ahrs singleton 2018-04-02 17:16:02 +01:00
Randy Mackay c1dbd67a9b AP_Follow: library to track and follow another vehicle 2018-03-05 15:08:08 +09:00