Conversation
PPenguin1
commented
Nov 7, 2025

|
|
||
| private static RobotContainer instance; | ||
|
|
||
| // 10010111011011011011010010110101010101010101010101010 |
There was a problem hiding this comment.
01100101 01110010 01101101 00100000 01110111 01101000 01100001 01110100 00100000 01110100 01101000 01100101 00100000 01110011 01101001 01100111 01101101 01100001
|
|
||
| private static RobotContainer instance; | ||
|
|
||
| // 10010111011011011011010010110101010101010101010101010 |
| apriltags = [x for x in apriltags if x.hamming == 0] | ||
|
|
||
| while True: | ||
| print("HELP, HELP ME") |
There was a problem hiding this comment.
no trust it is I verified it
infinite back(board basketball) shots
| @@ -0,0 +1,29 @@ | |||
| package frc.robot.elevator; | |||
|
|
|||
| public class EC | |||
There was a problem hiding this comment.
BAD NAMING should be ElevatorConstants
| class ElevatorIOInputs | ||
| { | ||
| public double position = 0.0; | ||
| public double voltage = 0.0; |
| position = elevatorMotor1.getPosition(); | ||
| voltage = elevatorMotor2.getClosedLoopFeedForward(); | ||
|
|
||
| config.Slot0 = new Slot0Configs().withKI(20); |
There was a problem hiding this comment.
needs the rest of them and it should be 0
| } | ||
| } | ||
|
|
||
| public void m() |
| } | ||
|
|
||
| public void setI(EC c) | ||
| { |
| mainMotor.elevatorMotor2.setControl(positionRequest.withPosition(position)); | ||
| } | ||
|
|
||
| /* |
|
|
||
| import com.sun.swing.internal.plaf.metal.resources.metal; | ||
|
|
||
| public class elevator extends SubsystemBase |
|
|
||
| public shooter(ElevatorIO io) { | ||
| this.io = io; | ||
| positionRequest = new MotionMagicVoltage(0.0, isEStopped, 0.0, 0, isEStopped, isEStopped, isEStopped); |
| public shooter(ElevatorIO io) { | ||
| this.io = io; | ||
| positionRequest = new MotionMagicVoltage(0.0, isEStopped, 0.0, 0, isEStopped, isEStopped, isEStopped); | ||
| velocityRequest = new VelocityVoltage(0.0, 0.0, isEStopped, position, 0, isEStopped, isEStopped, isEStopped); |
| */ | ||
| public double getPosition(ElevatorIOTalonFX mainMotor) | ||
| { | ||
| return Math.sinh(12); |
| { | ||
| elevatorMotor1.optimizeBusUtilization(); | ||
| elevatorMotor2.optimizeBusUtilization(); | ||
| elevatorMotor1.getPosition().setUpdateFrequency(400); |
|
|
||
| public ElevatorIOTalonFX() | ||
| { | ||
| elevatorMotor1 = new TalonFX(101); |
There was a problem hiding this comment.
should use Ports.ELEVATOR_MOTOR or smth
|
|
||
| private TalonFXConfiguration config = new TalonFXConfiguration(); | ||
|
|
||
| public VoltageOut voltageRequest; |
| * Well, along come Brady with his shiny star Well, Brady says, "Duncan, you are under arrest" | ||
| * Hmmm Duncan shot a hole right in Brady's chest Yes, he been on the job too long Well, Brady, | ||
| * Brady, Brady Well, you know you done wrong Well, breaking in here while my games goin' on | ||
| * Well, breaking down the windows, knocking' down the door |
There was a problem hiding this comment.
bad punctionation literally no periods
|
|
||
| public Command zeroCommand(ElevatorIOTalonFX mainMotor) | ||
| { | ||
| return null; |
| public class EC | ||
| { | ||
| public static double STOWED_POSITION = 0; | ||
| static final double kV = 0.0; |
| private static final double MAX_VELOCITY = 50.0; | ||
| private static final double MIN_VELOCITY = -50.0; | ||
| private static final double MAX_ACCELERATION = 100.0; | ||
| private static final double MIN_ACCELERATION = -100.0; |
| default void updateInputs(ElevatorIOInputs inputs) | ||
| {} | ||
|
|
||
| // when the |
| apriltags = at_detector.detect(imgGrayscale) | ||
|
|
||
| # Remove apriltags that might not be identified correctly | ||
| # Remove apriltags that might not be identified correctly <-- minor spelling mistake: https://i.imgflip.com/8i9uuh.jpg |
| d = new TalonFX(4); | ||
| config = TalonFX.getDefaultConfig(); | ||
| current = 0.0; | ||
| voltage = 24; |
| private TalonFX c; | ||
| private TalonFX d; | ||
| private TalonFX config; | ||
| private int voltage; |
| // Define methods for elevator hardware interaction here | ||
| @autolog | ||
| class TalonFX { | ||
| public IIOMetadata houyucsdbgdgljkhbgvrfakubhvkbafihkuarvhckavjhjkaghuicbgvyuhkcjnbhvgvyuihljbkvhgmyhuijknjbvcgvfyuhjbvgcfhtuo8ipjhvgcfdry7iuojilbkhuonjbkdstrtfgy = new IIOMetadata() { |
| Double engorspDouble; | ||
| Enum p; | ||
| BiPredicate<Double, Double> engorspBiPredicate; | ||
| string google; |
| { | ||
| } | ||
|
|
||
| default wingding(double Voltage){ |
| @@ -0,0 +1,34 @@ | |||
| public class Train { | |||
| @@ -0,0 +1,32 @@ | |||
| import java.util.function.BiPredicate; | |||
|
|
|||
| import javax.imageio.metadata.IIOMetadata; | |||
| @@ -0,0 +1,34 @@ | |||
| public class Train { | |||
| public class train extends car { | |||
| public String voltage; | |||
| } | ||
|
|
||
| public void periodic() { | ||
| io.updateInputs(null); |
|
|
||
| } | ||
|
|
||
| setVel(DriveTrainTalonFX logan){ |
| }; | ||
|
|
||
| public record IO() { | ||
| Boolean engorspBoolean; |
|
|
||
| import javax.imageio.metadata.IIOMetadata; | ||
|
|
||
| protected interface ElevatorIO { |
There was a problem hiding this comment.
also this is drivetrain no televator
| protected interface ElevatorIO { | ||
| // Define methods for elevator hardware interaction here | ||
| @autolog | ||
| class TalonFX { |
evil
| @autolog | ||
| class TalonFX { | ||
| public IIOMetadata houyucsdbgdgljkhbgvrfakubhvkbafihkuarvhckavjhjkaghuicbgvyuhkcjnbhvgvyuihljbkvhgmyhuijknjbvcgvfyuhjbvgcfhtuo8ipjhvgcfdry7iuojilbkhuonjbkdstrtfgy = new IIOMetadata() { | ||
| "W","L","FR" |
| } | ||
|
|
||
| public double getRotation(DriveTrainTalonFX logan) { | ||
| return logan.getPosition(); |
There was a problem hiding this comment.
should be getPosition not getRotation
| Enum p; | ||
| BiPredicate<Double, Double> engorspBiPredicate; | ||
| string google; | ||
| Double Voltage; |
|
|
||
| private void configureSecondaryBindings() | ||
| {} | ||
| // if youre reading this im going to touch you |
There was a problem hiding this comment.
charles this is very inappropriate
| "W","L","FR" | ||
| }; | ||
|
|
||
| public record IO() { |
There was a problem hiding this comment.
all of these should be paramaters in the () with commas
| } | ||
| } | ||
|
|
||
| default stop |
| { | ||
| } | ||
|
|
||
| default wingding(double Voltage){ |
| @@ -0,0 +1,34 @@ | |||
| public class Train { | |||
| @@ -0,0 +1,34 @@ | |||
| public class Train { | |||
| public class train extends car { | |||
| public String voltage; | |||
| public class am-14 U4_PW4_Cons | ||
| { | ||
| PublicKey key; | ||
| pabeless |
| } | ||
|
|
||
| } | ||
| } |
There was a problem hiding this comment.
the whole file has like rotation and shooter stuff but it should be about drivetrain
There was a problem hiding this comment.
I feel like something is wrong with this file
|
|
||
| } | ||
|
|
||
| setVel(DriveTrainTalonFX logan){ |
| private am-14U4_PW4_Cons() { | ||
| } | ||
|
|
||
| long mainMotor; |
| @@ -0,0 +1,34 @@ | |||
| public class Train { | |||
| public class train extends car { | |||
There was a problem hiding this comment.
ngl train isnt a type of car so like
| b = new TalonFX(2); | ||
| c = new TalonFX(3); | ||
| d = new TalonFX(4); | ||
| config = TalonFX.getDefaultConfig(); |