View Single Post
  #9   Spotlight this post!  
Unread 05-11-2010, 18:31
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Custom Dashboard Program Ideas?

The default dashboard is really slow. Apparently this is because of the graphs.
The iteration time is not set directly. The main loop iterates every time it gets a data packet from the robot. (Those data packets should be sent by the robot every time its main loop runs, and those runs are triggered by the packets coming from the driver station, etc.)

I noticed during testing that it takes around 10 seconds for the inputs to update while disabled (I have no idea why this is), and around 1.5 seconds while enabled, using the default dashboard. My custom dashboard is about 1 second, all the time. This is because of the default handling of the crio end, only updating the low priority dashboard data every 25 iterations (the high priority data, which in the default code is the tracking data, is updated every iteration).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack