]> git.gag.com Git - web/altusmetrum/blob - AltOS/index.mdwn
5efc65626ffc7760e3aad3bb468e238d80923e5b
[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
8 includes AltosUI, which provides for flight monitoring, post-flight
9 analysis, device configuration and firmware updating. AltosUI runs on
10 Linux, Mac OS X and Windows. It's written in [Java](http://java.com)
11 and offers the same functionality and interface on all three
12 platforms. A small platform-specific library communicates with the USB
13 interface on the Altus Metrum devices.
14
15 There are also Linux-specific tools that provide lower level access to
16 the devices which are useful for developing firmware for the devices.
17
18 We maintain a list of [launch site GPS coordinates](launch-sites.txt).  If 
19 your favorite launch site isn't included, please let us know!
20
21 ## Available Versions ##
22
23 There is a single manual for all Altus Metrum products, which is available 
24 in [html](doc/altusmetrum.html) and [pdf](doc/altusmetrum.pdf) formats.
25
26 [[!inline pages="./releases/* and !*/Discussion and !*.html and !*.bz2 and !*.zip and !*.exe" show="10" rss="no" raw="yes" ]]
27
28 The latest source, which may include unreleased work in progress, is always 
29 available from [git.gag.com](http://git.gag.com) 
30 in the project [fw/altos](http://git.gag.com/?p=fw/altos;a=summary).  
31
32 If you need to debug code on an Altus Metrum product, you may want our special
33 version of SDCC containing a highly modified sdcdb with support for the cc1111
34 debugging interface, which you can find on [git.gag.com](http://git.gag.com) 
35 in the project [fw/sdcc](http://git.gag.com/?p=fw/sdcc;a=summary).  This is
36 not necessary if you just want to rebuild AltOS and use it.
37
38 ## Future Plans ##
39
40 Bug reports, feature requests, and planning for AltOS releases happens
41 on the [Altus Metrum Trac Site](http://trac.gag.com/altusmetrum).
42
43 A number of features are implemented or in process in the sources available
44 in our publicly visible repository that are not part of the current stable
45 release.
46
47 * A Kalman-filter based approach to apogee detection using more than just the
48   baro sensor, so that we can safely control apogee ejection on flights to
49   altitudes beyond the range of our baro sensor alone.  Unlike the other items
50   on the list, this will be a significant change to the in-rocket TeleMetrum
51   firmware.  It may therefore be a while before this becomes part of a stable 
52   firmware release.
53
54 * Motor characterization. Because TeleMetrum contains a
55   high-resolution, high-frequency accelerometer, it is possible to
56   take the data from that and compute an accurate thrust curve for
57   the motor.
58
59 * Comprehensive PDF and/or HTML -based flight report. Construct a
60   complete report of the flight suitable for publication on the web
61   that includes graphs of the flight and details about motor
62   performance etc.
63    
64 * Publish flight data to the Altus Metrum web site. This will allow
65   you to share your flight data with others, and let you download
66   flights published by others.
67
68 There are any number of additions that could be made to this list; feel free 
69 to send along ideas that you’ve got. Of course, all of this software is 
70 licensed under the GNU General Public License, so you can get the source and 
71 hack on it in the comfort of your own home.
72
73 ## Platform Specific Notes ##
74
75 ### Linux ###
76
77 If you use [Debian](http://www.debian.org), then a pre-built package for 
78 32-bit x86 is currently available here:
79
80         wget -O - http://altusmetrum.org/apt/altusmetrum.key | apt-key add -
81         wget -O /etc/apt/sources.list.d/altos.list http://altusmetrum.org/apt/altos.list
82         apt-get update
83         apt-get install altos
84
85 If you use some other distribution of Linux, then 
86 a Linux package of our second-generation Java bits that 
87 should run on any distribution with a modern Java version is also 
88 available.  Unlike the Debian pacakge, which depends on various libraries
89 already part of the Debian distribution, this package includes a "fat" jar
90 file with all of the Java libraries that aren't part of the basic Java runtime
91 environment included, so it should "just work" on any system with 
92 Java 6.  Development and testing is done with OpenJDK 6, but current 
93 downloads from [java.com](http://java.com) should be fine too.
94
95 If you'd rather build from source, our source tree includes documentation on 
96 how to build packages for various
97 Linux systems such as [Arch Linux](http://www.archlinux.org), and the 
98 debian/ directory contains all the control
99 files for building the Debian packages on other architectures or derivatives
100 such as [Ubuntu](http://ubuntu.com).
101
102 Bdale has also created a theme for 
103 [GDM](http://projects.gnome.org/gdm/) that he uses on his primary notebook,
104 and the 
105 [Simple Login Manager](http://slim.berlios.de/) that he uses on all of his
106 other machines and which is ideally suited for machines dedicated to AltOS 
107 ground station use.  It includes a photo of a drag-race between 
108 nearly-identical rockets
109 built by Keith and Bdale, that was the first time either of us gave TeleMetrum
110 complete control of a rocket flight without some other backup!  See the themes/
111 directory in the source tree (the themes are included in the Debian package).
112
113 ### Mac ###
114
115 A Mac OS X package that is compatible with versions 10.5 "Leopard" and
116 later (including 10.6 "Snow Leopard") is available.  The Mac operating
117 system includes Java, and all Altus Metrum products show up as simple
118 USB serial ports, so this should just work with no additional drivers
119 or other dependency issues.  Older versions of the Mac operating
120 system, and even newer versions for PowerPC-based machines, come with
121 Java version 5 or older, which is too old for use with Altus Metrum
122 software. We know of no way to update the Java version other than
123 upgrading to a newer operating system (for Intel based macs) or
124 purchasing new hardware (for PowerPC based macs).
125
126 ### Windows ###
127
128 Our Windows package is known to work on at least some flavors of XP, Vista, and 
129 Windows 7 Enterprise. If you don't already have Java installed, 
130 download and install a current Java 6 version from [java.com](http://java.com)
131 first.  Then download our installer and run it.  Windows already has 
132 the required USB serial device driver, and our package should do the right
133 things to bind it to our devices, but if you get a complaint about the device
134 being unrecognized, try pointing to the copy of the telemetrum.inf file 
135 included in the package directory manually.
136
137 ## License ##
138
139 The firmware and associated software are licensed [GPL version
140 2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)