summaryrefslogtreecommitdiff
path: root/AltOS/index.mdwn
blob: 30a92799dffd78cc4b350348156172b458c81b2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# AltOS

This is Keith's "operating system" for [TeleMetrum](../TeleMetrum/).

## Motivation ##

[FreeRTOS](http://freertos.org) turned out to be too heavy for our needs, so
Keith started over from scratch and wrote something that does just what we 
needed.

In addition to the firmware for [TeleMetrum](../TeleMetrum) and 
[TeleDongle](../TeleDongle) boards, the AltOS source tree also includes a
number of utilities useful for monitoring and logging telemetry during flight,
post-processing flight data for analysis, and utilities for updating firmware,
and developing and debugging new functionality.  The first generation of these
utilities were Linux-only, but our current second-generation software written
largely in [Java](http://java.com) with a small platform-specific library on 
each supported operating system works absolutely identically on Windows, Mac, 
and Linux systems!

## Features ##

### User View ###

### Developer View ###

* Licenses
	* The software is licensed [GPL version 2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)

## Problems ##

## Artifacts ##

The source is available from [git.gag.com](http://git.gag.com) in the project 
[fw/altos](http://git.gag.com/?p=fw/altos;a=summary).  

### Linux ###

If you use [Debian](http://www.debian.org), then a pre-built package for 
32-bit x86 is currently available here:

	wget -O - http://altusmetrum.org/apt/altusmetrum.key | apt-key add -
	wget -O /etc/apt/sources.list.d/altos.list http://altusmetrum.org/apt/altos.list
	apt-get update
	apt-get install altos

If you use some other distribution of Linux, then 
a [Linux package](Altos-Linux.tgz) of our second-generation Java bits that 
should run on any distribution with a modern Java version is also 
available.  Unlike the Debian pacakge, which depends on various libraries
already part of the Debian distribution, this package includes a "fat" jar
file with all of the Java libraries that aren't part of the basic Java runtime
environment included, so it should "just work" on any system with Java 6.  
Development and testing is done with OpenJDK 6, but current downloads from 
[java.com](http://java.com) should be fine too.

If you'd rather build from source, our source tree includes documentation on 
how to build packages for various
Linux systems such as [Arch Linux](http://www.archlinux.org), and the 
debian/ directory contains all the control
files for building the Debian packages on other architectures or derivatives
such as [Ubuntu](http://ubuntu.com).

Bdale has also created a theme for 
[GDM](http://projects.gnome.org/gdm/) that he uses on his primary notebook,
and the 
[Simple Login Manager](http://slim.berlios.de/) that he uses on all of his
other machines and which is ideally suited for machines dedicated to AltOS 
ground station use.  It includes a photo of a drag-race between 
nearly-identical rockets
built by Keith and Bdale, that was the first time either of us gave TeleMetrum
complete control of a rocket flight without some other backup!  This theme is 
available in the same repository, to install it just install either gdm or
slim (both already available in Debian), and then do:

	apt-get install altusmetrum-themes

### Mac ###

A [Mac OS X package](Altos-Mac.zip) that is compatible with 
versions 10.5 "Leopard" and later (including 10.6 "Snow Leopard") is now 
available.  The Mac operating system includes Java, and all Altus Metrum
products show up as simple USB serial ports, so this should just work
with no additional drivers or other dependency issues.  Older versions of 
the Mac operating system come with Java version that are too old for use 
with Altus Metrum software, and we know of no way to update the Java version
other than upgrading to a newer operating system.

### Windows ###

Our [Windows package](Altos-Windows.zip) is known to work on XP and 
32-bit Windows 7 Enterprise.  If you don't already have Java installed, 
download and install a current Java 6 version from [java.com](http://java.com)
first.  Then download our zip and extract the files.  Windows already has 
the required USB serial device driver, but you will probably need to manually
point to the telemetrum.inf file included in the download when you first plug 
in an Altus Metrum device to "train" Windows to know that it's ok to use the 
existing driver to support our products.  Once that's taken care of, just
clicking on the 'altosui' program should work to launch the user interface.
Reports of success or failure with other versions of Windows would be 
appreciated!