View Single Post
  #2   Spotlight this post!  
Unread 20-01-2010, 19:46
James Dempsey James Dempsey is offline
Overtired Programmer
AKA: Rooster Cogburn
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Victor, NY
Posts: 11
James Dempsey is an unknown quantity at this point
Re: sending info to a console

If you are trying to send an output to the console on a development computer, you must use the System.out.print or println methods to send data to the console wheter it be strings, integers, characters etc.

If you want to send information to the dashboard, look through the sample code provided with the FRC plugin in NetBeans.

Hope this helps
-
James D

Edit:
After re-reading your post it sounds like you are trying to send data to the User Messages section of the Dashboard. To access the lower part of the Dashboard you must use the class Dashboard. Here is an example of how to have a class object for the lower half of the Dashboard:

Dashboard lowDashData = DriverStation.getInstance().getDashboardPackerLow( );

You then have to add clusters in order to be able to send your data.
Again sorry if you already knew this but I hope this helped you

Last edited by James Dempsey : 20-01-2010 at 20:15. Reason: Additional Information
Reply With Quote