Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 45670

sim_vehicle.sh:Build failed

$
0
0

@forscience1337kaju wrote:

Hey guys,

i downloaded the arducopter firmware, went through the tutorial and added a new flightmode (explained in tutorial on http://ardupilot.org/dev/docs/apmcopter-adding-a-new-flight-mode.html).
Now i wanted to test the SITL (im using a 64 bit linux) but when i want to run the sim_vehicle.sh there are multiple errors of the kind:
In file included from /home/matthias/ardupilot/libraries/AP_Math/AP_Math.h:16:0,
from /home/matthias/ardupilot/libraries/AP_Common/Location.h:11,
from Copter.h:33,
from control_rtl.cpp:3:
/home/matthias/ardupilot/libraries/AP_Math/quaternion.h: In member function 'bool Quaternion::is_nan() const':
/home/matthias/ardupilot/libraries/AP_Math/quaternion.h:56:24: error: 'isnan' was not declared in this scope
return isnan(q1) || isnan(q2) || isnan(q3) || isnan(q4);
^
compilation terminated due to -Wfatal-errors.

Can sbdy explain to me why this happens? :confused:

Best regards

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 45670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>