01-25-2010 11:23 AM
I have been trying to use the Dashboard program and the FRC Robot program to learn how the camera tracks the target.
The only change that I made to the Dashboard program was to enter our team IP into the box on the front panel.
I started the Driver Station, the cRIO, and the Dashboard programs.
There is a good camera image being displayed on the Dashboard screen.
However, there is nothing showing up in the Tracking Data and Targets display.
I opened up the Find Circular Target.vi in the FRC Robot program and saw data being displayed there that looks like it should be sent to the Dashboard.
Is there something that needs to be "set" in one of the programs to provide the communication?
I was told that the Dashboard and FRC Robot programs should work together "right out of the box".
Thanks,
Mike
01-25-2010 01:08 PM
I am looking at this problem and in the Dashbaord Main.vi there is this comment in the block code diagram:
To modify the data for the dashboard, update the Dashboard Datatype.ctl
in your Robot project. Then replace the big constant to the left with the updated
datatype.
I can easily find the Dashboard Datatype.ctl in the FRC Robot project.
However, how do I "replace the big constant..."?
There is no Dashboard Datatype.ctl in the Dashboard project.
Where do I copy/move the Dashboard Datatype.ctl to?
thanks,
Mike
01-25-2010 02:50 PM
Right-click on the constant, choose Replace -> Select a VI... and find your Dashboard Datatype.ctl. I think that should do it. You'll probably need to make sure you click on the border of the constant, not its interior.
01-25-2010 02:54 PM
Robot215,
You should be able to drag the Dashboard Datatype.ctl from the Robot Project Project's project view into the Dashboard Main.VI's block Diagram.
This is shown in the [FRC 2010] Dashboard Tutorial.
01-26-2010 03:36 AM
Thank you all for the assistance.
I was able to update the Dashboard display.
Just as a side note; I learned that a second problem was that I am running the Driver Station and the Dashboard on my development laptop.
There are two buttons on the "Setup" screen in the Driver Station program. They are "Local Dashboard" and "Remote Dashboard". The default was "Remote". After selecting the "Local" button every thing is being displayed on my screen.