PX4利用jmavsim进行多机仿真

    科技2022-07-11  85

    编译 PX4 make px4_sitl_default运行 sitl_multiple_run.sh, 指定要启动的飞行器的实例数目 (例如 2): ./Tools/sitl_multiple_run.sh 2打开另一个终端,启动第一个实例: ./Tools/jmavsim_run.sh -l继续新开一个终端,启动之后的实例,给实例指定的 仿真 TCP 端口号: ./Tools/jmavsim_run.sh -p 4561 -l 端口号应该被设置为 4560+i , i 的范围为 [0, N-1] 。 ./develop/Firmware//Tools/jmavsim_run.sh -p 4561 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4562 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4563 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4564 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4565 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4566 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4567 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4568 -l ./develop/Firmware//Tools/jmavsim_run.sh -p 4569 -l
    Processed: 0.010, SQL: 8