Rose-Hulman Robotics Team

Changeset 639 for trunk/software

Show
Ignore:
Timestamp:
01/31/10 20:41:40 (2 years ago)
Author:
mosttw
Message:

Moved pics snapped by trigger to subdirectory, disabled auto by default

Location:
trunk/software
Files:
2 modified

Legend:

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

    r625 r639  
    158158                                                                from urllib import urlopen 
    159159                                                                img_bytes = urlopen(rbconfig.camera_still_url).read() 
    160                                                                 fn = 'snap%012d.jpg' % int(time.time()) 
     160                                                                fn = 'pics/snap%012d.jpg' % int(time.time()) 
    161161                                                                with open(fn, 'wb') as f: 
    162162                                                                        f.write(img_bytes) 
  • trunk/software/rbconfig.py

    r635 r639  
    2929camera_gst_input  = 'filesrc location="/home/tomwm/Videos/Still_Alive_Typography.flv" ! decodebin' 
    3030#camera_classifier = HARD 
    31 camera_still_url  = 'http://192.168.1.4:8081/bimg' 
     31camera_still_url  = 'http://192.168.27.3:8081/bimg' 
    3232 
    3333# Navigator helpers 
     
    3737 
    3838# Navigators 
    39 auto              = REAL 
     39auto              = NONE 
    4040 
    4141shell             = NONE