Closed mcolinj closed 5 years ago
In robot code, we have the following:
goal_forward = self.driver.getRawAxis(3) rotation_value = -self.driver.getX(LEFT_CONTROLLER_HAND)
goal_forward = deadzone(goal_forward max_forward, deadzone_value) rotation_value = deadzone(rotation_value max_rotate, deadzone_value)
That scales up the joystick values before the deadzoning.
Fixed with pull request #62
In robot code, we have the following:
goal_forward = self.driver.getRawAxis(3) rotation_value = -self.driver.getX(LEFT_CONTROLLER_HAND)
goal_forward = deadzone(goal_forward max_forward, deadzone_value) rotation_value = deadzone(rotation_value max_rotate, deadzone_value)
That scales up the joystick values before the deadzoning.