1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-12 19:10:27 +03:00

docked build: added scripts for sitl build and run

This commit is contained in:
Roman Lut 2023-10-03 21:33:30 +02:00
parent 55c1abea37
commit ff947cb743
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,6 @@
#!/bin/bash
rm -r build_SITL
mkdir -p build_SITL
cmake -DSITL=ON -DWARNINGS_AS_ERRORS=ON -GNinja -B build_SITL ..
cd build_SITL
ninja

8
cmake/docker_run_sitl.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/bash
cd build_SITL
#Lauch SITL - configurator only mode
./inav_7.0.0_SITL
#Launch SITL - connect to X-Plane. IP address should be host IP address, not 127.0.0.1. Can be found in X-Plane "Network" tab.
#./inav_7.0.0_SITL --sim=xp --simip=192.168.2.105 --simport=49000