mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 14:14:07 +08:00
SITL: Added documentation on file paths
Added description of how to create required directories Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
26d2589e97
commit
17b23f4e80
@ -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 `<startup_file>` can be used to cause a set of commands to be entered into the PX4 shell at startup.
|
||||
```
|
||||
> ./mainapp <startup_file>
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user