Hello, we are having problems getting the ty variable from the limelight. We can see the data on the smartboard, but on the code, it doesn’t appear to update the our outputted data values. thanks. here is the git https://github.com/lhazard22/2022_Official/blob/master/src/main/java/frc/robot/subsystems/Shooter.java
You have one line of code which uses a table name of
Limelight and another which uses a table name of
limelight. What does OutlineViewer show as the actual table name?
Side note: it doesn’t change the code behavior, but you can call getEntry just once in the constructor, save the NetworkTableEntry it returns, and only call getDouble et al. It’s a bit more readable and a tiny performance win too.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.