This commit is contained in:
GZod01 2024-03-20 15:27:36 +01:00
parent f6adacdba5
commit 91d956a7de

View file

@ -40,6 +40,7 @@ public class FTC2024WeRobotControl {
private final double ground_tiles_width = 61.0e-2; // metres private final double ground_tiles_width = 61.0e-2; // metres
// //
private final double defaultspeed = 0.6; private final double defaultspeed = 0.6;
private final double defaultanglespeed = 0.4;
private ElapsedTime timer; private ElapsedTime timer;
@ -169,7 +170,7 @@ public class FTC2024WeRobotControl {
Parent.rm.setPower(0); Parent.rm.setPower(0);
} }
public void rotate(double angle){ public void rotate(double angle){
this.rotate(angle,this.defaultspeed); this.rotate(angle,this.defaultanglespeed);
} }
public void test_forward_10_and_rotate_20deg(){ public void test_forward_10_and_rotate_20deg(){