A recent change in our use of uavcan as a submodule may cause your build of px4-v2 to fail. It did for me anyway and displayed this error:
fatal: Not a git repository: ../c:/Users/rmackay9/Documents/GitHub/rmackay9-ardupilot/.git/modules/modules/uavcan/modules/dsdl
Unable to find current revision in submodule path 'dsdl'
No amount of “git submodule init” or “git submodule update” calls would fix this but Michael De Breuil gave me the fix which is to delete this folder:
/ardupilot/modules/uavcan/modules/dsdl
Sadly I immediately faced another compiler failure related to the PX4Firmware submodules’s uavcan submodule (i.e. a nested submodule) which I have not yet overcome but I will post again when I do in case others are suffering from this as well:
c:/Users/rmackay9/Documents/GitHub/rmackay9-ardupilot/modules/PX4Firmware/src/modules/uavcan/uavcan_main.hpp:42:44: fatal error: uavcan/protocol/param/GetSet.hpp: No such file or directory
-Randy
--