Browse Source

Update multi_tables.py

Corrected HEX_T position and rotation for motors 1-2-5-6
sbg
Tiktiki 9 years ago committed by Lorenz Meier
parent
commit
dfed00d870
  1. 2
      src/modules/systemlib/mixer/mixer_multirotor.cpp
  2. 8
      src/modules/systemlib/mixer/multi_tables.py

2
src/modules/systemlib/mixer/mixer_multirotor.cpp

@ -170,7 +170,7 @@ MultirotorMixer::from_text(Mixer::ControlCallback control_cb, uintptr_t cb_handl @@ -170,7 +170,7 @@ MultirotorMixer::from_text(Mixer::ControlCallback control_cb, uintptr_t cb_handl
} else if (!strcmp(geomname, "6c")) {
geometry = MultirotorGeometry::HEX_COX;
} else if (!strcmp(geomname, "6t")) {
geometry = MultirotorGeometry::HEX_t;

8
src/modules/systemlib/mixer/multi_tables.py

@ -125,12 +125,12 @@ hex_cox = [ @@ -125,12 +125,12 @@ hex_cox = [
]
hex_t = [
[ 60, CW],
[ 60, CCW],
[ 43.21, CCW],
[ 43.21, CW],
[ 180, CW],
[ 180, CCW],
[ -60, CW],
[ -60, CCW],
[ -43.21, CW],
[ -43.21, CCW],
]
octa_x = [

Loading…
Cancel
Save