tricopter initial commit

This commit is contained in:
Trent Lukaczyk
2015-02-05 20:18:00 -08:00
parent d036fa10c1
commit af8e76ee7e
3 changed files with 30 additions and 1 deletions
@@ -177,6 +177,10 @@ MultirotorMixer::from_text(Mixer::ControlCallback control_cb, uintptr_t cb_handl
} else if (!strcmp(geomname, "2-")) {
geometry = MultirotorGeometry::TWIN_ENGINE;
} else if (!strcmp(geomname, "3y")) {
geometry = MultirotorGeometry::TRI_Y;
} else {
debug("unrecognised geometry '%s'", geomname);
return nullptr;
+7 -1
View File
@@ -155,8 +155,14 @@ twin_engine = [
[-90, 0.0],
]
tri_y = [
[ 60, 0.0],
[ -60, 0.0],
[ 180, 0.0],
]
tables = [quad_x, quad_plus, quad_v, quad_wide, quad_deadcat, hex_x, hex_plus, hex_cox, octa_x, octa_plus, octa_cox, twin_engine]
tables = [quad_x, quad_plus, quad_v, quad_wide, quad_deadcat, hex_x, hex_plus, hex_cox, octa_x, octa_plus, octa_cox, twin_engine, tri_y]
def variableName(variable):
for variableName, value in list(globals().items()):