View Single Post
  #2   Spotlight this post!  
Unread 28-12-2014, 15:10
KPSch KPSch is offline
Registered User
AKA: Ken Schenke
FRC #1987 (Broncobots)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Lee's Summit, MO USA
Posts: 38
KPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to all
Re: Command Based Auto - Windriver C++ Having trouble to add sequential auto commands

Quote:
Originally Posted by dougwilliams View Post
What documentation are you seeing that in, please? Finding good WPILIb documentation is difficult. Looking at WPILib Timer C Code, it specifically mentions seconds. In the code we have it print the timer value each iteration through the DriveAuto call, and it increases between .1 and .2 (seconds) each time. The robot stops after .3. In actuality, I would say it moves for about 1 second.
I found two different sources and they conflict. One says milliseconds, here: http://users.wpi.edu/~bamiller/WPIRo...$@#$@#$@#_timer.html. I'm guessing it's incorrect. The other source I found was here: http://amhsrobotics.com/oldsitev3/wp...8h_source.html.

The best place I've found (sortof) documentation is inside WindRiver itself. Hold down Ctrl while clicking on a class name and it will take you to the header file. It does, indeed, look like it's in seconds.
Reply With Quote