diff --git a/posix-configs/SITL/README.md b/posix-configs/SITL/README.md index 8a036eea90..1bd38c0603 100644 --- a/posix-configs/SITL/README.md +++ b/posix-configs/SITL/README.md @@ -18,6 +18,13 @@ Steps 1. Connect the RC Controller (PIXHAWK) to the PX4 machine using USB. Verify the `/dev/ttyACM0` device appears. Make sure that the persmissions of this device allow the PX4 app to open the device for read/write (`sudo chmod 777 /dev/ttyACM0`). +1. Create the following diretories in "`./Firmware/Build/posix_sitl.build/`": +``` +> cd ./Firmware/Build/posix_sitl.build +> mkdir -p rootfs/fs/microsd +> mkdir -p rootfs/eeprom +``` + 1. Launch PX4 from the SITL build directory "`./Firmware/Build/posix_sitl.build/`" using the command below. The optional `` can be used to cause a set of commands to be entered into the PX4 shell at startup. ``` > ./mainapp diff --git a/posix-configs/SITL/init/rcS b/posix-configs/SITL/init/rcS index cc4c76526f..8a6203a0bc 100644 --- a/posix-configs/SITL/init/rcS +++ b/posix-configs/SITL/init/rcS @@ -26,7 +26,7 @@ param set RC1_MAX 2015 param set RC1_MIN 996 param set RC1_TRIM 1502 param set RC1_REV -1 -param set RC2_MAX 2016 +param set RC2_MAX 2016 param set RC2_MIN 995 param set RC2_TRIM 1500 param set RC3_MAX 2003