Commit Graph

24 Commits

Author SHA1 Message Date
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