Log in

View Full Version : Need help with Driver Station User Message


Jakub
17-01-2010, 18:15
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
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
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
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/showthread.php?t=79352)

Jakub
17-01-2010, 20:26
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
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! ;)

And it is now in the WPI C++ library.

Yep... finaly a first class citizen.