Go to Post Consider yourself mentored, you have learned a lesson: "Don't stick your hands in icky things." - Amanda Morrison [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 06-02-2010, 17:38
ygd ygd is offline
Registered User
FRC #3341 (Manhattan Project)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: San Diego
Posts: 26
ygd is an unknown quantity at this point
Question Dashboard not working

I'm using Java, my code for the Dashboard looks like this:

Code:
Dashboard lowDashData = DriverStation.getInstance().getDashboardPackerLow();

        lowDashData.addCluster(); {
            lowDashData.addCluster(); {
                lowDashData.addDouble(j1.getX());
                lowDashData.addDouble(j1.getY());
            } lowDashData.finalizeCluster();

            lowDashData.addCluster(); {
                lowDashData.addDouble(j2.getX());
                lowDashData.addDouble(j2.getY());
            } lowDashData.finalizeCluster();
        } lowDashData.finalizeCluster();

        lowDashData.commit();
        System.out.println("Dashboard updated");
Where j1 is the left joystick and j2 is the right joystick.

When I run my code, this shows up on the classmate:

Quote:
Warning: The Dasboard Datatype used thy the robot project and this dashboard do not match. See Diagram for more details.
What's going on here and how can I fix it?
Reply With Quote
 


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
Camera working in C++ and default dashboard pafwl C/C++ 0 03-02-2010 22:06
Deploying not working bobwrit NI LabVIEW 1 16-02-2009 22:09
NI Dashboard only partially working? Tim Skloss Programming 4 05-01-2009 10:37
p2 not working? Lone_Wolf92c Programming 5 22-02-2008 08:49
IR Board Not Working (But NOT Fried) itsme Electrical 2 18-02-2008 06:11


All times are GMT -5. The time now is 10:46.

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