Skip to content

Commit

Permalink
All the things
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramDragon64 committed Jun 14, 2022
1 parent b7a7f8b commit dfd0851
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Larry/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ def sign(num) -> int:

def convertJoystickInputToDegrees(x: float, y: float):
return float(math.degrees(math.atan2(y, x)))

def deadband(value: float, deadband: float):
if math.fabs(value) >= deadband:
return 0
else:
return value
2 changes: 1 addition & 1 deletion Larry/simgui-window.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"###FMS": {
"Collapsed": "0",
"Pos": "6,675",
"Size": "336,164"
"Size": "281,190"
},
"###Joysticks": {
"Collapsed": "0",
Expand Down

0 comments on commit dfd0851

Please # to comment.