diff --git a/code/tcp-server/omnibot_controller.py b/code/tcp-server/omnibot_controller.py index 2184949d47a2bf6b50e3181f03dac154fac081af..9a4d899083eae3cc72001d8078a3819808fc0c44 100644 --- a/code/tcp-server/omnibot_controller.py +++ b/code/tcp-server/omnibot_controller.py @@ -88,7 +88,7 @@ if __name__ == '__main__': r = 0.028*0.45/18 # Wheel radius. Has been fudge-factored because the actual velocity of the wheels did not align with the set-points. - vel_factor = 4 # Fudge factor that changes the relative velocity of the bot + vel_factor = 5 # Fudge factor that changes the relative velocity of the bot def phidot(xdot,ang): """Returns reference velocities for the wheels, given current system state and reference velocities""" @@ -107,7 +107,7 @@ if __name__ == '__main__': no_error = True while state.on and no_error: t0 = time() - + # Get gamepad updates. # Use some scaling to turn the controller state values into # reasonable velocities.