From cb8d951a7eed489c5accc7454f402695909a414f Mon Sep 17 00:00:00 2001 From: Julien Lecoeur Date: Mon, 9 Oct 2017 20:17:27 +0200 Subject: [PATCH] Mixers: add geoms quad_vtail (tilted props) and quad_y (rear coax props) quad_vtail: reverse prop direction (same quad_h) to combine yaw torque induced by propellers and yaw torque induced by tilted rotors. --- src/modules/systemlib/mixer/CMakeLists.txt | 2 ++ .../systemlib/mixer/geoms/quad_vtail.toml | 34 +++++++++++++++++++ src/modules/systemlib/mixer/geoms/quad_y.toml | 32 +++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 src/modules/systemlib/mixer/geoms/quad_vtail.toml create mode 100644 src/modules/systemlib/mixer/geoms/quad_y.toml diff --git a/src/modules/systemlib/mixer/CMakeLists.txt b/src/modules/systemlib/mixer/CMakeLists.txt index 4ce929d35e..2dffcef857 100644 --- a/src/modules/systemlib/mixer/CMakeLists.txt +++ b/src/modules/systemlib/mixer/CMakeLists.txt @@ -39,6 +39,8 @@ set(geom_files quad_plus.toml quad_wide.toml quad_deadcat.toml + quad_vtail.toml + quad_y.toml quad_x_pusher.toml hex_x.toml hex_plus.toml diff --git a/src/modules/systemlib/mixer/geoms/quad_vtail.toml b/src/modules/systemlib/mixer/geoms/quad_vtail.toml new file mode 100644 index 0000000000..d4f71dc61b --- /dev/null +++ b/src/modules/systemlib/mixer/geoms/quad_vtail.toml @@ -0,0 +1,34 @@ +# Quadcopter in Y configuration with rear props tilted at 45 degrees + +[info] +name = "quad_vtail" +key = "4vt" +description = "Quadcopter in Y configuration with rear props tilted at 45 degrees" + +[rotor_default] +direction = "CW" +axis = [0.0, 0.0, -1.0] +Ct = 1.0 +Cm = 0.05 + +[[rotors]] +name = "front_right" +position = [0.2, 0.2, 0.0] +direction = "CW" + +[[rotors]] +name = "rear_left" +position = [-0.3, -0.1, -0.1] +axis = [0.0, 0.707106, -0.707106] +direction = "CW" + +[[rotors]] +name = "front_left" +position = [0.2, -0.2, 0.0] +direction = "CCW" + +[[rotors]] +name = "rear_right" +position = [-0.3, 0.1, -0.1] +axis = [0.0, -0.707106, -0.707106] +direction = "CCW" diff --git a/src/modules/systemlib/mixer/geoms/quad_y.toml b/src/modules/systemlib/mixer/geoms/quad_y.toml new file mode 100644 index 0000000000..5aa9e9b779 --- /dev/null +++ b/src/modules/systemlib/mixer/geoms/quad_y.toml @@ -0,0 +1,32 @@ +# Quadcopter in Y configuration with coax rear props + +[info] +name = "quad_y" +key = "4y" +description = "Quadcopter in Y configuration with coax rear props" + +[rotor_default] +direction = "CW" +axis = [0.0, 0.0, -1.0] +Ct = 1.0 +Cm = 0.05 + +[[rotors]] +name = "front_right" +position = [0.2, 0.2, 0.0] +direction = "CCW" + +[[rotors]] +name = "rear_top" +position = [-0.2, 0.0, -0.1] +direction = "CCW" + +[[rotors]] +name = "front_left" +position = [0.2, -0.2, 0.0] +direction = "CW" + +[[rotors]] +name = "rear_bottom" +position = [-0.2, 0.0, 0.1] +direction = "CW"