Peter Barker
88afef4cdc
AP_Follow: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Andrew Tridgell
de1e44c77e
AP_Follow: mark logger Write() calls as streaming where appropriate
2021-08-18 10:20:03 +10:00
Peter Barker
7d7a7d126c
AP_Follow: rename APMrover2 to Rover
2020-04-14 09:50:34 +09:00
Peter Barker
88d61b9d3c
AP_Follow: add FOLL log message documentation
2020-04-12 08:36:48 +10:00
Randy Mackay
53fb333f0c
AP_Follow: minor format fix to FOLL_ALT_TYPE param desc
2020-02-17 14:30:18 +09: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
Henry Wurzburg
9717548cb5
AP_Follow: hide params not used by Rover
2019-10-03 07:18:47 +09:00
Peter Barker
77985f509f
AP_Follow: correct parameter descriptions
2019-05-13 15:34:01 +10:00
Pierre Kancir
2adbfed70a
AP_Follow: use get_distance_NED
2019-04-09 20:59:48 +10:00
Michael du Breuil
4084cf4def
AP_Follow: Fix up includes
2019-04-05 20:12:53 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
8f5a22685a
AP_Follow: NFC small renames and comment improvements
2019-03-01 09:15:24 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
e7281aeddc
AP_Follow: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker
fc358092ed
AP_Follow: remove header reliance on GCS and AHRS
2019-02-15 08:15:45 +11:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
1c6b52c8de
AP_Follow: adjust for location flags being moved out of union
2019-01-16 11:45:29 +11:00
Andrew Tridgell
a097dd558b
AP_Follow: fixed m/s to cm/s conversion
2018-12-31 09:56:04 +09: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
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
hoangthien94
f4255712c1
AP_Follow: Initialize offsets based on offset type
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
Randy Mackay
0834e7ae9b
AP_Follow: update FOLL log column names
...
VelN is easier to understand than VelX
Also minor formatting fix
2018-07-18 15:11:09 +09:00
Randy Mackay
f53bfdbd38
AP_Follow: fix reporting to GCS
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