李孟晓
36ceb76cae
AP_UAVCAN: Add battery ID field
3 years ago
bugobliterator
2673cde52b
AP_UAVCAN: add dsdl for sending vehicle notify state
3 years ago
bugobliterator
e4c6c0ad17
AP_UAVCAN:add support for sending Vehicle Notify state
3 years ago
bugobliterator
fd369e8262
AP_UAVCAN: throw allocation error when failing to allocate
3 years ago
bugobliterator
b897f984a7
AP_UAVCAN: use config error instead of panic on allocation failure
3 years ago
Andrew Tridgell
63fcb804b3
AP_UAVCAN: added CAN_Dn_UC_OPTION parameter
...
this allows for 2 ways of controlling conflicts in the UAVCAN DNA
database. The first is to set CAN_Dn_UC_OPTION to 1, which resets the
DNA database, thus clearing any node conflicts.
The second is to set CAN_Dn_UC_OPTION to 2, which ignores node
conflicts in the DNA database
These options are useful for vehicles with UAVCAN smart batteries
where the node ID is fixed but the hwid changes and you want to do
battery swapping (possibly without rebooting)
3 years ago
Josh Henderson
b1028035bc
AP_UAVCAN: cleanup comments in BatteryInfoAux dsdl message
3 years ago
bugobliterator
e8c4b99a99
AP_UAVCAN: add support for setting parameters on CAN nodes
4 years ago
bugobliterator
ddc82f7619
AP_UAVCAN: add messages for doing MovingBaseline Heading over UAVCAN
4 years ago
Andrew Tridgell
cb462cac6e
AP_UAVCAN: fixed printf format errors
4 years ago
Siddharth Purohit
0217d1c3dc
AP_UAVCAN: add BatteryInfoAux dsdl message
4 years ago
Siddharth Purohit
9494a439ec
AP_UAVCAN: Use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
ff200e9d11
AP_UAVCAN: fix compilation when HAL_WITH_ESC_TELEM == 0
4 years ago
Tom Pittenger
c807035e02
AP_UAVCAN: use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS
4 years ago
Peter Barker
42b1a0998f
AP_UAVCAN: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
4 years ago
Andy Piper
f513b1d1c2
AP_UAVCAN: add esc telemetry updates
...
remove send_esc_telemetry_mavlink()
remove datastructures and semaphore obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
4 years ago
Michael du Breuil
e47857a278
AP_UAVCAN: Add ardupilot.gnss.Status
4 years ago
Patrick José Pereira
9904b397d8
AP_UAVCAN: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Michael du Breuil
05b9aa2fa2
AP_UAVCAN: Broadcast ArmingStatus regularly
4 years ago
Michael Oborne
5ef3e1bec3
UAVCAN: add dsdl for gps heading
4 years ago
Andy Piper
40090dcce9
AP_UAVCAN: compile fix for debug/assertions
4 years ago
Andrew Tridgell
a4517032c5
AP_UAVCAN: log all UAVCAN devices in CAND log message
4 years ago
Andrew Tridgell
88b5523d47
AP_UAVCAN: added logging of UAVCAN LogMessage messages
...
this allows us to log internal errors from nodes into main flight
controller log
4 years ago
Andrew Tridgell
77687a9639
AP_UAVCAN: fixed build with no GCS
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
bugobliterator
49915ed06f
AP_UAVCAN: save some stack space
4 years ago
Siddharth Purohit
d8852615ed
AP_UAVCAN: disable UAVCAN library when libuavcan drivers are disabled
4 years ago
Andy Piper
940d708438
AP_UAVCAN: conditionally compile in ADSB support
4 years ago
Tom Pittenger
b502582d14
AP_UAVCAN: replace old hardcoded value with new mavlink enum
4 years ago
Andrew Tridgell
6803408453
AP_UAVCAN: fixed string warnings
4 years ago
bugobliterator
fbc0b9e599
AP_UAVCAN: silence function cast warning/error for Registry template
4 years ago
Siddharth Purohit
c8c913e203
AP_UAVCAN: fix UAVCAN sniffer example
5 years ago
Siddharth Purohit
23d9be3499
AP_UAVCAN: disable build for UAVCAN test
5 years ago
Siddharth Purohit
e473eed368
AP_UAVCAN: ignore first alloc messages while waiting for followup
5 years ago
Siddharth Purohit
07b4708a36
AP_UAVCAN: move all uavcan related methods to AP_UAVCAN
5 years ago
elhayra
fe7e243b01
AP_UAVCAN: sending UAVCAN MAVlink ESC messages
5 years ago
Peter Barker
2ace0f0a1f
AP_UAVCAN: handle pop from rx_queue failing
5 years ago
Peter Barker
90038339dc
AP_UAVCAN: use new UARTDriver discard_input method
5 years ago
Peter Barker
f1f30a2fee
AP_UAVCAN: 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.
5 years ago
Andrew Tridgell
82d77fe014
AP_UAVCAN: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
ceb8082d84
AP_UAVCAN: protect UAVCAN DNA server with semaphore
5 years ago
Andrew Tridgell
a2d40d040a
AP_UAVCAN: added logging of CAN ESC status
5 years ago
Andrew Tridgell
b4966f21d8
AP_UAVCAN: added logging of UAVCAN actuator::Status messages
...
this allows for logging of CAN servo status
5 years ago
Andrew Tridgell
b98d5834b4
AP_UAVCAN: fixed build on Linux
5 years ago
Siddharth Purohit
3278ac2e63
AP_UAVCAN: remove unnecessary scary message UC Node Down
5 years ago
Andrew Tridgell
4dd1ec37f1
AP_UAVCAN: support RTCMStream for RTCM injection
5 years ago
Andrew Tridgell
7df87b5a8b
AP_UAVCAN: fix for renamed AP_HAL::CAN
5 years ago
Peter Barker
4ddfe2715b
AP_UAVCAN: adjust for rename of AP_UAVCAN_Server to AP_UAVCAN_DNA_Server
5 years ago
Peter Barker
8084e5c264
AP_UAVCAN: rename AP_UAVCAN_Server to AP_UAVCAN_DNA_Server
5 years ago
Siddharth Purohit
9bd379e236
AP_UAVCAN: setup uavcan server with internal storage
5 years ago
Andrew Tridgell
16bc7f800e
AP_UAVCAN: support ADSB over UAVCAN
5 years ago