I’ve seen that few days ago EShamaevs big UAVCAN stuff got merged (finally, YEAH), so I’ve flashed AC3.6-dev of today, to play with it.
But I can’t figure out how to enable Uavcan. I’m using MP. In the InitialSetup->UAVCAN pane the Enable Uavcan field is deactivated, I can’t do anything with it. In the Full Parameter list the BRD parameters are cleared of any CAN related stuff. I do see the CAN parameters CAN_D1/2_PROTOCOL and CAN_P1/2_DRIVER, but have no idea what they do.
I would be most thankful if I could get some brief instructions.
I believe UAVCAN can only be enabled on v3 firmwares because those are the ones that run on the STM32 cpu’s that don’t have the 1MB CPU bug. Also these require a reboot after enabling to expose the parameters.
but just tested on a v4 firmware and also doesn’t come up. I’m reporting it.
You’ll have to check if the STM32 CPU is affected by the 1MB bug. That was the reason to create 2 images, v2 and v3, for the PixHawk style boards like the AUAV-X2. You can search here for a easy way to check which CPU you have.
PX is setup for physical port (CAN1, CAN2) and the number is the virtual driver that the port gets connected to.
DX is driver type (protocol), currently 0 - disabled, 1 - UAVCAN.
So for most users it will be: P1, P2 = 1, D1 = 1, D2 = 0