![]() |
|
#1
|
|||
|
|||
|
We have a bench-test setup with the Classmate PC, cRio, two Jaguars, and a Spike relay, and all the other usual hardware (power distribution, digital sidecar, etc.). We wrote some simple Java code, using the supplied WPI classes, to actuate the Jaguars and the Spike relay. All that seems to be working perfectly fine (i.e, the lights on the Jaguars/Spike respond as expected by changing color). I expected to see the Dashboard on the Classmate indicate that the Jaguars/Spike were operating, but I don't see that the Dashboard is getting any updates at all. Our Driver Station window shows the battery voltage properly as well as green lights in all the expected places, so it is not a communications problem between the Classmate and the cRio.
I am pretty sure that we installed the required updates to the Driver Station software, as well as the updated cRio image, etc. Is there something we have to change to get the Dashboard to get feedback from the cRio? Do we have to add some code to our Java program on the cRio to tell it to send information up to the Dashboard? Any advice would be appreciated. |
|
#2
|
|||
|
|||
|
Yes, you do have to have code for the dashboard. Look at the Dashboard Example or the Circle Tracker Example.
__________________
Team 330 beta tester |
|
#3
|
|||
|
|||
|
OK, sounds like good advice. Where can I find those examples? Are they available on a web page or PDF document somewhere?
|
|
#4
|
|||
|
|||
|
Look in the samples folder when you create a new project.
__________________
Team 330 beta tester |
![]() |
| Tags |
| dashboard |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|