python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
FRC Limelight not posting to NetworkTables
I have a roborio 1, limelight 2, OpenMesh radio and this code:
SmartDashboard.putNumber(NetworkTableInstance.getDefault().getTable("limelight").getEntry("tx").getDouble(0));
Howev...
FrederickAmpsUp
Votes: 0
Answers: 1
ADXRS450 Gyro not reading
I have a roborio 1, with an ADXRS450 gyro plugged in to the SPI port. I have tried to access it with the following code:
...
private ADXRS450_Gyro compass = new ADXRS450_Gyro(SPI.Port.kOnboardCS0);
...
FrederickAmpsUp
Votes: 0
Answers: 1
How can I test if the LTrigger or RTrigger from Xbox controller is pressed in java?
So I am trying to check if the LTrigger or the RTrigger is pressed. Here is what I am trying to do.
public double getLeftTriggerAxis() {
return getRawAxis(Axis.kLeftTrigger.value);
}...
Engineer627
Votes: 0
Answers: 0