Skip to content

Commit

Permalink
changed the mixer pwm outputs to be compatible with Varmint and Pixra…
Browse files Browse the repository at this point in the history
…cer Pro PWM output groups
  • Loading branch information
JMoore5353 committed Oct 15, 2024
1 parent a571d4b commit e0ece54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/mixer.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ class Mixer : public ParamListenerInterface

const mixer_t hex_plus_mixing = {
{ M, M, M, M, M, M, NONE, NONE, NONE, NONE}, // output_type
{ 490, 490, 490, 490, 490, 490, 50, 50, 50, 50}, // Rate (Hz)
{ 490, 490, 490, 490, 490, 490, 490, 490, 50, 50}, // Rate (Hz)
{3398.687478919854, 3398.6874789198537, 3398.6874789198537, 3398.6874789198523, 3398.6874789198537, 3398.6874789198537, 0, 0, 0, 0},
{0.0, -23546.797570149454, -23546.797570149447, 0.0, 23546.797570149443, 23546.79757014946, 0, 0, 0, 0},
{27189.49983135882, 13594.749915679433, -13594.749915679424, -27189.49983135882, -13594.749915679417, 13594.749915679415, 0, 0, 0, 0},
{148673.99295362437, -148673.99295362443, 148673.99295362437, -148673.99295362437, 148673.9929536245, -148673.9929536244, 0, 0, 0, 0}};

const mixer_t hex_x_mixing = {
{M, M, M, M, M, M, NONE, NONE, NONE, NONE},
{490, 490, 490, 490, 490, 490, 50, 50, 50, 50},
{490, 490, 490, 490, 490, 490, 490, 490, 50, 50},
{3398.687478919854, 3398.687478919853, 3398.687478919853, 3398.6874789198523, 3398.687478919854, 3398.687478919854, 0, 0, 0, 0},
{-13594.749915679407, -27189.49983135883, -13594.74991567941, 13594.749915679384, 27189.49983135884, 13594.74991567942, 0, 0, 0, 0},
{23546.797570149465, 0.0, -23546.797570149454, -23546.797570149472, 0.0, 23546.797570149465, 0, 0, 0, 0},
Expand All @@ -170,7 +170,7 @@ class Mixer : public ParamListenerInterface

const mixer_t Y6_mixing = {
{M, M, M, M, M, M, NONE, NONE, NONE, NONE},
{490, 490, 490, 490, 490, 490, 50, 50, 50, 50},
{490, 490, 490, 490, 490, 490, 490, 490, 50, 50},
{3398.6874789198546, 3398.6874789198523, 3398.6874789198537, 3398.6874789198546, 3398.687478919853, 3398.6874789198528, 0, 0, 0, 0},
{-23546.79757014947, 0.0, 23546.797570149454, -23546.79757014944, 0.0, 23546.79757014947, 0, 0, 0, 0},
{13594.749915679397, -27189.499831358822, 13594.749915679413, 13594.749915679437, -27189.499831358844, 13594.749915679426, 0, 0, 0, 0},
Expand All @@ -186,7 +186,7 @@ class Mixer : public ParamListenerInterface

const mixer_t tricopter_mixing = {
{M, M, M, M, M, M, NONE, NONE, NONE, NONE},
{490, 490, 490, 490, 490, 490, 50, 50, 50, 50},
{490, 490, 490, 490, 490, 490, 490, 490, 50, 50},
{3398.687478919855, 3398.687478919855, 3398.6874789198528, 3398.687478919852, 3398.6874789198537, 3398.6874789198528, 0, 0, 0, 0},
{-23546.797570149458, -23546.797570149447, 0.0, 0.0, 23546.797570149454, 23546.797570149465, 0, 0, 0, 0},
{13594.749915679417, 13594.74991567943, -27189.499831358844, -27189.49983135883, 13594.749915679406, 13594.749915679418, 0, 0, 0, 0},
Expand Down

0 comments on commit e0ece54

Please sign in to comment.