Skip to content

Commit 684da83

Browse files
rename to mavsdk
1 parent 541a501 commit 684da83

26 files changed

+55
-58
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ build/
1111
*.ropeproject/
1212
.pytest_cache/
1313
.tox/
14-
dronecode_sdk/plugins/
14+
mavsdk/plugins/

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
include dronecode_sdk/bin
2-
include dronecode_sdk/bin/backend_bin
1+
include mavsdk/bin
2+
include mavsdk/bin/mavsdk_server

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# DronecodeSDK-Python
1+
# MAVSDK-Python
22

3-
This is the Python wrapper for the Dronecode SDK.
3+
This is the Python wrapper for MAVSDK.
44

5-
The Python wrapper is based on a gRPC client communicating with the gRPC server written in C++. To use the Python wrapper the gRPC server called "backend" needs to be running on the same system. The wrapper is essentially auto-generated from the message definitions ([proto files](https://github.com/Dronecode/DronecodeSDK-Proto)).
5+
The Python wrapper is based on a gRPC client communicating with the gRPC server written in C++. To use the Python wrapper the gRPC server called "backend" needs to be running on the same system. The wrapper is essentially auto-generated from the message definitions ([proto files](https://github.com/mavlink/MAVSDK-Proto)).
66

77
## Important Notes
88

@@ -16,8 +16,8 @@ First, we need to build and run the backend which is the gRPC server that the Py
1616
**Note: it is planned to automate this step using package managers like brew, apt-get, etc. .**
1717

1818
```
19-
git clone https://github.com/Dronecode/DronecodeSDK --recursive
20-
cd DronecodeSDK
19+
git clone https://github.com/mavlink/MAVSDK --recursive
20+
cd MAVSDK
2121
mkdir -p build/default
2222
cd build/default
2323
cmake -DBUILD_BACKEND=ON ../..
@@ -39,8 +39,8 @@ By default, the backend will connect using MAVLink on UDP port 14540 which is ru
3939
Clone this repo and recursively update submodules:
4040

4141
```
42-
git clone https://github.com/Dronecode/DronecodeSDK-Python --recursive
43-
cd DronecodeSDK-Python
42+
git clone https://github.com/mavlink/MAVSDK-Python --recursive
43+
cd MAVSDK-Python
4444
```
4545

4646
### Install prerequisites

docs/TODO.md

Whitespace-only changes.

dronecode_sdk/bin/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/calibration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import asyncio
44

5-
from dronecode_sdk import connect as dronecode_sdk_connect
5+
from mavsdk import connect as mavsdk_connect
66

7-
drone = dronecode_sdk_connect(host="127.0.0.1")
7+
drone = mavsdk_connect(host="127.0.0.1")
88

99

1010
async def run():

examples/camera.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
import asyncio
44

5-
from dronecode_sdk import connect as dronecode_sdk_connect
6-
from dronecode_sdk import (CameraError, CameraMode)
5+
from mavsdk import connect as mavsdk_connect
6+
from mavsdk import (CameraError, CameraMode)
77

8-
drone = dronecode_sdk_connect(host="127.0.0.1")
8+
drone = mavsdk_connect(host="127.0.0.1")
99

1010

1111
async def run():

examples/firmware_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import asyncio
44

5-
from dronecode_sdk import connect as dronecode_sdk_connect
5+
from mavsdk import connect as mavsdk_connect
66

7-
drone = dronecode_sdk_connect(host="127.0.0.1")
7+
drone = mavsdk_connect(host="127.0.0.1")
88

99

1010
async def run():

examples/mission.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
import asyncio
44

5-
from dronecode_sdk import connect as dronecode_sdk_connect
6-
from dronecode_sdk import (MissionItem)
5+
from mavsdk import connect as mavsdk_connect
6+
from mavsdk import (MissionItem)
77

8-
drone = dronecode_sdk_connect(host="127.0.0.1")
8+
drone = mavsdk_connect(host="127.0.0.1")
99

1010

1111
async def run():

examples/offboard.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
- `drone.action.arm()` will return a `COMMAND_DENIED` result because the action requires switching
77
to LOITER mode first, something that is currently not supported in a non-gps environment. You will
88
need to temporarily disable this part here:
9-
`https://github.com/Dronecode/DronecodeSDK/blob/develop/plugins/action/action_impl.cpp#L61-L65`
9+
`https://github.com/mavlink/MAVSDK/blob/develop/plugins/action/action_impl.cpp#L61-L65`
1010
1111
- `drone.offboard.stop()` will also return a `COMMAND_DENIED` result because it requires a mode
1212
switch to HOLD, something that is currently not supported in a non-gps environment.
1313
"""
1414

1515
import asyncio
1616

17-
from dronecode_sdk import connect as dronecode_sdk_connect
18-
from dronecode_sdk import (
17+
from mavsdk import connect as mavsdk_connect
18+
from mavsdk import (
1919
Attitude,
2020
OffboardError,
2121
PositionNEDYaw,
2222
VelocityBodyYawspeed,
2323
VelocityNEDYaw,
2424
)
2525

26-
drone = dronecode_sdk_connect(host="127.0.0.1")
26+
drone = mavsdk_connect(host="127.0.0.1")
2727

2828

2929
async def run_offb_ctrl_velocity_ned():

0 commit comments

Comments
 (0)