![]() |
Driver Station User Messages Not Updating
Hello, we are currently working on vision tracking for our robot using Wind River C++. We were attempting to use messages as debugs and realized that we are not receiving updates in the 'User Messages' section of the Driver Station.
This is the code being used to send and update messages to the Driver Station: Code:
dsLCD->Printf(DriverStationLCD::kUser_Line1, 1,"Message\n");Any ideas??? |
Re: Driver Station User Messages Not Updating
I'm not sure if this fixes your problem, but we've been printing data to the driver station like this:
Code:
//initialize Code:
dsLCD->Printf(DriverStationLCD::kUser_Line1, 1, "Here is some text");Code:
dsLCD->PrintfLine(DriverStationLCD::kUser_Line1, "Here is some more text"); |
Re: Driver Station User Messages Not Updating
Quote:
Your code will write "Message" on line 1 starting at column 1. If you run it again it will do the same thing. Maybe try something like this to see if it's updating: Code:
dsLCD->Printf(DriverStationLCD::kUser_Line1, 1, "Time %8.3f", Timer::GetPPCTimestamp()); |
Re: Driver Station User Messages Not Updating
Thanks, we were able to debug the code with that :)
|
| All times are GMT -5. The time now is 18:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi