Commit Graph

19 Commits

Author SHA1 Message Date
Andrew Tridgell 41cc776bd9 AP_LeakDetector: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Paul Blum b876dff441 AP_LeakDetector: add manual leak-pin selection 2022-11-12 20:38:35 -03:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Iampete1 5ea72bd371 AP_LeakDetector: check for valid analog pin 2021-10-06 18:42:51 +11:00
ES-Alexander e78fc9cd5b AP_LeakDetector: enable for Pixhawk4 2021-08-09 18:55:11 -04:00
Andrew Tridgell 6888ddc4cc AP_LeakDetector: replaced Pixhawk with more appropriate wording in docs 2021-07-22 07:48:12 +10:00
Willian Galvani 57c6f54a51 AP_LeakDetector: update leak pin for navigator r3 in metadata
follow-up to 397def7b9e
2021-07-21 17:04:27 +10:00
Jacob Walser 397def7b9e AP_LeakDetector: update leak pin for navigator r3 2021-04-07 15:08:18 -04:00
Patrick José Pereira 4f81aa82e2 AP_LeakDetector: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Andrew Tridgell c8aaceb6ac AP_LeakDetector: remove warning message on all non-sub builds
pointless pragma
2021-01-21 13:09:21 +11:00
Patrick José Pereira 175d55a0aa AP_LeakDetector: Add navigator support
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-12 09:53:03 -07:00
Patrick José Pereira 4c7af1d99f AP_LeakDetector: Add subtype check and warning message
Add warning if board does not support leak detector sensors

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-12 09:53:03 -07:00
Patrick José Pereira e4f8d47423 AP_LeakDetector: AP_LeakDetector_Digital: Improve status logic
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-05 16:39:03 +01:00
Patrick José Pereira 57373180d1 AP_LeakDetector: Remove not used LeakDetector_Type enum
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-01 16:31:13 +10:00
Willian Galvani b92473111c AP_LeakDetector: Mark Leak pins RebootRequired 2019-09-09 09:53:28 -07:00
Peter Barker 9dc4e17564 AP_LeakDetector: add missing override keywords 2019-05-15 21:05:20 +10:00
Andrew Tridgell 5f4680bf2c AP_LeakDetector: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Lucas De Marchi 6aaa00d915 AP_LeakDetector: add static create method 2017-09-26 03:01:21 +01:00
Jacob Walser 9c8fca02d9 AP_LeakDetector: New library and analog/digital sensor drivers 2017-02-21 11:26:14 +11:00