Go to Post we learned that's what happens when you start building without even thinking about weight. next year, we'll lighten everything BEFORE we mount it. - greencactus3 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   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
  #2   Spotlight this post!  
Unread 21-01-2010, 09:05
a kenny03 a kenny03 is offline
Robotics for life(stupid classmate)
AKA: PICKELL!!!
FRC #0219 (Team Impact)
Team Role: Leadership
 
Join Date: Oct 2009
Rookie Year: 2008
Location: New Jersey
Posts: 65
a kenny03 is an unknown quantity at this point
Send a message via AIM to a kenny03
Re: sending info to a console

yeah. i want something like the console from last year. we use windriver, and our team was able to get output data from the robot. thats what we are trying to replicate or get as close as possible
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2010, 16:44
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: sending info to a console

Quote:
Originally Posted by James Dempsey View Post
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.
I believe that's inaccurate. If you want to send strings to the User Messages, on the Driver Station, you need to use the DriverStationLCD class. If you want to send data to a Dashboard (where you would have to add a text box or other controls), then you use the Dashboard class.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2010, 21: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

Yes my mistake. I was extremely tired when I responded to this post. The DashboardLCD class should be the class you would use. Here is the link for methods and such:
http://www.wbrobotics.com/javadoc/ed...tationLCD.html

Again sorry for the confusion there on my misinformation, my bad.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending data from RC to OI Nathan Programming 7 03-02-2008 22:32
sending extra information to the OI iwdu15 Programming 2 06-02-2007 20:05
Sending variables to Auto Mode Adrien Programming 4 19-02-2006 21:51
Sending data back to the OI DanDon Programming 13 26-01-2006 15:17
Sending Data Raven_Writer Programming 8 11-09-2003 16:28


All times are GMT -5. The time now is 09:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi