limelight
This commit is contained in:
@@ -100,7 +100,7 @@ public class RobotContainer {
|
||||
drivetrain.applyRequest(() ->
|
||||
drive.withVelocityY(MathUtil.applyDeadband(-manette.getLeftX()*Math.abs(-manette.getLeftX())*MaxSpeed*0.7, 0.05))
|
||||
.withVelocityX(MathUtil.applyDeadband(-manette.getLeftY()*Math.abs(-manette.getLeftY())*MaxSpeed*0.7, 0.05))
|
||||
.withRotationalRate(MathUtil.applyDeadband(-manette.getRightX()*Math.abs(-manette.getRightX())*MaxAngularRate, 0.05))
|
||||
.withRotationalRate(MathUtil.applyDeadband(-manette.getRightX()*Math.abs(-manette.getRightX())*MaxAngularRate*1.5, 0.05))
|
||||
)
|
||||
);
|
||||
//manette 1
|
||||
|
||||
@@ -62,7 +62,8 @@ public class Limelighter extends Command {
|
||||
BotPose = limelight3g.getBotPoseBlue();
|
||||
}
|
||||
else {
|
||||
x = 11.915394;
|
||||
//x = 11.915394;
|
||||
x = 4.6;
|
||||
BotPose = limelight3g.getBotPoseRed();
|
||||
}
|
||||
botx = BotPose[0];
|
||||
|
||||
@@ -62,7 +62,8 @@ public class LimelighterAuto extends Command {
|
||||
BotPose = limelight3g.getBotPoseBlue();
|
||||
}
|
||||
else {
|
||||
x = 11.915394;
|
||||
// x = 11.915394;
|
||||
x = 4.6;
|
||||
BotPose = limelight3g.getBotPoseRed();
|
||||
}
|
||||
botx = BotPose[0];
|
||||
|
||||
Reference in New Issue
Block a user