You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more help on this step, check the [docs on how to build from source](https://sdk.dronecode.org/en/contributing/build.html).
20
+
The package contains `mavsdk_server` already (previously called "backend"). It needs to be run manually with `start_mavlink()`. Have a look at the examples to see it used in practice.
28
21
29
-
Once this is built, start PX4 SITL and run the backend:
22
+
## Run the examples
23
+
24
+
Once the package has been installed, the examples can be run:
30
25
31
26
```
32
-
./src/backend/src/backend_bin
27
+
examples/takeoff_and_land.py
33
28
```
34
29
35
-
By default, the backend will connect using MAVLink on UDP port 14540 which is running by default when PX4 is run in SITL (software in the loop simulation). Run `$ ./src/backend/src/backend_bin --help` for more information.
30
+
## Build and run from sources
31
+
32
+
Note: this is more involved and targetted to contributors.
36
33
37
-
## Get the Python wrapper
34
+
###Get the Python wrapper
38
35
39
36
Clone this repo and recursively update submodules:
40
37
@@ -78,11 +75,8 @@ After generating the wrapper you can install a development (editable) version of
78
75
pip install -e .
79
76
```
80
77
78
+
### Build mavsdk_server
81
79
82
-
### Running the examples
80
+
MAVDSK-Python runs the `mavsdk_server` when `start_mavlink()` is called. Under the hood, this will run `mavsdk/bin/mavsdk_server`, which has to be built separately from [MAVSDK](https://github.com/mavlink/MAVSDK) and copied there.
83
81
84
-
Once the package has been installed, the examples can be run:
85
-
86
-
```
87
-
examples/takeoff_and_land.py
88
-
```
82
+
For more help on this step, check the [docs on how to build from source](https://sdk.dronecode.org/en/contributing/build.html).
0 commit comments