mirror of
https://github.com/TimeCrafters/CenterStage
synced 2025-12-12 23:32:36 +00:00
Trying to fix the weird drive problems on pizzabox, new problem came up. Config mistake?
This commit is contained in:
@@ -98,6 +98,8 @@ public class SodiPizzaTeleOPState extends CyberarmState {
|
||||
if(System.currentTimeMillis() - startingTime <= 2000) {
|
||||
getApproxObjPos();
|
||||
}
|
||||
/*Driving can now differentiate between positive and negative directions, but now it's acting like
|
||||
the directions of left stick are switched with eachother (Forward/backward moves robot left/right and vice versa)*/
|
||||
|
||||
double y = -engine.gamepad1.left_stick_y; // Remember, Y stick value is reversed
|
||||
double x = engine.gamepad1.left_stick_x * 1.1; // Counteract imperfect strafing
|
||||
|
||||
Reference in New Issue
Block a user