Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
RPi: update PX4 start instructions
Browse files Browse the repository at this point in the history
Needed after PX4/PX4-Autopilot#10173 was merged.
  • Loading branch information
bkueng committed Aug 9, 2018
1 parent c34edd5 commit d115a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/setup/building_px4.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ make posix_rpi_cross upload # for cross-compiler build
Then, connect over ssh and run it with (as root):

```sh
sudo ./px4 px4.config
sudo ./bin/px4 -s px4.config
```

#### Native Build
Expand Down Expand Up @@ -213,7 +213,7 @@ pxh>
To autostart px4, add the following to the file **/etc/rc.local** (adjust it
accordingly if you use native build), right before the `exit 0` line:
```sh
cd /home/pi && ./px4 -d px4.config > px4.log
cd /home/pi && ./bin/px4 -d -s px4.config > px4.log
```


Expand Down

0 comments on commit d115a05

Please sign in to comment.