Hey guys,
I’m attempting to program our robot this year with a limelight 1 for vision tracking. I have a program made right now in my periodic tasks but it’s not doing anything. here is the code I have right now
Is this built correctly?
Hey guys,
I’m attempting to program our robot this year with a limelight 1 for vision tracking. I have a program made right now in my periodic tasks but it’s not doing anything. here is the code I have right now
I think the first step I would suggest is checking the cluster that is coming out with the values that are being read from the Network Tables Tags. Are they the same numbers you see in the Limelight’s Web Interface?
Make sure your team number is set in the settings page of your Limelight! Also make sure it matches the team numbers set in your driverstation, dashboard, RIO, and radio.
So I set it up like you showed if I run the periodic tasks like that in LabVIEW is it suppose to show the values in the program if it is it’s not for me.
Yes it is and I also set a static ip for the limelight as well.
So, we know two things:
Now, what can you check:
Seems that the variables should be there to read them correctly… I wonder, are you running Robot Main.vi to test, or just Periodic Tasks.vi? If is the latter, I recommend trying with Robot Main.vi to make sure the Network tables server is running…
I think your right @oscarfonloz based on the symbol of the run arrow.
I was running just the Periodic Tasks.vi
We left for the day so I’ll try running the robot main.vi on the next day we meet up which is on Saturday.
So I was able to run from the Robot main and I am getting values now.
How would I pull the values now to control the robot?
I’m sure there’s lots of ways that could be done. Try searching CD for LabVIEW code releases from 2017. The vision challenge that year was quite similar to this year’s.
I got it to work now which is awesome!!!
Thank you guys so much for the help I greatly appreciate it!