feat:ftc2024-holonom.java

This commit is contained in:
GZod01 2024-01-07 17:42:32 +01:00
parent f504d2463c
commit 619b2dbdbc

View file

@ -30,13 +30,14 @@ public class Werobot_FTC2024 extends LinearOpMode {
private DcMotor brm; private DcMotor brm;
private DcMotor blm; private DcMotor blm;
private IMU imu; private IMU imu;
public void helloexp(){ public void helloexp(double t){
return (Math.exp(5*t)-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 {
float x; float x;
double y; double y;
String mode;
int[] fr_angle = {1,1}; int[] fr_angle = {1,1};
int[] fl_angle = {1,-1}; int[] fl_angle = {1,-1};
int[] bl_angle = {-1,-1}; int[] bl_angle = {-1,-1};