PX4 make px4_sitl_default jmavsim报错build.xml

 小白第一次装Ubuntu18.04 装ROS MAVROS 配置Pixhawk

然后在最后 make px4_sitl_default jmavsim报错 Buildfile: build.xml does not exist!    Build failed

如下代码

~$ cd PX4-Autopilot
~/PX4-Autopilot$ make px4_sitl_default jmavsim

运行后的结果是

[0/1] cd /home/lexi/PX4-Autopilot/buil...i/PX4-Autopilot/build/px4_sitl_default
SITL ARGS
sitl_bin: /home/lexi/PX4-Autopilot/build/px4_sitl_default/bin/px4
debugger: none
program: jmavsim
model: none
world: none
src_path: /home/lexi/PX4-Autopilot
build_path: /home/lexi/PX4-Autopilot/build/px4_sitl_default
empty model, setting iris as default
SITL COMMAND: "/home/lexi/PX4-Autopilot/build/px4_sitl_default/bin/px4" "/home/lexi/PX4-Autopilot/build/px4_sitl_default"/etc -s etc/init.d-posix/rcS -t "/home/lexi/PX4-Autopilot"/test_data
INFO  [px4] Creating symlink /home/lexi/PX4-Autopilot/build/px4_sitl_default/etc -> /home/lexi/PX4-Autopilot/build/px4_sitl_default/tmp/rootfs/etc

______  __   __    ___ 
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

INFO  [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0
Info: found model autostart file as SYS_AUTOSTART=10016
INFO  [param] selected parameter default file eeprom/parameters_10016
[param] parameter file not found, creating eeprom/parameters_10016
  SYS_AUTOCONFIG: curr: 0 -> new: 1
  SYS_AUTOSTART: curr: 0 -> new: 10016
  CAL_ACC0_ID: curr: 0 -> new: 1310988
  CAL_GYRO0_ID: curr: 0 -> new: 1310988
  CAL_ACC1_ID: curr: 0 -> new: 1310996
  CAL_GYRO1_ID: curr: 0 -> new: 1310996
  CAL_ACC2_ID: curr: 0 -> new: 1311004
  CAL_GYRO2_ID: curr: 0 -> new: 1311004
  CAL_MAG0_ID: curr: 0 -> new: 197388
  CAL_MAG1_ID: curr: 0 -> new: 197644
  SENS_BOARD_X_OFF: curr: 0.0000 -> new: 0.0000
  SENS_DPRES_OFF: curr: 0.0000 -> new: 0.0010
* SYS_AUTOCONFIG: curr: 1 -> new: 0
  IMU_INTEG_RATE: curr: 200 -> new: 250
INFO  [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
PX4 SIM HOST: localhost
INFO  [simulator] Waiting for simulator to accept connection on TCP port 4560
Buildfile: build.xml does not exist!
Build failed

出了结果也没有退出来,一直在build failed

 

请问是什么问题,需要怎么改正?

 

我也碰到了这个问题,一模一样