Commit Graph

87 Commits

Author SHA1 Message Date
Andrew Tridgell aa74615ce1 AP_CANManager: moved UART port locking up to AP_HAL 2023-07-12 17:06:02 +10:00
Peter Barker ce00251333 AP_CANManager: correct gate on definition of AP_CANManager class 2023-04-20 08:53:46 +10:00
Peter Barker fea2c8d923 AP_CANManager: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker b055b67a7f AP_CANManager: remove CANTester 2023-04-18 11:43:58 +10:00
Tom Pittenger 2bbd7d8d91 AP_CANManager: set _driver_type_cache for *all* ifaces 2023-04-17 11:52:52 +10:00
Tom Pittenger 5ca3aa6346 AP_CANManager: remove KDECAN from CANTester 2023-04-17 11:52:52 +10:00
Tom Pittenger eed3cf3255 AP_CANManager: promote KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Tom Pittenger 84b7444047 AP_CANSensor: add get_driver_type() accessor 2023-04-17 11:52:52 +10:00
Andrew Tridgell 44a0f502fe AP_CANManager: text messages and more defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 5b45a4060a AP_CANManager: cleanup more defines and classes 2023-04-11 10:31:31 +10:00
Andrew Tridgell 33df480f87 AP_CANManager: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell d59e881301 AP_CANManager: fixed MAVCAN fwding flag
this caused corruption due to multiple frames
2023-04-10 14:46:54 +10:00
Andrew Tridgell dbe91670a9 AP_CANManager: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +10:00
bugobliterator 44e897cf2d AP_CANManager: setup CANManager for DroneCAN Driver tests 2023-03-29 17:16:39 +11:00
bugobliterator 7e660c2e74 AP_CANManager: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11:00
Peter Barker 14089d4919 AP_CANManager: add and use a "bool read(c)" method to AP_HAL
this is much less likely to not work vs the int16_t equivalent
2023-03-22 17:59:11 +11:00
Peter Barker c1c8158687 AP_CANManager: add and use option to compile SLCAN support out of code 2023-03-15 19:08:09 +11:00
Andrew Tridgell 6bff28d5d5 AP_CANManager: check for alloc failure of ObjectBuffer 2023-01-08 15:11:32 +11:00
Andrew Tridgell 34bb5e10cd AP_CANManager: add an output buffer for MAVCAN
this fixes firmware update of peripheral nodes using MAVCAN
2022-11-30 20:06:13 +11:00
Peter Barker 23dd4f54df AP_CANManager: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Peter Barker 6cf2136691 AP_CANManager: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 823947fde3 AP_CANManager: remove unneccesary includes of AP_Vehicle_Type.h 2022-11-02 18:35:48 +11:00
Tom Pittenger d238a542ed AP_CANManager: allow SLCAN to be initialized without CANManager
Co-authored-by: bugoblitorater <siddharthbharatpurohit@gmail.com>
2022-10-11 11:26:40 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Andrew Tridgell 3f4c5e243e AP_CANManager: disable SLCAN when armed
this disables SLCAN if enabled using CAN_SLCAN_CPORT and
SERIALn_PROTOCOL=22 when we are armed, to reduce load on the CAN
thread from the very inefficient SLCAN processing
2022-09-29 20:40:21 +10:00
Andrew Tridgell 1b25babd8a AP_CANManager: added scripting2 protocol
allows for lua scripts to distinguish two CAN interfaces
2022-07-03 08:21:55 +10:00
Randy Mackay 533a16287e AP_CANManager: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
murata 1e485c20fc AP_CANManager: Console output can be disabled 2022-05-17 09:53:06 +10:00
Henry Wurzburg 6ba9946cfc AP_CANManager: correct parameter metadata error 2022-03-14 08:18:13 +11:00
bugobliterator 28b76474cd AP_CANManager: set canfd bitrates using CANFD_SUPPORTED opt
also adds option to set as 4MBits/s
2022-03-11 18:13:54 +11:00
Andrew Tridgell cf5d94b81f AP_CANManager: fixed slcan receive of CANFD frames 2022-03-11 18:13:54 +11:00
Andrew Tridgell 6320599404 AP_CANManager: support mavcan with CANFD_FRAME 2022-03-11 18:13:54 +11:00
bugobliterator c0188fbf0e AP_CANManager: disable CANTester by default 2022-03-11 18:13:54 +11:00
bugobliterator cb1bc4e613 AP_CANManager: add support for enabling CANFD 2022-03-11 18:13:54 +11:00
Siddharth Purohit 563e69e64c AP_CANManager: add support for trx CANFD frames over SLCAN 2022-03-11 18:13:54 +11:00
Siddharth Purohit 287151a858 AP_CANManager: add support for CANFD tests 2022-03-11 18:13:54 +11:00
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