|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Help with dashboard packing...
Alright. So I modified the dashboard and removed everything from it except the camera image and the robot IP (which was needed for the image to show). Then I added a single boolean indicator, and put this in my code:
Code:
...
Dashboard *dash;
...
void SendDashboardData()
{
dash = &DriverStation::getInstance()->GetHighPriorityDashboardPacker();
dash->AddBoolean(true);
dash->Finalize();
}
What's the proper way to do this? I've looked at the DashboardDataFormat.cpp example but it seems to be written for the default dashboard with all the clusters on it. Also, what's the difference between the high and low priority packers? Can they be used interchangeably? Last edited by Al3+ : 02-04-2010 at 11:42 PM. |
|
#2
|
|||
|
|||
|
Re: Help with dashboard packing...
Quote:
Quote:
Quote:
They can be used interchangably, as long as you interchange them on the dashboard side and the robot side at the same time. -Joe |
|
#3
|
||||
|
||||
|
Re: Help with dashboard packing...
Yes, some time after the robot starts, the tabs and buttons stop responding to presses, and I can't do anything. The only way to get out of it is to reboot or to end it with Task Manager.
I'm not sure whether it's directly connected to the dashboard problem, but it stopped happening after I commented out the code. Maybe I should upload my dashboard file. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dashboard Help C++ Windriver | ranc | Programming | 0 | 01-15-2010 03:26 PM |
| Monitering C++ Code With A LabVEIW Dashboard | Happyisgood | C/C++ | 6 | 07-14-2009 05:23 PM |
| Help with connecting default dashboard project | mminutto | NI LabVIEW | 2 | 01-30-2009 03:26 PM |
| Packing for FL | archiver | 2001 | 4 | 06-24-2002 01:58 AM |