Skip to content

Commit

Permalink
Fixed Pivot (Wheel speed numeration and Wheel angle numeration don't …
Browse files Browse the repository at this point in the history
…match)
  • Loading branch information
MichalZywerKNEI committed Mar 25, 2023
1 parent 2bf869e commit 7376c79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions MiniRoverInterfaceCs/InterfaceWheelControls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,18 +204,20 @@ private void BtnBackward_MouseDown(object sender, MouseEventArgs e)

private void BtnPivotLeft_MouseDown(object sender, MouseEventArgs e)
{
Wheel0SpeedSlider.Value = Wheel1SpeedSlider.Value = 255;
Wheel2SpeedSlider.Value = Wheel3SpeedSlider.Value = -255;
Wheel0SpeedSlider.Value = Wheel1SpeedSlider.Value = -255;
Wheel2SpeedSlider.Value = Wheel3SpeedSlider.Value = 255;
Wheel0AngleSlider.Value = Wheel3AngleSlider.Value = -45;
Wheel1AngleSlider.Value = Wheel2AngleSlider.Value = 45;
SerialSend();
}

private void BtnPivotRight_MouseDown(object sender, MouseEventArgs e)
{
Wheel0SpeedSlider.Value = Wheel1SpeedSlider.Value = -255;
Wheel2SpeedSlider.Value = Wheel3SpeedSlider.Value = 255;
Wheel0SpeedSlider.Value = Wheel1SpeedSlider.Value = 255;
Wheel2SpeedSlider.Value = Wheel3SpeedSlider.Value = -255;
Wheel0AngleSlider.Value = Wheel3AngleSlider.Value = -45;
Wheel1AngleSlider.Value = Wheel2AngleSlider.Value = 45;
SerialSend();
}
#endregion
}
Expand Down
4 changes: 2 additions & 2 deletions MiniRoverInterfaceCs/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.1.1")]
[assembly: AssemblyFileVersion("1.3.1.1")]
[assembly: AssemblyVersion("1.3.1.2")]
[assembly: AssemblyFileVersion("1.3.1.2")]

0 comments on commit 7376c79

Please sign in to comment.