FIRST Forums  

Go Back   FIRST Forums > General Discussions > FIRST Programs > FIRST Robotics Competition > Competition Discussion > Control System > Operator Console

Reply
 
Thread Tools
  #1  
Old 01-31-2010, 03:04 PM
rdk1024 rdk1024 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Default Dashboard not updating

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.
Reply With Quote
  #2  
Old 01-31-2010, 04:40 PM
jross jross is offline
Senior Member
 
Join Date: Sep 2008
Posts: 516
Default Re: Dashboard not updating

Yes, you do have to have code for the dashboard. Look at the Dashboard Example or the Circle Tracker Example.
__________________
Team 330 beta tester
Reply With Quote
  #3  
Old 01-31-2010, 07:26 PM
rdk1024 rdk1024 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 4
Default Re: Dashboard not updating

OK, sounds like good advice. Where can I find those examples? Are they available on a web page or PDF document somewhere?
Reply With Quote
  #4  
Old 02-01-2010, 12:37 AM
jross jross is offline
Senior Member
 
Join Date: Sep 2008
Posts: 516
Default Re: Dashboard not updating

Look in the samples folder when you create a new project.
__________________
Team 330 beta tester
Reply With Quote
Reply

Tags
dashboard


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.