Add Steadidrone MAVRIK mixer and gains.

This commit is contained in:
Simon Wilks
2016-02-02 08:31:08 +01:00
committed by Lorenz Meier
parent 86c8308e98
commit 9a8050cc11
5 changed files with 60 additions and 2 deletions
@@ -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;
+12 -1
View File
@@ -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()):