Peter Barker
a06a639d00
AP_Soaring: rename airspeed methods on AHRS to include EAS or TAS
...
mixing these up has caused confusion in the past.
"estimate" could also be confused as to mean "synthetic", when it will often come from a sensor.
2025-11-17 18:46:52 -06:00
Peter Barker
0a102427af
AP_Soaring: rename AHRS get_roll etc accessors to include _rad
2025-06-05 17:28:41 +10:00
Peter Barker
771696e7d5
AP_Soaring: remove use of AP_AHRS from most headers
...
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Andrew Tridgell
ed9180154a
AP_Soaring: change TRIM_ARSPD_CM to AIRSPEED_CRUISE
2024-01-23 15:00:30 +11:00
Peter Barker
7d798943fc
AP_Soaring: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Peter Barker
ba68d0fcbe
AP_Soaring: make AHRS attitude member variables private
2024-01-14 12:47:47 +11:00
Peter Barker
573604582e
AP_Soaring: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Pierre Kancir
52d9dc1471
AP_Soaring: make function const
2022-07-20 17:28:39 +10:00
Pierre Kancir
8b8ca504fc
AP_Soaring: make PolarParams const reference
2022-07-20 17:28:39 +10:00
murata
a1a46b54e9
AP_Soaring: Change from division to multiplication
2022-03-16 18:41:52 +11:00
Samuel Tabor
719aa4bc53
AP_Soaring: Add speed-to-fly calculation used if SOAR_CRSE_ARSPD<0.
2021-12-16 07:12:24 +11:00
Samuel Tabor
3ab9dda6f5
AP_Soaring: Store reference to glide polar params in variometer
2021-12-16 07:12:24 +11:00
Andrew Tridgell
ab89a94d22
AP_Soaring: mark logger Write() calls as streaming where appropriate
2021-08-18 10:20:03 +10:00
Samuel Tabor
326b65c7ad
AP_Soaring: Vario filter cleanup and convert in-line filters to LowPassFilter instances
2021-07-02 15:31:27 +10:00
Andrew Tridgell
fbbb4a1183
AP_Soaring: fixed filter constructor calls
...
fixes valgrind error from copy of filter objects on the stack
2021-06-08 11:14:52 +10:00
Samuel Tabor
9a7f80789f
AP_Soaring: Update vario tau calculation to use SOAR_THML_BANK.
2021-04-12 16:24:03 +10:00
Samuel Tabor
d578b4d3db
AP_Soaring: Fix incorrect use of aparm.loiter_radius.
2021-03-19 17:00:08 +11:00
Patrick José Pereira
705a885d82
AP_Soaring: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2021-02-03 18:45:14 +11:00
Peter Barker
64e300a00c
AP_Soaring: add documentation for VAR dataflash log message
2020-05-06 13:23:51 +10:00
Peter Barker
69093aa7b1
AP_Soaring: stop taking AHRS as constructor argument
...
... use singleton instead
2020-05-05 17:35:14 +10:00
Samuel Tabor
f23efdd13b
AP_Soaring: Make vario time constant public.
2020-04-08 09:11:54 +10:00
Samuel Tabor
1160c59a89
AP_Soaring: Remove dsp bias and log this.
2020-04-08 09:11:54 +10:00
Samuel Tabor
c28c573da1
AP_Soaring: Also log acceleration.
2020-04-08 09:11:54 +10:00
Samuel Tabor
7555f5abf8
AP_Soaring: Fix incorrect trig function and log the expected sink.
2020-04-08 09:11:54 +10:00
Samuel Tabor
17f1fa9600
AP_Soaring: Fix use of double precision sqrt.
2020-04-08 09:11:54 +10:00
Samuel Tabor
7d3ff28974
AP_Soaring: Correct bug with reversed arguments.
2020-04-08 09:11:54 +10:00
Samuel Tabor
16b7de4029
AP_Soaring: Cleanup variometer.
2020-04-08 09:11:54 +10:00
Samuel Tabor
62a34e0f8d
AP_Soaring: Calculate filter time constant based on airspeed and loiter radius, using 3x circline rate.
2020-04-08 09:11:54 +10:00
Samuel Tabor
fab74f8927
AP_Soaring: Calculate expected thermalling sink live and avoid divide by zero by limiting airspeed to that corresponding to CL max (generously assumed 1.5 for glider).
2020-04-08 09:11:54 +10:00
Samuel Tabor
936d4232c9
AP_Soaring: Add a 60s first order filter on climb rate. If this becomes negative exit thermalling.
2020-04-08 09:11:54 +10:00
Samuel Tabor
c135b00b7b
AP_Soaring: Remove redundant check for new vario data.
2020-04-08 09:11:54 +10:00
Samuel Tabor
64460be0d0
AP_Soaring: Implement vario based on acceleration rather than differentiated airspeed.
2020-04-08 09:11:54 +10:00
Peter Hall
850eee2f84
AP_Soaring: move to airspeed_estimate with pointer
2020-01-14 22:34:37 -07:00
Peter Barker
a5ff46950c
AP_Soaring: move include of logger to .cpp file
2019-07-09 10:57:20 +10: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
c93aea24c6
AP_Soaring: correct compiler warnings
...
In file included from ../../libraries/AP_Soaring/AP_Soaring.cpp:1:
../../libraries/AP_Soaring/AP_Soaring.h:32:34: warning: private field
'_aparm' is not used [-Wunused-private-field]
const AP_Vehicle::FixedWing &_aparm;
2018-03-02 09:26:37 +09:00
murata
8070c13963
AP_Soaring: delete \n from the log using gcs().send_text
2018-02-02 09:41:23 +09:00
Peter Barker
196f94aaae
AP_Soaring: eliminate GCS_MAVLINK::send_statustext_all
2017-07-11 23:53:53 +01:00
Andrew Tridgell
0e27d4bd6f
AP_Soaring: fixed Log_Write call
2017-06-07 20:10:20 +10:00
samuelctabor
f6b3c00b19
AP_Soaring: Fix initialisers in SoaringController. In-line method to get altitude in Variometer.
2017-06-07 20:10:11 +10:00
samuelctabor
4cbff71689
AP_Soaring: Separate the vario functionality into a seperate class from the soaring/thermalling functionality.
2017-06-07 20:10:03 +10:00