View Single Post
  #1   Spotlight this post!  
Unread 27-03-2010, 20:24
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: need Dashboard help

Quote:
Originally Posted by Zme View Post
questions are not a problem, how else would people learn?

the person that told you they are picked up by default may not of been wrong, i believe they might be in labview but i can't confirm that myself.

as for modifying the dashboard data sender file, you want to open up the .cpp file and look for the following lines

dash.AddFloat((float) i * 5.0 / 8.0);
dash.AddU16((short) 0xAAAA);
dash.AddU16((short) 0x7777);
dash.AddU8((unsigned char) (i-1) * 255 / 9);
dash.AddU8((unsigned char) i * 255 / 10);

(I think this is all of them but i'm not sure, look around, if you see anything that looks odd feel free to ask)

around these lines should be a commented out line, usually right next to it, uncomment it and comment out the current line and try that it should get you up and running
Thank you very much for you help!! We're in the semi-finals already, and I wont be able to update the program, but we should be up and running after the regionals, Thank you x]. And FYI, he is using java, but I assumed it should be quite similar.
Reply With Quote