Peter Barker
58be3d4296
Tracker: release notes 4.2.0beta -> 4.5.0beta
2024-02-23 17:28:02 +11:00
Peter Barker
7b20e4ba42
Tracker: correct altitude pressure offset calculation
...
the value nav_status.altitude_offset is expected to be a correction for differences between the barometers. The user calibrates this value with a MAV_CMD_PREFLIGHT_CALIBRATION call.
Without this patch we were passing in the raw barometric pressure values for the tracker and the tracked vehicle. It seems get_altitude_difference is expecting a sea-level pressure as its first argument now, as it subtracts the field elevation from the pressure-difference altitude calculations.
Change our call to provide a sea-level-adjusted value
2024-02-03 11:02:11 +11:00
Peter Barker
cc8a9d1b4e
Tracker: log the navigation alt offset
...
useful diagnostic, set just once
2024-02-03 11:02:08 +11:00
Peter Barker
c7f7ec3312
AntennaTracker: use virtual method for GCS_MAVLink::handle_message
...
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
Peter Barker
dae819ba54
Tracker: correct compilation when HAL_LOGGING_ENABLED is false
2024-01-17 18:25:55 +11:00
Peter Barker
77afdf1539
Tracker: stream BATTERY_STATUS by default
...
... if a user has set up a monitor they almost certainly want this
2024-01-07 13:04:03 -08:00
Thomas Watson
a82d051140
Tracker: remove references to legacy UART order
2023-12-19 06:53:15 +11:00
Randy Mackay
befd601341
Tracker: SYSID_MYGCS param increment
2023-11-28 07:54:45 +09:00
Andy Piper
4c1c01f571
Tracker: update for new AC_PID settings
2023-11-21 13:26:23 +11:00
Andy Piper
25b66ef6ca
Tracker: add documentation for PID notches and D feed-foward
...
update PID notch centers at 1Hz with average loop rate
2023-11-21 13:26:23 +11:00
Peter Barker
261bc4f884
AntennaTracker: stop streaming trying SIM_STATE messages outside sim
2023-11-20 19:25:25 +11:00
Peter Barker
962584811d
AntennaTracker: tidy sending of queued mcu status messages
2023-11-20 19:25:25 +11:00
Peter Barker
17459b30de
AntennaTracker: tidy use of GPS mavlink defines
2023-10-27 14:16:47 +11:00
Mykhailo Kuznietsov
f659b7bfee
AntennaTracker: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker
414c7e0b52
Tracker: enable EK2 and EK3 parameters
2023-10-04 23:51:52 +11:00
Peter Barker
c22f60a8eb
AntennaTracker: remove COMPASS_CAL messages from streamrates if tumble cal disabled
...
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00
Leonard Hall
d2549ecc68
AntennaTracker: Support PD Max
2023-09-26 10:41:05 +10:00
Peter Barker
22141a8bc6
Tracker: handle SET_SERVO and MISSION_START as command_int+command_long
2023-08-30 12:22:15 +10:00
Peter Barker
915be41cb5
AntennaTracker: pass mavlink_message_t to handle_command_*_packet
...
the "special case" blocks are getting longer and longer. Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker
db217d47fa
AntennaTracker: add infrastructure to handle command longs as command ints
2023-07-12 18:51:07 +10:00
Andrew Tridgell
828d4ac70c
AntennaTracker: removed set_blocking_writes_all calls
2023-07-12 17:06:02 +10:00
bugobliterator
b36cac5d36
AntennaTracker: move sysid_my_gcs to be public
2023-06-17 14:49:22 +10:00
Peter Barker
fc7cbbbfc3
AntennaTracker: move call of notify.update up to AP_Vehicle
2023-05-17 18:41:15 +10:00
Randy Mackay
522508274c
Tracker: version to 4.5.0-dev
2023-04-26 17:45:52 +10:00
Peter Barker
6674f0ea5f
Tracker: remove annoying 'Command received' message
...
Doesn't add anything of value
2023-04-17 09:44:05 +10:00
bugobliterator
0b5256468d
AntennaTracker: change INS_ to INS
2023-03-21 10:04:16 +11:00
Tom Pittenger
20a6734462
Tracker: remove wrong comments
2023-03-03 08:34:17 +09:00
Peter Barker
2f15b79619
AntennaTracker: add support for mavlink in-progress message
2023-02-21 17:07:41 +11:00
Peter Barker
627b9b3034
Tracker: correct compilation when AP_AdvancedFailsafe is disabled
2023-02-20 13:46:50 +11:00
Peter Barker
c49c638d41
AntennaTracker: avoid using struct Location
...
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Iampete1
1ea8a0c1a0
AntennaTracker: use shared param info defines
2023-01-11 18:41:34 +11:00
Peter Barker
6aee69bbda
AntennaTracker: code-generate chan-fetching methods
...
A recent PR had to change every single one of these methods, which was kind of unfortunate.
So generate the methods using a #define so the duplication happens at preprocessor-time.
2022-12-15 08:31:54 +11:00
Leonard Hall
2500e1ebe5
AntennaTracker: Support changing update period
2022-12-13 17:10:06 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Michael du Breuil
9053e81140
Tracker: Don't send HWSTATUS by default
2022-09-13 14:27:06 +10:00
Peter Barker
1dafc68469
AntennaTracker: move call to compass cal update up to AP_Vehicle
2022-08-16 10:06:44 +10:00
Iampete1
16455b23a4
AntennaTracker: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
34a5a357a7
Tracker: set defualt format version
2022-07-20 17:59:59 +10:00
Peter Barker
0793814f5a
Tracker: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
e3b467bebb
AntennaTracker: adjust for when LTM telemetry is disabled
2022-06-28 20:19:41 +10:00
Peter Barker
5fc4c9dc5c
Tracker: let AHRS update orientation in its own time
2022-06-12 17:32:11 +10:00
Peter Barker
deceb1d49a
Tracker: update version.h for 4.3
2022-05-26 20:43:44 +10:00
Peter Barker
bcaad1f622
Tracker: release notes for Tracker-4.2 beta1
2022-05-26 20:43:44 +10:00
Peter Barker
c75d90db25
AntennaTracker: tidy includes
2022-05-03 09:14:58 +10:00
Peter Barker
9d7cbf86f5
AntennaTracker: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker
cfd9bfd541
AntennaTracker: split AP_HAL_SITL and HAL_SIM_ENABLED
2022-03-17 14:39:55 +11:00
Peter Barker
7d23d37630
Tracker: fix sim_vehicle.py with --tracker option
2022-03-16 18:05:49 +11:00
murata
d9ef916a82
Tracker: Change the process for errors
2022-03-08 14:36:19 -08:00
Peter Barker
75045057b7
AntennaTracker: add RebootRequred to stream rate parameters
2022-03-01 11:01:12 +11:00
Peter Barker
65ed077a4e
AntennaTracker: provide default implemenation of handle_change_alt_request
...
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.
This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00