Rename mainapp to px4.

This commit is contained in:
James Goppert
2016-07-28 09:52:46 -04:00
committed by Julian Oes
parent 3b7ba915a8
commit b6a9ff756c
12 changed files with 49 additions and 49 deletions

View File

@@ -39,12 +39,12 @@ NOTE: This is only necessary if you are not using the instructions above.
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>
> ./px4 <startup_file>
```
There is a sample startup script at `posix_configs/SITL/init/rcS`.
```
> ./mainapp ../../posix-configs/SITL/init/rcS
> ./px4 ../../posix-configs/SITL/init/rcS
```
Without the `<startup_file>`, the commands can be entered at the shell prompt one at a time. An example startup file is given below. This example shows that the "mavlink" module has selected port 14556 for its socket server (as shown in the SITL diagram) and will listen for connections on this port.