Quick question… Our Programming Team spent half the day trying to control our Limelight 2 through the NT using the SetNumber() command.
As we were trying to control basic tasks such as turning the LED on and off, nothing would happen. I wrote some code in Java to read the values from the NT before we run the LEDOn command, and read the value from the table again after we issued the command and perform a System.out.println of the value. We verified that the values are successfully being updated to the expected values (1.0 and 3.0) in the NT.
The Limelight is completely powered up. On the network. Updating its console, and etc.
After a fair amount of frustration trying to debug, my co-mentor decided to deploy my code on last year’s robot, which uses a Limelight 2, but has last year’s firmware. (2019.5). When he deployed the code, the Limelight on last year’s bot worked as expected.
Both bots use the same model of Limelight, had the same image on the RIO, and were running the same code. The only difference is this year’s bot’s Limelight is running the updated 2020.1 image.
Has anyone seen this yet this year? My next step is going to be to downrev the Limelight back to a version that worked last year and test it again. I hate to do that though because we want the improvements that come with the new image.
Any thoughts??
Thanks in advance!