View Single Post
  #6   Spotlight this post!  
Unread 19-12-2016, 18:47
phurley67 phurley67 is online now
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 65
phurley67 is an unknown quantity at this point
Re: Data Logging Through Driverstation

Our code will create a new file (with a new header record) every time the robot code restarts -- if it due to power loss, redeploy, or restart. It is pretty trivial to join a couple csv files either using bash script or in an editor.

Right now we are using sequential numbering, as we did all our off season testing using the qdriverstation and the date/time on the rio was not getting set. Probably going to change that, but it works as it (plus if the date is set the file's timestamps will be accurate).
Reply With Quote