feat:ftc2024-holonom.java
This commit is contained in:
parent
f504d2463c
commit
619b2dbdbc
1 changed files with 2 additions and 1 deletions
|
@ -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};
|
||||||
|
|
Loading…
Reference in a new issue