Commit Graph

101 Commits

Author SHA1 Message Date
Andrew Tridgell 454879e638 AP_CANManager: include hal.h 2022-02-22 12:13:19 +11:00
Andrew Tridgell c94c9d8859 AP_CANManager: added CAN_FRAME filter handling 2022-02-19 18:24:56 +11:00
Andrew Tridgell 6e83633a12 AP_CANManager: moved CAN_FRAME timeout code to CANManager 2022-02-19 18:24:56 +11:00
Andrew Tridgell 0b95272f27 AP_CANManager: support mavcan message forwarding 2022-02-12 16:36:05 +11:00
Andrew Tridgell b6bf74b73d AP_CANManager: disable CAN filtering except on AP_Periph
this saves flash space and makes CAN forwarding for any bus without
reconfigure/reboot easy. CAN filtering is not useful in the main
flight controller firmware as we want to see nearly all packets
2022-02-12 16:36:05 +11:00
Peter Barker d028a6efc3 AP_CANManager: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
Shiv Tyagi d846a81055 AP_CANManager: remove MPPT_PacketDigital parameter description
We have removed the class AP_BattMonitor_MPPT_PacketDigital, we should also remove these from parameter descriptions and enums
2021-12-17 20:24:25 +09:00
Hwurzburg 71f8a1f25e AP_CANManager: change UAVCAN in metadata to DroneCAN 2021-12-15 09:53:21 +11:00
Andrew Tridgell 4f6da39bb7 AP_CANManager: support Benewake CAN 2021-11-30 09:49:20 +11:00
Andrew Tridgell c56bd323ee AP_CANManager: fixed CAN protocol docs to include USD1 2021-10-26 15:31:12 +11:00
Andy Piper f9c74f207b AP_CANManager: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Peter Barker 60759f9a83 AP_CANManager: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
bugobliterator f5ee2a3a50 AP_CANManager:replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
Gone4Dirt 40f8407c1d AP_CANManager: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Hwurzburg 00a1cbffde AP_CANManager: correct metadata for values 2021-08-24 10:52:33 +10:00
bugobliterator e29ddebe3c AP_CANManager: remove unused variable from SLCANIface code 2021-08-19 14:20:58 +10:00
Andrew Tridgell 7cdd18924e AP_CANManager: fixed printf format errors 2021-08-05 09:43:35 +10:00
Iampete1 bd36053abc AP_CANManager: support scripting CAN driver 2021-07-27 09:04:17 +10:00
bugobliterator 6e61867e7f AP_CANSensor: create a separate register driver method 2021-07-23 16:01:29 +10:00
bugobliterator 0b505c491c AP_CANManager: fix casting without ensuring alignment 2021-07-15 07:50:12 +10:00
Siddharth Purohit 603b302ffd AP_CANManager: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-24 09:02:42 +10:00
bugobliterator 63b8733aab AP_CANManager: add support for multiple protocols on AP_Periph using CANSensor 2021-06-09 18:36:18 +10:00
Tom Pittenger bdf0efbbe7 AP_CANManager: reorganize precompiler for HAL_ENABLE_LIBUAVCAN_DRIVERS and HAL_MAX_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10:00
murata cfaf9f9420 AP_CANManager: Delete unused methods 2021-05-23 09:09:20 +10:00
Siddharth Purohit 8ca6b3e3ee AP_CANManager: add testing and debugging README 2021-05-19 17:51:28 +10:00
Tom Pittenger c756138ede AP_CANManager: add MPPT PacketDigital driver 2021-04-28 19:22:53 -07:00
Tom Pittenger 5e2dbd93fc AP_CANManager: add write_frame() to AP_CANSensor class 2021-04-28 19:22:53 -07:00
Randy Mackay 83c18249a4 AP_CANManager: chane KDECAN enum from 2 to 8
This is to force users to realise that something has changed in the hopes they will read the 4.1 release notes
2021-04-20 09:13:30 +10:00
Siddharth Purohit d1dcfd91b5 AP_CANManager: do select before sending passthrough message 2021-03-30 08:05:00 +11:00
Siddharth Purohit cb118c6b73 AP_CANManager: improve robustness of slcan passthrough under high rate 2021-03-30 08:05:00 +11:00
Patrick José Pereira e9a299d96e AP_CANManager: Remove pointer check before delete
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-04 09:01:19 +11:00
Peter Barker 96981baadf AP_CanManager: use milliseconds for timeout
The use of PRIu64 was breaking people's builds
2021-01-12 10:38:54 +11:00
Andrew Tridgell 0c6b4a1045 AP_CANManager: use ExpandingString class 2021-01-05 10:52:00 +11:00
Andrew Tridgell 6ed4eca57f AP_CANManager: fixed use of CANSensor on multiple ports
we should not increment _num_drivers if we don't have a driver yet
2021-01-02 06:25:20 +11:00
Andrew Tridgell b7fa1a4b98 AP_CANManager: added USD1 CAN driver type 2021-01-01 17:29:54 +11:00
Andrew Tridgell db798ace05 AP_CANManager: added EFI_NWPMU 2021-01-01 17:29:54 +11:00
Andrew Tridgell 32c3a2feef AP_CANManager: added CANSensor class
this makes creation of custom CAN protocol handlers much easier
2021-01-01 17:29:54 +11:00
Andrew Tridgell b2885e3e32 AP_CANManager: exposed can log level 2020-12-01 11:14:50 +11:00
Siddharth Purohit 73dea6d29c AP_CANManager: return max number of drivers for get_num_drivers 2020-10-28 18:38:05 +11:00
bugobliterator 46827f0c91 AP_CANManager: redo filter configuration to make it work with STM32H7 2020-10-08 09:31:35 +11:00
Andrew Tridgell 27a85ef51c AP_CANManager: fixed build warning for stack size
dynamically allocate test objects instead of putting on the stack
2020-09-15 09:40:03 +10:00
Michael Oborne f235c620b2 AP_CANManager: Remove Param keyword identifier 2020-09-14 10:40:16 +10:00
Oliver Walters 21ffc0f663 AP_PiccoloCAN: Change #ifdef guard to prevent compiler error 2020-09-09 15:31:21 +10:00
Oliver Walters fc29e40463 AP_PicolloCAN: Load PiccoloCAN parameters from EEPROM 2020-09-09 15:31:21 +10:00
Oliver Walters a98babc02c AP_PiccoloCAN: Add user configurable operations to adjust Piccolo CAN ESC behaviour 2020-09-09 15:31:21 +10:00
bugobliterator 76ee7bec77 AP_CANManager: fix skipping driver init for disabled slcan iface 2020-09-06 07:16:01 +10:00
bugobliterator 27b1ce572e AP_CANManager: fix comms between SLCAN and second CAN Iface 2020-09-03 11:01:26 +10:00
Siddharth Purohit 8373862f39 AP_CANManager: constant slcan via serial manager protocol param 2020-08-28 09:13:23 +10:00
bugobliterator 4bd0e2f394 AP_CANManager: fix name for RX Queue size define 2020-08-24 06:48:56 +10:00
Siddharth Purohit 8a0d98967f AP_CANManager: panic if can manager is used before allocation 2020-08-20 07:44:53 +10:00
Siddharth Purohit 979b0b82d0 AP_CANManager: add CANManager library 2020-08-19 17:31:09 +10:00