Commit Graph

48 Commits

Author SHA1 Message Date
bugobliterator 1c2a464be0 AP_EFI: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11:00
Peter Barker 1cd3e7327d AP_EFI: add defines for Lutan and MegaSquirt 2023-03-21 09:01:13 +11:00
Peter Barker 593983df7a AP_EFI: tidy AP_EFI defines 2023-03-21 09:01:13 +11:00
Peter Barker 3bc42b888f AP_EFI: use uint16_t to store offset
prevents infinite loop if there are exactly 255 bytes ready to read
2023-03-15 13:34:17 -07:00
Peter Barker 3eb9515aaf AP_EF: correct builds when AP_EFI_ENABLED is false
dronecan backend was not checking for HAL_EFI_ENABLED
2023-03-14 12:09:26 +11:00
Bob Long 3616b41afc AP_EFI: use is_zero for fuel pressure
This is clearer than pragma shenanigans, and makes this consistent with
the the newly-added ignition_voltage handling above.
2023-03-07 20:35:13 +09:00
Bob Long 8c335be045 AP_EFI: added fuel pressure 2023-03-07 20:35:13 +09:00
Peter Barker 9b8a61c048 AP_EFI: correct EFI ignition_voltage flag values 2023-02-07 10:40:50 +11:00
Peter Barker ff0d1659d2 AP_EFI: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Andrew Tridgell 78c7bcf132 AP_EFI: fixed units of exhaust gas temperature 2022-10-25 11:44:45 +11:00
Andrew Tridgell fed4909dd1 AP_EFI: convert to using ap_object approach 2022-10-02 08:15:06 +11:00
Andrew Tridgell 698c25a060 AP_EFI: added more fields
fill in 3 remaining fields available in MAVLink
2022-10-02 08:15:06 +11:00
Andrew Tridgell fd52ff923d AP_EFI: removed array from cylinder_status
this array was never used and just makes doing drivers harder. Removed
to reduce complexity
2022-10-02 08:15:06 +11:00
Joshua Henderson f74ad276a9 AP_EFI: add EFI scripting driver 2022-10-02 08:15:06 +11:00
Peter Barker 62c0038771 AP_EFI: correct compilation for header changes 2022-09-27 09:26:45 +10:00
Reilly Callaway 1cff0125ae AP_EFI: Add Currawong ECU packet decoding 2022-09-20 15:24:48 +10:00
Reilly Callaway 21ac8d801c AP_EFI: Add ECU density parameter for Currawong fuel flow calculations 2022-09-20 15:24:48 +10:00
Reilly Callaway ad808cb25b AP_EFI: Add Currawong ECU to known types 2022-09-20 15:24:48 +10:00
Reilly Callaway 9a71da2742 AP_EFI: Add currawong ECU EFI backend 2022-09-20 15:24:48 +10:00
Peter Barker ed38aadc72 AP_EFI: add and use AP_EFI_config.h 2022-09-20 09:28:27 +10:00
Andrew Tridgell 4585c9fdc1 AP_EFI: prevent flood of Lutan serial port
send request at max 5Hz
2022-08-03 08:27:12 +10:00
Andrew Tridgell d85fe81537 AP_EFI: fixed bug in Lutan driver
we need to send an initial request pkt if no data from Lutan
2022-06-09 21:10:37 +10:00
Andrew Tridgell 9ddd1afb34 AP_EFI: added DroneCAN EFI driver 2022-06-09 21:10:37 +10:00
Andrew Tridgell 0fad35112f AP_EFI: allow EFI to be used in AP_Periph 2022-06-09 21:10:37 +10:00
Peter Barker ea7f71a1a7 AP_EFI: emit ignition voltage as unknown in EFI_STATUS 2022-06-08 08:15:15 +09:00
Andrew Tridgell 234abece59 AP_EFI: added fuel usage integration for Lutan EFI
allows for EFI_COEF1 and EFI_COEF2 to be set to get fuel consumption
on GCS
2022-05-17 10:35:24 +10:00
Peter Barker 6fa9fd1768 AP_EFI: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker f9b33317b6 AP_EFI: include cleanups 2022-03-01 11:21:33 +11:00
Peter Barker 90107c3977 AP_EFI: reserve ID for Loweheiser mavlink-connected generator 2022-01-25 09:44:41 +11:00
Andrew Tridgell 48abb57a8a AP_EFI: added support for Lutan EFI system 2022-01-17 15:16:24 +11:00
Andrew Tridgell 5cb0d5c188 AP_EFI: use degF_to_Kelvin for megasquirt 2022-01-17 15:16:24 +11:00
VMsunghwan 599650554c AP_EFI : Update Calculation
calcualtion -> calculation
2022-01-17 11:25:56 +09:00
Peter Barker 19ff65a4ad AP_EFI: make C_TO_KELVIN a function macro; create KELVIN_TO_C 2022-01-13 18:31:46 +11:00
Peter Barker c86ebc7ffb AP_EFI: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
TunaLobster c0d484570c AP_EFI: Remove @RebootRequired: False 2021-08-19 10:00:16 +10:00
Andrew Tridgell 87ae238ea0 AP_EFI: mark logger Write() calls as streaming where appropriate 2021-08-18 10:20:03 +10:00
bugobliterator 59242739c7 AP_EFI: use separate register_driver method while contructing CAN Driver 2021-07-23 16:01:29 +10:00
bugobliterator 0e7571c733 AP_EFI: fix casting without ensuring alignment 2021-07-15 07:50:12 +10:00
Andrew Tridgell cc6d799e7a AP_EFI: change to use HAL_EFI_ENABLED 2021-06-09 18:07:00 +10:00
Peter Barker e5fba1c8cc AP_EFI: disable AP_EFI on MatekF405-Wing and omnibusf4pro 2021-06-08 14:08:34 +10:00
Peter Barker 7ea5bc7e3e AP_EFI: use enum class for protocol 2021-03-30 21:40:35 +11:00
Michael du Breuil 15fd8480f8 AP_EFI: Correct a bad conversion from Kelvin to Celsius
(was off by 0.15 degrees)
2021-01-20 11:10:25 +11:00
Michael du Breuil 60af6633cf AP_EFI: Add NWPMU CAN driver 2021-01-01 17:29:54 +11:00
Peter Barker 71f6262294 AP_EFI: use new UARTDriver discard_input method 2020-05-26 09:20:32 +10:00
Peter Barker 194d3c280f AP_EFI: add EFI log message documentation 2020-04-12 08:36:48 +10:00
Peter Barker 5e4cbb0a3f AP_EFI: correct duplicate-label problem in EFI2 log message 2020-04-08 11:17:41 +10:00
Andrew Tridgell 0a9a1c5314 AP_EFI: fix for updated mavlink extensions 2020-01-29 08:16:59 +11:00
Sriram Sami f8cf388236 AP_EFI: Add AP_EFI Library 2019-11-17 20:10:54 +11:00