Commit Graph

26 Commits

Author SHA1 Message Date
Thomas Watson 9a497fe716 AP_KDECAN: standardize on 32 bit microsecond CAN timeouts
For consistency with other parts of the code. No compiler output change.
2024-10-11 09:51:43 +11:00
Andrew Tridgell 98697ba5d3 AP_KDECAN: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker 04feb98091 AP_KDECAN: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Tom Pittenger 7bde074791 AP_KDECAN: remove prearm and allow better mapping 2023-04-17 11:52:52 +10:00
Tom Pittenger de86102751 AP_KDECAN: don't handle ESCs changing their address 2023-04-17 11:52:52 +10:00
Tom Pittenger e21063522d AP_KDECAN: apply NFC suggestions from Peter Barker 2023-04-17 11:52:52 +10:00
Tom Pittenger c585b0286d AP_KDECAN: total re-write using CANSensor and remove Enum 2023-04-17 11:52:52 +10:00
Andrew Tridgell bb8ebeebe2 AP_KDECAN: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Siddharth Purohit 1a2c51d6df AP_KDECAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-24 09:02:42 +10:00
Dr.-Ing. Amilcar do Carmo Lucas f4409066bc AP_KDECAN: fix compilation when HAL_WITH_ESC_TELEM == 0 2021-06-09 21:42:51 +10:00
Tom Pittenger c833a71fff AP_KDECAN: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-09 18:36:18 +10:00
Andy Piper b63d19533d AP_KDECAN: support ESC telemetry
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
remove datastructures and semaphore obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
scale rpm correctly
2021-05-12 17:01:11 +10:00
Randy Mackay d2b8fce25a AP_KDECAN: map ESC id to servo channel and passthrough pwm
Co-authored-by: Siddharth Purohit <siddharthbharatpurohit@gmail.com>
2021-04-20 09:13:30 +10:00
Randy Mackay 6c93039d84 AP_KDECAN: slightly improve pre-arm check messages 2021-04-20 09:13:30 +10:00
Siddharth Purohit e1203a1d52 AP_KDECAN: move to using uavcan agnostic drivers 2020-08-19 17:31:09 +10:00
Peter Barker a6246a6afa AP_KDECAN: regularise CAN pre-arm failure messages
AP_Arming tacks on the sub-system bit.

Remove PiccoloCAN's silly nullptr check

Require the library to supply the failure message (no default message)

Remove default cases so authors know to think about places they should
add things.
2020-05-05 11:27:53 +10:00
Randy Mackay cddc9b622f AP_KDECAN: log motor temp as zero 2019-11-26 11:56:33 +11:00
Vlad-Andrei Dorobantu d7132928d1 Copter: corrected undefined data member causing linking error 2019-10-24 10:00:35 +11:00
Siddharth Purohit eff316dd6b AP_KDECAN: update prearm method to support snprintf methods 2019-10-19 09:55:38 +11:00
Michael du Breuil 3bc877bf62 AP_KDECAN: Fix includes 2019-04-05 20:12:53 +11:00
Tom Pittenger 7e2a944eb2 AP_KDECAN: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Randy Mackay d8959b3400 AP_KDECAN: use AP_Logger::Write_ESC 2019-02-18 20:55:47 +09:00
Tom Pittenger 98030c04b2 AP_KDECAN: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Siddharth Purohit dae9cbfad8 AP_KDECAN: add argument for CAN filter, unsupported 2019-01-23 15:57:05 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Francisco Ferreira 79bb3decfc
AP_KDECAN: new CAN protocol
This library adds support for the KDE ESC supporting CAN
2019-01-18 00:57:32 +00:00