hello
This commit is contained in:
parent
f6adacdba5
commit
91d956a7de
1 changed files with 2 additions and 1 deletions
|
@ -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(){
|
||||||
|
|
Loading…
Reference in a new issue