UAVCAN not working in compiled version

I am running into this issue whenever I flash any code compiled by myself into a board, even if I haven’t modified anything. Basically, UAVCAN doesn’t seem to be flashed into the board: the parameters don’t show in the Parameters menu, wq, uavcan doesn’t show when using nsh> top in Mavlink and uavcan status returns command not found.

I have tried compiling both main and release/1.16 with the same results. When I try all the previous tests with the standard 1.16.1 version that is flashed by QGroundControl by default, everything works and I can see UAVCAN parameters and I can see it in Mavlink working fine.

I had seen a post of a similar issue stating it must have been a hardware issue so I tried with a different unit (both of them are Cubepilot Cube Orange) with the same results. I’m compiling using make cubepilot_cubeorange_default.

The problem was that, when building through visual studio, cubepilot_cubeorange builds a test configuration. When building through cmd command it builds the default version and UAVCAN works fine.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.