mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 07:33:34 +08:00
Add Steadidrone MAVRIK mixer and gains.
This commit is contained in:
committed by
Lorenz Meier
parent
86c8308e98
commit
9a8050cc11
@@ -180,6 +180,9 @@ MultirotorMixer::from_text(Mixer::ControlCallback control_cb, uintptr_t cb_handl
|
||||
} else if (!strcmp(geomname, "8c")) {
|
||||
geometry = MultirotorGeometry::OCTA_COX;
|
||||
|
||||
} else if (!strcmp(geomname, "8cw")) {
|
||||
geometry = MultirotorGeometry::OCTA_COX_WIDE;
|
||||
|
||||
} else if (!strcmp(geomname, "2-")) {
|
||||
geometry = MultirotorGeometry::TWIN_ENGINE;
|
||||
|
||||
|
||||
@@ -157,6 +157,17 @@ octa_cox = [
|
||||
[-135, CW],
|
||||
]
|
||||
|
||||
octa_cox_wide = [
|
||||
[ 68, CCW],
|
||||
[ -68, CW],
|
||||
[-129, CCW],
|
||||
[ 129, CW],
|
||||
[ -68, CCW],
|
||||
[ 68, CW],
|
||||
[ 129, CCW],
|
||||
[-129, CW],
|
||||
]
|
||||
|
||||
twin_engine = [
|
||||
[ 90, 0.0],
|
||||
[-90, 0.0],
|
||||
@@ -169,7 +180,7 @@ tri_y = [
|
||||
]
|
||||
|
||||
|
||||
tables = [quad_x, quad_h, quad_plus, quad_v, quad_wide, quad_deadcat, hex_x, hex_plus, hex_cox, octa_x, octa_plus, octa_cox, twin_engine, tri_y]
|
||||
tables = [quad_x, quad_h, quad_plus, quad_v, quad_wide, quad_deadcat, hex_x, hex_plus, hex_cox, octa_x, octa_plus, octa_cox, octa_cox_wide, twin_engine, tri_y]
|
||||
|
||||
def variableName(variable):
|
||||
for variableName, value in list(globals().items()):
|
||||
|
||||
Reference in New Issue
Block a user