Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
\[[edit|http://wiki.eecs.umich.edu/delvecchio/index.php?title=Lab_Documentation&action=edit&section=51]\]

3. Solved: Car 2 compilation error (by Jeff D.)

Somehow the clock on car 2 got reset. Because of this, sometimes a compilation error saying " 'file name' had modification time 'time' in the future" because we are uploading files with timestamps from 2009 but the computer thinks its 2004 or 2005. I have changed the clock on the Desktop back to 2009, but for some reason this error will often pop up when a new file is uploaded and compiled. If the error comes up when you try to compile, you must use 'touch *' command to change the timestamps on the new files. The command 'touch *' affects all the files in the folder you are using the command, but it doesn't descend, this you must do yourself (unless you figured out how to make it descend, then post it). For example: if you upload UltraSteer, go into the Ultrasteer folder if the compilation error comes up, use 'touch *', then descend into all the folders in UltraSteer and use 'touch *'. Then it should compile fine. I suspect the reason that the problem still persists is that there is another clock on the computer that is still set a few years back. If anybody has any experience with this, please help.

To fix this, use the date command in the SSH window on the car to change the date.  The car does, in fact, have a different date than the desktop.  If you don't know how to change this you can search "linux changing date" online and it will tell you the syntax.  I have not gotten these errors since then.

Wiki Markup
\[[edit|http://wiki.eecs.umich.edu/delvecchio/index.php?title=Lab_Documentation&action=edit&section=52]\]

...