b3edfd74068e94989cbca12eba01ea2ac3f9a1f7
[web/altusmetrum] / AltOS / index.mdwn
1 # AltOS
2
3 AltOS is the name of Keith's firmware "operating system" for 
4 [TeleMetrum](../TeleMetrum/) and [TeleDongle](../TeleDongle/).
5
6 In addition to the firmware for [TeleMetrum](../TeleMetrum) and 
7 [TeleDongle](../TeleDongle) boards, the AltOS source tree also includes a
8 number of utilities useful for monitoring and logging telemetry during flight,
9 post-processing flight data for analysis, and utilities for updating firmware,
10 and developing and debugging new functionality.  The first generation of these
11 utilities were Linux-only, but our current second-generation software written
12 largely in [Java](http://java.com) with a small platform-specific library 
13 works identically on Windows, Mac, and Linux systems!
14
15 ## Features ##
16
17 ### User View ###
18
19 More documentation is coming soon, but in the meantime, 
20 most operations in the second-generation GUI are pretty easy to figure out.
21
22 ### Developer View ###
23
24 * The firmware and associated software are licensed [GPL version 2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
25
26 ## Artifacts ##
27
28 The source is available from [git.gag.com](http://git.gag.com) in the project 
29 [fw/altos](http://git.gag.com/?p=fw/altos;a=summary).  
30
31 ### Pre-Built Binary Packages by Platform ###
32
33 #### Linux ####
34
35 If you use [Debian](http://www.debian.org), then a pre-built package for 
36 32-bit x86 is currently available here:
37
38         wget -O - http://altusmetrum.org/apt/altusmetrum.key | apt-key add -
39         wget -O /etc/apt/sources.list.d/altos.list http://altusmetrum.org/apt/altos.list
40         apt-get update
41         apt-get install altos
42
43 If you use some other distribution of Linux, then 
44 a [Linux package](releases/current/Altos-Linux.tgz) of our 
45 second-generation Java bits that 
46 should run on any distribution with a modern Java version is also 
47 available.  Unlike the Debian pacakge, which depends on various libraries
48 already part of the Debian distribution, this package includes a "fat" jar
49 file with all of the Java libraries that aren't part of the basic Java runtime
50 environment included, so it should "just work" on any system with 
51 Java 6.  Development and testing is done with OpenJDK 6, but current 
52 downloads from [java.com](http://java.com) should be fine too.
53
54 If you'd rather build from source, our source tree includes documentation on 
55 how to build packages for various
56 Linux systems such as [Arch Linux](http://www.archlinux.org), and the 
57 debian/ directory contains all the control
58 files for building the Debian packages on other architectures or derivatives
59 such as [Ubuntu](http://ubuntu.com).
60
61 Bdale has also created a theme for 
62 [GDM](http://projects.gnome.org/gdm/) that he uses on his primary notebook,
63 and the 
64 [Simple Login Manager](http://slim.berlios.de/) that he uses on all of his
65 other machines and which is ideally suited for machines dedicated to AltOS 
66 ground station use.  It includes a photo of a drag-race between 
67 nearly-identical rockets
68 built by Keith and Bdale, that was the first time either of us gave TeleMetrum
69 complete control of a rocket flight without some other backup!  See the themes/
70 directory in the source tree (the themes are included in the Debian package).
71
72 ### Mac ###
73
74 A [Mac OS X package](releases/current/Altos-Mac.zip) that is compatible with 
75 versions 10.5 "Leopard" and later (including 10.6 "Snow Leopard") is now 
76 available.  The Mac operating system includes Java, and all Altus Metrum
77 products show up as simple USB serial ports, so this should just work
78 with no additional drivers or other dependency issues.  Older versions of 
79 the Mac operating system come with Java versions that are too old for use 
80 with Altus Metrum software, and we know of no way to update the Java version
81 other than upgrading to a newer operating system.
82
83 ### Windows ###
84
85 Our [Windows package](releases/current/Altos-Windows.zip) is 
86 known to work on XP and 
87 32-bit Windows 7 Enterprise.  If you don't already have Java installed, 
88 download and install a current Java 6 version from [java.com](http://java.com)
89 first.  Then download our zip and extract the files.  Windows already has 
90 the required USB serial device driver, but you will probably need to manually
91 point to the telemetrum.inf file included in the download when you first plug 
92 in an Altus Metrum device to "train" Windows to know that it's ok to use the 
93 existing driver to support our products.  Once that's taken care of, just
94 clicking on the 'altosui' program should work to launch the user interface.
95 Reports of success or failure with other versions of Windows would be 
96 appreciated!
97
98 ### Available Versions ###
99
100 - 0.7.1
101         - [Windows Installer](releases/0.7.1/Altos-Windows.exe)
102         - [Mac OS X Package](releases/0.7.1/Altos-Mac.zip)
103         - [Linux](releases/0.7.1/Altos-Linux.tgz)
104         - [Source Snapshot](http://git.gag.com/?p=fw/altos;a=snapshot;h=refs/tags/0.7.1;sf=tgz)
105
106 - old
107         - [Windows Installer](releases/old/Altos-Windows.exe)
108         - [Mac OS X Package](releases/old/Altos-Mac.zip)
109         - [Linux](releases/old/Altos-Linux.tgz)