Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Need help with Driver Station User Message (http://www.chiefdelphi.com/forums/showthread.php?t=80445)

Jakub 17-01-2010 18:15

Need help with Driver Station User Message
 
I may have missed something, but i thought the User Message box displayed in the bottom right of the classmate driver station is for our own information display. Such as values that aren't being displayed in the dashboard above. (For example verification of correct Autonomous mode selected)

Last year we accomplished this with the help of the DashboardLCD class.

If we can still print to the User Message box does anyone know how?
I tried looking at the 'Dashboard packer' but it there does not seem to be a place in either cluster constructs for that user message. Though i may have missed it.

Thanks in advance for any help or clarification.

Mark McLeod 17-01-2010 19:10

Re: Need help with Driver Station User Message
 
LabVIEW has a "Write User Msg" vi that packs that stuff into the DS packet, so there's room for it.
However, the details are password protected.

P.S. Sorry, I meant to say DS packet, not Dashboard packet.

Joe Ross 17-01-2010 19:36

Re: Need help with Driver Station User Message
 
In Java, it's the DriverStationLCD class. In LabVIEW, it's the Write User Message VI. I assume there is something similar in C++. If you could probably use last year's version (remember that it was not a part of WPILib, but a separate download)

The data is sent completely independently of the Dashboard.

byteit101 17-01-2010 20:16

Re: Need help with Driver Station User Message
 
C++ WPILib 4 has DriverStationLCD class (not separate download)
Haven't tried it yet though. If it works I will see how well it handles Pong (http://www.chiefdelphi.com/forums/sh...ad.php?t=79352)

Jakub 17-01-2010 20:26

Re: Need help with Driver Station User Message
 
Thanks that did work! It seems i had forgotten to call UpdateLCD() when i had tried it the first time. And it is now in the WPI C++ library.

Thanks!

jhersh 18-01-2010 00:40

Re: Need help with Driver Station User Message
 
Quote:

Originally Posted by Jakub (Post 901294)
Thanks that did work! It seems i had forgotten to call UpdateLCD() when i had tried it the first time..

Get's 'em every time! ;)

Quote:

Originally Posted by Jakub (Post 901294)
And it is now in the WPI C++ library.

Yep... finaly a first class citizen.


All times are GMT -5. The time now is 02:01.

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