After typing “./waf copter -v” I get an error like the one below.
../../libraries/AP_DroneCAN/AP_DroneCAN.cpp: In member function ‘void AP_DroneCAN::handle_ESC_status(const CanardRxTransfer&, const uavcan_equipment_esc_Status&)’:
../../libraries/AP_DroneCAN/AP_DroneCAN.cpp:1453:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
compilation terminated due to -Wfatal-errors.
Waf: Leaving directory `/home/barankanat/ardupilot/build/sitl'
Build failed
-> task in 'objs/AP_DroneCAN' failed (exit status 1):
{task 140481417940888: cxx AP_DroneCAN.cpp -> AP_DroneCAN.cpp.0.o}
(run with -v to display more information)
Hi,
Did you clone the github repo using the --recurse-submodules tag ?
This is required to get the sub-modules that the main repo requires.
Also are you building the firmware for a specific board ? as no board tag is based so this will build the sitl firmware only.
Hope this helps.
Thank you for your answer. However, I heard that some programs do not work in the new version. My goal is to code drone movement in a 3D environment with python. Do these programs Ardupilot, Arducopter, SITL, Gazebo work on the current version of Ubuntu?