Skip to content

Commit

Permalink
ConfigMount: remove pan stabilize checkbox
Browse files Browse the repository at this point in the history
this parameter should never be set
  • Loading branch information
rmackay9 authored and meee1 committed Dec 9, 2022
1 parent 3bd33e3 commit 7443649
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 103 deletions.
3 changes: 0 additions & 3 deletions GCSViews/ConfigurationView/ConfigMount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ public void Activate()

CHK_stab_tilt.setup(1, 0, ParamHead + "STAB_TILT", MainV2.comPort.MAV.param);
CHK_stab_roll.setup(1, 0, ParamHead + "STAB_ROLL", MainV2.comPort.MAV.param);
CHK_stab_pan.setup(1, 0, ParamHead + "STAB_PAN", MainV2.comPort.MAV.param);

NUD_NEUTRAL_x.setup(-180, 180, 1, 1, ParamHead + "NEUTRAL_X", MainV2.comPort.MAV.param);
NUD_NEUTRAL_y.setup(-180, 180, 1, 1, ParamHead + "NEUTRAL_Y", MainV2.comPort.MAV.param);
Expand Down Expand Up @@ -294,11 +293,9 @@ private void updateYaw()
if (mavlinkComboBoxPan.Text != "Disable")
{
MainV2.comPort.setParam(mavlinkComboBoxPan.Text + "_FUNCTION", 6);
//MainV2.comPort.setParam(ParamHead+"STAB_PAN", 1);
}
else
{
//MainV2.comPort.setParam(ParamHead+"STAB_PAN", 0);
ensureDisabled(mavlinkComboBoxPan, 6);
}

Expand Down
12 changes: 0 additions & 12 deletions GCSViews/ConfigurationView/ConfigMount.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7443649

Please sign in to comment.