<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/ao_flight.c, branch debian/1.2.1-1</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.2.1-1</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.2.1-1'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2011-08-26T03:49:11+00:00</updated>
<entry>
<title>altos: Restructure altos build to prepare for multi-arch support</title>
<updated>2011-08-26T03:49:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-26T03:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de'/>
<id>urn:sha1:9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de</id>
<content type='text'>
Split out sources into separate directories:

	core:		architecture and product independent bits
	cc1111:		cc1111-specific code
	drivers:	architecture independent drivers
	product:	product-specific sources and Makefile fragments
	util:		scripts for building stuff

This should have no effect on the built products, but testing is encouraged

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: use raw height while waiting for landing</title>
<updated>2011-08-14T06:58:03+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-14T06:58:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=709485f20fb039f8dd087c8491c5f5a76718ae53'/>
<id>urn:sha1:709485f20fb039f8dd087c8491c5f5a76718ae53</id>
<content type='text'>
This avoids any noise introduced by the kalman filter, making landing
detection much more reliable. This patch also changes the interval to
10s so that the height bounds can be increased to 4m.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Require sequencing through 'main' state before landing</title>
<updated>2011-08-02T09:09:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-02T09:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=82e04a0e3a3296288a524ec582785a36fd644331'/>
<id>urn:sha1:82e04a0e3a3296288a524ec582785a36fd644331</id>
<content type='text'>
The old version of the code would permit the flight to go straight
from 'drogue' to 'landed' without passing through 'main' at all. This
meant that a false landing detection would leave the main charge
unfired, potentially causing the airframe to land on drogue alone.

Requiring that the flight sequence pass through main ensures that the
main charge will get fired at the right time, although if the airframe
lands higher than that altitude, it will not go to 'landed' mode ever.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Average height values for landing detection</title>
<updated>2011-08-02T07:30:08+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-02T05:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e19a117b99e8374ca0e8e35948e23bc672ad1a32'/>
<id>urn:sha1:e19a117b99e8374ca0e8e35948e23bc672ad1a32</id>
<content type='text'>
Instead of using the direct output of the kalman filter and hoping
that is quiet enough to detect landing, filter that with a long
exponential decay filter and then check to make sure that doesn't
change more than 2m in 5 seconds as a trigger for landing detection.

Tested with existing telemetrum flight logs and it correctly detects
landing in all cases.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Switch ao_flight and ao_flight_nano __xdata to __pdata</title>
<updated>2011-07-06T22:51:52+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-07-06T22:51:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=038d7b25ba833da4be458409670d3f95e8aaf17b'/>
<id>urn:sha1:038d7b25ba833da4be458409670d3f95e8aaf17b</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Run RDF beacon after apogee instead of waiting for landing</title>
<updated>2011-03-30T01:10:46+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-03-30T01:10:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=011e37f27b3926a42c8c1a74e0f179bb48829ec7'/>
<id>urn:sha1:011e37f27b3926a42c8c1a74e0f179bb48829ec7</id>
<content type='text'>
This provides tracking when GPS fails, or on TeleMini.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Split up flight code into separate flight/sample/kalman bits</title>
<updated>2011-03-29T00:54:44+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-03-29T00:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c754759a2d503633d527da4ebb20eb859cd506fd'/>
<id>urn:sha1:c754759a2d503633d527da4ebb20eb859cd506fd</id>
<content type='text'>
The flight code mashed together data processing, filtering and actual
flight managament into one giant pile. Split things up so that we
have:

 ao_sample.c: Sensor data processing. Reads the ring, handles calibration
 ao_kalman.c: Filter the data to track the accel/speed/height values
 ao_flight.c: Flight state management, specific to rocketry.

The plan is to re-use ao_sample.c and ao_kalman.c for hardware not
specifically designed for rocketry, like TeleNano.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Ignore alt error for fast-&gt;coast. Allow larger error for baro apogee.</title>
<updated>2011-03-23T01:33:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-03-23T01:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=32364c9e0d346e0e5d517e18d4e90b8ff2fa944f'/>
<id>urn:sha1:32364c9e0d346e0e5d517e18d4e90b8ff2fa944f</id>
<content type='text'>
With the fixed kalman filter, transitions across mach don't cause
bumps in the merged filter.

And, with working kalman bits, the signal for broken baro detection is
stronger and so we can allow for baro apogee detection in cases where
noise occurs close to apogee.

Bump the kalman filter to trust the baro less so that the model tracks
across mach.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Missing parens and some bad arithmetic in the kalman code</title>
<updated>2011-03-22T12:53:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-03-22T12:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a80d3836cfce3d4cfa7a71068539415c2dc421cd'/>
<id>urn:sha1:a80d3836cfce3d4cfa7a71068539415c2dc421cd</id>
<content type='text'>
Fixed point computations are a pain.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add ao_flight_debug code</title>
<updated>2011-03-22T12:53:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-03-22T12:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f30de5766c1eefb18c7d024a2cf10ce02de41071'/>
<id>urn:sha1:f30de5766c1eefb18c7d024a2cf10ce02de41071</id>
<content type='text'>
Trace the kalman filter to make sure it's working.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
