diff --git a/.gitignore b/.gitignore index ba9b17d..2955ea6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ __pycache__/ *.py[cod] # C extensions -*.so # Distribution / packaging .Python diff --git a/README.md b/README.md index 772fece..27c50ff 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # TYOS -0.5.2
+0.5.6
A mobile operating system for the TyTelli. copyright :copyright: 2015 Tyler Spadgenske diff --git a/apps/camera/app.py b/apps/camera/app.py index 3631417..2dc46df 100644 --- a/apps/camera/app.py +++ b/apps/camera/app.py @@ -19,14 +19,14 @@ def __init__(self): self.no_files = False #Get current photo name index try: - index_file = open('/home/pi/tyos/apps/camera/index.dat', 'r') + index_file = open('/home/pi/index.dat', 'r') except: #Create new file if needed - index_file = open('/home/pi/tyos/apps/camera/index.dat', 'w+') + index_file = open('/home/pi/index.dat', 'w+') index_file.write('0') index_file.close() - index_file = open('/home/pi/tyos/apps/camera/index.dat') - print 'NO INDEX FILE. CREATED /home/pi/tyos/apps/camera/index.dat' + index_file = open('/home/pi/index.dat') + print 'NO INDEX FILE. CREATED /home/pi/index.dat' self.index = int(index_file.readline()) index_file.close() @@ -154,8 +154,8 @@ def display(self): if event.pos[0] > 255: if self.mode == 'capture': print 'exiting...' - os.remove('/home/pi/tyos/apps/camera/index.dat') - new = open('/home/pi/tyos/apps/camera/index.dat', 'w+') + os.remove('/home/pi/index.dat') + new = open('/home/pi/index.dat', 'w+') new.write(str(self.index)) new.close() cam = Popen(['sudo', 'python', '/home/pi/tyos/src/main.py']) diff --git a/apps/camera/yuv2rgb.so b/apps/camera/yuv2rgb.so new file mode 100644 index 0000000..b39c3fa Binary files /dev/null and b/apps/camera/yuv2rgb.so differ diff --git a/src/main.py b/src/main.py index a056cc2..c65b3a1 100644 --- a/src/main.py +++ b/src/main.py @@ -11,7 +11,7 @@ current version of TYOS. If higher, you can update. To get your version of TYOS run the command sudo python /home/pi/tyos/src/main.py --version ''' -VERSION = '0.5.4' +VERSION = '0.5.6' #Set to True if you do not want the time modified off the FONA USE_RAW_TIME = False