mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Rename mainapp to px4.
This commit is contained in:
committed by
Julian Oes
parent
3b7ba915a8
commit
b6a9ff756c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user