Commit Graph

110 Commits

Author SHA1 Message Date
Peter Barker 23ec192854 AP_Vehicle: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Andy Piper 9611baf148 AP_Vehicle: soft reboot iomcu on soft reboot 2023-08-15 06:53:48 +10:00
Andrew Tridgell 8ddaf17184 AP_Vehicle: update networking at 10Hz 2023-08-06 09:20:08 +10:00
Tom Pittenger 169a7b1c73 AP_Vehicle: add support for Networking 2023-08-06 09:20:08 +10:00
Iampete1 f5d6e167b5 AP_Vehicle: dynamic notch use min ratio for RPM tracking 2023-07-18 11:32:39 +10:00
Iampete1 df8aee1567 AP_Vehicle: Add FLTMODE_GCSBLOCK parameter and helper function 2023-06-28 12:56:25 +01:00
Peter Barker 5daa38ffba AP_Vehicle: initialise generator before init_ardupilot
each of the vehicles does a load-defaults-from-files.  Use that fact to ensure any generator backend parameter's defaults are loaded.
2023-06-27 09:54:29 +10:00
Peter Barker 77200da280 AP_Vehicle: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Andrew Tridgell 20cbd8dd0b AP_Vehicle: change no airspeed sensor message
it should be INFO not WARNING as not having an airspeed sensor isn't
an issue if it is disabled
2023-05-09 11:26:33 +10:00
arshPratap aa25461bbe AP_Vehicle: split off start() method in DDS
this allows for an DDS_ENABLED parameter
2023-05-03 15:22:42 +10:00
Tom Pittenger af2fc47b4d AP_Vehicle: move AP_KDECAN to AP_Vehicle
ssss
2023-04-17 11:52:52 +10:00
Ryan Friedman d361fec745 AP_Vehicle: Add DDS initialization and params to the vehicle if enabled
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Arsh Pratap <arshpratapofficial@gmail.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Russ Webber <russ@rw.id.au>
2023-03-22 09:22:36 +11:00
Tom Pittenger 468d773391 AP_Vehicle: move AP_NMEA_OUTPUT to a first class library 2023-02-07 21:12:07 +11:00
Peter Barker 8075d33ae5 AP_Vehicle: use minimize.inc for Tramp and SmartAudio
... and rename HAL_SMARTAUDIO_ENABLED
2023-01-24 11:03:27 +11:00
Peter Barker a81bce6da4 AP_Vehicle: add and use AP_VIDEOTX_ENABLED 2023-01-24 11:03:27 +11:00
Peter Barker c71c93e2b0 AP_Vehicle: make check_var_info void
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Andrew Tridgell f0bc31cdc3 AP_Vehicle: invalidate param count at end of vehicle startup 2023-01-04 21:50:24 +11:00
Andy Piper d29ccba3f7 AP_Vehicle: constrain FFT notch updates to obey reference frequency 2022-12-28 18:14:56 +11:00
Andy Piper 7acdaf2dd0 AP_Vehicle: add vehicle motor noise check 2022-12-28 18:14:56 +11:00
Peter Barker a623c93370 AP_Vehicle: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Yuri c474edc7b8 AP_Vehicle: enable HNTCH for Rover 2022-10-25 09:48:51 +09:00
Tom Pittenger 1254e18fa9 AP_Vehicle: add AP_TemperatureSensor
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Andrew Tridgell ac2701b1bf AP_Vehicle: removed num_dynamic_notches limit in dynamic harmonic
use INS_MAX_NOTCHES instead, allowing for more ESCs to be added by lua
scripts
2022-10-16 20:38:19 +11:00
Andrew Tridgell 1796cd5394 AP_Vehicle: check for motors being nullptr
this can happen with plane with Q_ENABLE=0
2022-10-06 21:28:55 +11:00
Andrew Tridgell 2faa0fd2f2 AP_Vehicle: implement 1M/2M warnings
encourage users to run the right firmware for their boards
2022-10-06 10:58:46 +11:00
Joshua Henderson 996089dc2a AP_Vehicle: EFI increase loop rate to 50Hz 2022-10-02 08:15:06 +11:00
Peter Barker 86df7e1bfc AP_Vehicle: add 0x to internal error statustext 2022-09-28 19:46:08 +10:00
yaapu e958c313a1 ArduPlane: fixed roll and pitch for OSD VTOL view 2022-09-27 10:04:10 +10:00
Andy Piper c86f113bf9 AP_Vehicle: make sure notches are not spurious disabled when not using throttle notch 2022-09-21 17:27:30 +10:00
Peter Barker 4758fabe0d AP_Vehicle: add and use AP_RPM_ENABLED
... and backend-specific equivalents
2022-09-20 09:28:27 +10:00
Andy Piper a560d1f2cc AP_Vehicle: update notch count. 2022-08-30 10:03:31 +10:00
Peter Barker e948f79db8 AP_Vehicle: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00
Andrew Tridgell f7e4b5c72d AP_Vehicle: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Joshua Henderson c52ae2edb4 AP_Vehicle: add OpenDroneID library 2022-08-09 14:37:08 +10:00
Andy Piper 2c22bca1a9 AP_Vehicle: make sure that if ESC telemetry is missing notch updates are not misordered 2022-08-09 11:13:11 +10:00
Iampete1 a9310c3d18 AP_Vehicle: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 9e86f4dc43 AP_Vehicle: add AC_Fence 2022-07-27 19:04:56 +10:00
Peter Barker 695891365e AP_Vehicle: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Andy Piper 58ea8d6b7b AP_Vehicle: wire-in tramp support 2022-07-13 18:22:34 +10:00
Iampete1 30fffb491c AP_Vehicle: add AIS 2022-07-12 09:39:54 +10:00
Andrew Tridgell 50740124fe AP_Vehicle: implement INS_HNTCH_FM_RAT
this allows for a throttle based harmonic notch min frequency ratio,
allowing for the notch to go below the configured frequency at low
throttle

This is important for quadplanes, but will also benefit multirotors
flying at lower throttle due to lower payload or when descending

This also disables the throttle based harmonic notch when motors are
in SHUT_DOWN state
2022-06-30 20:58:37 +10:00
Andrew Tridgell 42624bdbeb AP_Vehicle: added parameter table for ESC telemetry 2022-06-10 13:46:43 +10:00
Peter Barker 8402149572 AP_Vehicle: run prearm checks on all vehicles @1Hz, displaying @0.0333Hz 2022-05-18 12:25:26 +09:00
murata d2053d4449 AP_Vehicle: Console output can be disabled 2022-05-17 09:53:06 +10:00
Peter Barker d23ddc4116 AP_Vehicle: increase rate at which we can log ESC telem
Some ESCs can give us >10Hz logging; we already check the data has
changed before logging, so let's log at the higher rate if we can.
2022-05-10 19:43:49 +10:00
Andy Piper cc2acc35a6 AP_Vehicle: add task info for fast loop
move fast loop tasks into scheduler table
remove fast loop
2022-05-03 08:20:13 +09:00
Andrew Tridgell 301c56d30a AP_Vehicle: implement common harmonic notch update code 2022-04-19 09:39:03 +10:00
Andrew Tridgell a2fc4d909d AP_Vehicle: support two full harmonic notch filters 2022-04-19 09:39:03 +10:00
Peter Barker c829b109bf AP_Vehicle: 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 fe863b9567 AP_Vehicle: correct compilation with HAL_INS_ACCELCAL_ENABLED false 2022-03-22 10:39:44 +11:00