as2_python_api
AeroStack2 drone interface tool in python
Links
README
as2_python_api
AeroStack2 python interface.
Index
API
Method |
Input |
Output |
Description |
---|---|---|---|
|
- |
drone namespace |
- |
|
- |
drone info {connected, armed, offboard, state, yaw_mode, control_mode, reference_frame} |
- |
|
- |
[ x, y, z ] |
- |
|
- |
[ roll, pitch, yaw ] |
- |
|
- |
[ lat, lon ,alt ] |
|
|
heigth, speed |
- |
- |
|
[ [ x, y, z ], … ], speed |
- |
- |
|
[ [ lat, lon, alt ], … ], speed |
- |
- |
|
- |
- |
- |
ENUMERATIONS
STATE
Value |
Field Name |
Description |
---|---|---|
|
-1 |
- |
|
0 |
- |
|
1 |
- |
|
2 |
- |
|
3 |
- |
|
4 |
- |
YAW_MODE
Value |
Field Name |
Description |
---|---|---|
|
0 |
- |
|
1 |
- |
CONTROL_MODE
Value |
Field Name |
Description |
---|---|---|
|
-1 |
mode when the vehicle is not set |
|
0 |
x, y, z refs |
|
1 |
vx, vy, vz refs |
|
2 |
vx, vy, z refs |
|
3 |
ax, ay, az refs |
|
4 |
quaternions + Thrust |
|
5 |
p, q, r speed + Thrust |
REFERENCE_FRAME
Value |
Field Name |
Description |
---|---|---|
|
0 |
Local coordinates |
|
1 |
Body coordinates |
|
2 |
GPS coordinates |