Thomas Watson
4ffffa7af7
AP_TemperatureSensor: optimize DroneCAN subscription process
...
* remove unnecessary nullptr check, these are always called from an
initialized AP_DroneCAN so if it's nullptr something has gone
horrifically wrong
* pass in driver index instead of repeatedly calling function to get it
* simplify error handling; knowing exactly which allocation failed is not
super helpful and one failing likely means subsequent ones will too,
as it can only fail due to being out of memory
2024-11-18 10:30:29 +11:00
Tom Pittenger
3ec92731d4
AP_Temperature: fix MCP9600 i2c address and TEMP9 index
2024-10-15 11:30:30 +11:00
Peter Barker
a8ce43426b
AP_TemperatureSensor: compile all of TemperatureSensor in on boards with >2048 flash
...
this includes SITL but should also include CubeRed etc
2024-10-11 09:52:03 +11:00
Peter Barker
44c1e9b896
AP_TemperatureSensor: allow AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED to be overridden
2024-09-22 20:34:33 +10:00
Peter Barker
fb5c337328
AP_TemperatureSensor: specify units (degC) in comment for get_temperature
2024-09-19 12:37:50 -05:00
Rahul
7d907e9798
AP_TemperatureSensor: new MLX90614 sensor backend driver conversion fix
2024-09-19 22:29:24 +10:00
Rahul
86b6102267
AP_TemperatureSensor: new MLX90614 sensor backend driver added
2024-09-18 19:10:01 +10:00
Peter Barker
b1ae1591fb
AP_TemperatureSensor: add AP_TEMPERATURE_SENSOR_BACKEND_DEFAULT_ENABLED
2024-08-20 09:34:21 +10:00
Iampete1
26c51a8002
AP_TemperatureSensor: add logging option to only log sensors with no source
2024-07-30 11:07:17 +10:00
rishabsingh3003
07b6c57173
AP_TemperatureSensor: Extend analog sensor backend to 5th order polynomial
2024-07-24 17:53:08 +10:00
Henry Wurzburg
4ed1b6b357
AP_Temperature:expand metadata for analog sensors
2024-07-01 14:01:19 +10:00
Andrew Tridgell
65822c01ed
AP_TemperatureSensor: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
c0deee23a3
AP_TemperatureSensor: correct compilation when GCS not available
...
This variable becomes unused
2024-02-16 12:52:04 -08:00
Iampete1
4bcbb13f79
AP_TemperatureSensor: add DroneCAN backend
2024-01-30 10:13:35 +11:00
Gone4Dirt
6e4ce35fca
AP_Temperature: Add DroneCAN source
2024-01-30 10:13:35 +11:00
Peter Barker
3ae9e36bd3
AP_TemperatureSensor: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Iampete1
e7ee287664
AP_TempratureSensor: add support for analog sensor with polynomial
2023-10-04 18:28:09 +11:00
Iampete1
53948b1070
AP_TemperatureSensor: support var pointer backend params
2023-10-04 18:28:09 +11:00
Henry Wurzburg
4a15d9cc1b
AP_TempertureSensor:clarify temp sourec for pitot tube
2023-09-19 10:15:45 -07:00
Leonard Hall
7390e6ecef
AP_TemperatureSensor: Add TSYS03 support
2023-09-06 23:00:30 +10:00
Tom Pittenger
41024b7f02
AP_TemperatureSensor: add Source Pitot_tube
2023-08-11 13:20:51 -07:00
Tom Pittenger
0d0ba0f656
AP_TemperatureSensor: add support for MCP9601
2023-08-09 15:49:30 +10:00
Peter Barker
5df6b835b0
AP_TemperatureSensor: create and use AP_BATTERY_ENABLED
...
simply as a way to get HAL_PERIPH_ENABLE_BATTERY out of the main code
2023-06-21 22:28:48 +10:00
Tom Pittenger
521b0f9d85
AP_Temperature: slow down temp driver thread and cleanup
2023-05-30 13:19:51 -07:00
Peter Barker
033c708b2a
AP_TemperatureSensor: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
...
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00
Henry Wurzburg
7db1048f91
AP_TemperatureSensor:correct TEMP sensor metadata
2023-01-24 11:16:51 +11:00
Tom Pittenger
773129bab4
AP_TemperatureSensor: add driver for MAX31865
2023-01-21 11:38:50 +11:00
Tom Pittenger
f8ee112e47
AP_TemperatureSensor: fix param count change when loading drivers
2022-12-20 15:19:14 -03:00
Peter Barker
59a70c6713
AP_TemperatureSensor: correct compilation when TSYS01 compiled out
2022-12-18 09:19:12 +11:00
Tom Pittenger
475fb67c2b
AP_TemperatureSensor: use AP_Enum<>, add sitl, add _config.h
2022-10-18 10:05:31 +11:00
Tom Pittenger
1205e26ace
AP_TemperatureSensor: add Dummy methods so that Sub can use this feature by default but everything else not
2022-10-18 10:05:31 +11:00
Tom Pittenger
e398579277
AP_TemperatureSensor: refactor for upcoming upgrades
2022-10-18 10:05:31 +11:00
Tom Pittenger
9ed192a371
AP_TemperatureSensor: add driver MCP9600
2022-10-18 10:05:31 +11:00
Tom Pittenger
c4f7470cbc
AP_TemperatureSensor: refactor for upcoming upgrades
2022-10-18 10:05:31 +11:00
Tom Pittenger
0ca53d5065
AP_TemperatureSensor: TSYS01 adapt to front/back end split
...
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Patrick José Pereira
6b2e4296db
AP_TemperatureSensor: 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
ecd21fbc4c
AP_TemperatureSensor: add support for simulated TSYS01 temperature sensor
2021-01-05 12:01:51 +11:00
Pierre Kancir
f1f784f81d
AP_TemperatureSensor: fix TSYS01 warning on SITL
2020-02-05 17:10:58 -05:00
Andrew Tridgell
7bc364a338
AP_TemperatureSensor: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
2020-01-19 20:19:30 +11:00
Willian Galvani
0c5753112a
AP_TemperatureSensor: Update TSYS01 for Pixhawk2
2019-09-27 13:08:26 -07:00
Peter Barker
11e00f34b2
AP_TemperatureSensor: remove pointless constructor
...
If you ever allocate on of these on the stack you're doing something
wrong
2018-05-17 15:37:14 +10:00
Peter Barker
7dd023744f
AP_TemperatureSensor: allow testing of temperature sending in SITL
2018-05-17 15:37:14 +10:00
Peter Barker
b1ef778215
AP_TemperatureSensor: use HAL_SEMAPHORE_BLOCK_FOREVER macro
2017-05-08 10:23:03 +09:00
Andrew Tridgell
db64da7856
AP_TemperatureSensor: rename macros to avoid conflicts
...
these macros were also defined in NuttX in clock.h
2017-05-06 15:21:14 +10:00
Jacob Walser
870183f26b
AP_TemperatureSensor: Use powf instead of pow
2017-02-22 11:25:18 -08:00
Jacob Walser
ca603e1517
AP_TemperatureSensor: Add AP_TemperatureSensor library and TSYS01 driver
2017-02-21 11:26:14 +11:00