SITL中的起飞飞机:校准失败

时间:2015-06-14 14:32:24

标签: dronekit

我正在用DroneKit测试SITL,我似乎无法让飞机起飞。当我arm throttle时,控制台说:

  

APM:PreArm:需要3D加速度

我试图运行accelcal,它要求我像这样校准飞机:

APM: Place vehicle level and press any key.
APM: Place vehicle on its LEFT side and press any key.
APM: Place vehicle on its RIGHT side and press any key.
APM: Place vehicle nose DOWN and press any key.
APM: Place vehicle nose UP and press any key.
APM: Place vehicle on its BACK and press any key.
APM: AccelRange: 0.0 0.0 0.0
APM: Insufficient accel range
APM: AccelRange: 0.0 0.0 0.0
APM: Insufficient accel range
APM: Calibration FAILED

如何在SITL中校准我的飞机?

1 个答案:

答案 0 :(得分:0)

我找到了解决方案here。我实际上必须首先加载飞机的参数:

param load ../Tools/autotest/ArduPlane.parm

我必须这样做一次,现在它们会自动加载。