mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
Update SITL docs
This commit is contained in:
@@ -18,6 +18,18 @@ 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. 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. Run the quadrotor simulation:
|
||||||
|
```
|
||||||
|
> make sitlrun
|
||||||
|
```
|
||||||
|
|
||||||
|
Detailed Background on System startup
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
NOTE: This is only necessary if you are not using the instructions above.
|
||||||
|
|
||||||
|
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/`":
|
1. Create the following diretories in "`./Firmware/Build/posix_sitl.build/`":
|
||||||
```
|
```
|
||||||
> cd ./Firmware/Build/posix_sitl.build
|
> cd ./Firmware/Build/posix_sitl.build
|
||||||
|
|||||||
Reference in New Issue
Block a user