hafoihh
This commit is contained in:
parent
7a8fe07c09
commit
5d1b168561
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ public class Werobot_FTC2024_carlike extends LinearOpMode {
|
||||||
private DcMotor rm;
|
private DcMotor rm;
|
||||||
private DcMotor lm;
|
private DcMotor lm;
|
||||||
private double helloexp(double t){
|
private double helloexp(double t){
|
||||||
return (Math.exp(5*t-1)-1)/(Math.exp(5)-1);
|
return (Math.exp(5*t)-1)/(Math.exp(5)-1);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void runOpMode() throws InterruptedException {
|
public void runOpMode() throws InterruptedException {
|
||||||
|
@ -85,6 +85,7 @@ public class Werobot_FTC2024_carlike extends LinearOpMode {
|
||||||
telemetry.addData("lpow",lpower);
|
telemetry.addData("lpow",lpower);
|
||||||
telemetry.addData("rpow",rpower);
|
telemetry.addData("rpow",rpower);
|
||||||
telemetry.addData("ltrigg",t);
|
telemetry.addData("ltrigg",t);
|
||||||
|
telemetry.addData("t2",t2);
|
||||||
telemetry.addData("mode",mode);
|
telemetry.addData("mode",mode);
|
||||||
telemetry.update();
|
telemetry.update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue