Rose-Hulman Robotics Team

Changeset 636

Show
Ignore:
Timestamp:
01/28/10 21:39:44 (2 years ago)
Author:
mosttw
Message:

Updated transcript to save logs to logs/ instead of /tmp/

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/software/rb/controller.py

    r626 r636  
    1818from Queue import Queue, Empty 
    1919from thread import start_new_thread, get_ident 
     20from datetime import datetime 
    2021import logging 
    2122 
     
    131132                        from rb.transcript import TranscriptLogger 
    132133                        self.transcript = TranscriptLogger( 
    133                                         '/tmp/rblog.txt', 
     134                                        datetime.now().strftime('logs/rblog-%Y-%M-%d-%H:%m:%s.txt'), 
    134135                                        self.drive, self.gps, self.microstrain) 
    135136