Commit Graph

24 Commits

Author SHA1 Message Date
Peter Barker 527e621a57 AP_Baro: accumulate altitude drift in place of raw calc
currently we set drift based on current boot time.  If you want to introduce it at some stage in a flight the baro alt will suddenly jump based on how long you've been up.

Instead, accumulate a delta
2024-04-30 16:39:32 +10:00
bugobliterator 54df802d59 AP_Baro: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11:00
Andy Piper 5727cfacb9 AP_Baro: add static pressure position error correction in the Z-axis for fast copters at high lean 2022-12-14 19:19:58 +11:00
murata aabbda3978 AP_Baro: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Peter Barker 721ede206d AP_Baro: create and use HAL_SIM_BARO_ENABLED 2022-01-17 13:13:05 +11:00
Peter Barker e710969ebb AP_Baro: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
Josh Henderson 3c9547caff AP_Baro_SITL: use temp_board_offset and timeout 2021-08-24 09:55:01 +10:00
Andrew Tridgell 567de3047b AP_Baro: added modelling of baro wind effects in SITL 2020-12-11 15:21:41 +11:00
Andrew Tridgell e552fd7e5a AP_Baro: adjust for new baro params in SITL 2020-12-11 15:21:41 +11:00
Harshit Kumar Sankhla d7c569c085 AP_Baro: able to freeze baro using SITL parameter 2020-08-27 20:20:51 +10:00
Andrew Tridgell 978a7d2859 AP_Baro: added device IDs for barometers
this allows us to tell what barometers were detected in logs
2020-07-21 08:20:01 +09:00
Harshit Kumar Sankhla 27fc7dcf0a AP_Baro: get SITL to work with multiple baros
baro readings are independent of each other
and can be configured to behave differently
2020-07-08 16:25:31 +10:00
Andrew Tridgell e4e793b295 AP_Baro: use WITH_SEMAPHORE()
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell b2cc992e0c AP_Baro: convert to use WITH_SEMAPHORE() 2018-08-23 08:21:48 +10:00
Patrick José Pereira 4ae6bd2c7e AP_Baro: Use SITL singleton
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira b014b6c857 AP_Baro: Use SSL variables
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira f22f053c83 AP_Baro: Use C_TO_KELVIN
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-11 10:46:19 +10:00
Patrick José Pereira cc590ee587 AP_Baro: Add BARO_TYPE_WATER model to SITL when running for ArduSub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-10 16:05:58 -04:00
khancyr 2d0bce18a8 AP_Baro: rename all local variable with prefix
fix last missing spaces
2017-07-24 10:15:15 -07:00
khancyr 35ac86ff8d AP_Baro: fix some style and const correctness 2017-07-24 10:15:15 -07:00
khancyr 0e895f5c74 AP_Baro: fix instance shadowing 2017-07-24 10:15:15 -07:00
Miguel Arroyo 6cf9b870b5 AP_Baro: AP_Baro_SITL more accurately simulates real sensor backend. 2017-06-23 09:36:28 +10:00
Andrew Tridgell 99883ffc49 AP_Baro: added temperature sensitivity modelling in SITL 2017-05-03 20:12:04 +10:00
Andrew Tridgell ee4161fa62 AP_Baro: moved SITL baro to standard sensor backend model 2017-05-03 20:12:04 +10:00