<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/ao_flight.c, branch sn4-flight2</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=sn4-flight2</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=sn4-flight2'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2009-05-13T18:00:43+00:00</updated>
<entry>
<title>Accelerometer-based velocity values are invalid after apogee</title>
<updated>2009-05-13T18:00:43+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-13T18:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8168820b667cc1deffab64dd81cb4e6e2e6eabe4'/>
<id>urn:sha1:8168820b667cc1deffab64dd81cb4e6e2e6eabe4</id>
<content type='text'>
Because the orientation of the flight computer relative to the ground is
unknown after apogee, the accelerometer data cannot be integrated to compute
velocity. Main deploy is now based purely on barometric altitude and landing
detection no longer checks for a low velocity value.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Add velocity check for boost detect via accelerometer</title>
<updated>2009-05-13T17:59:04+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-13T17:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=24fdda44ff8604e40510b196ead17564d8f8cd3d'/>
<id>urn:sha1:24fdda44ff8604e40510b196ead17564d8f8cd3d</id>
<content type='text'>
Bumping the rocket can cause a brief period of high acceleration, which may
cause a mistaken boost detection. Require both a high acceleration and
reasonable velocity to trigger boost phase.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Don't re-initialize the landing range data at each apogee detect sample</title>
<updated>2009-05-11T06:01:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-11T06:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ba3c53636e485450f48093d0a88a6629775f7c3a'/>
<id>urn:sha1:ba3c53636e485450f48093d0a88a6629775f7c3a</id>
<content type='text'>
The landing range values are used only after apogee detect, so we need only
initialize them on the transition from apogee to drogue.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Initialize ao_min_vel with |ao_flight_vel|</title>
<updated>2009-05-11T06:00:06+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-11T06:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b623b1098bc7a10d471730259438fb82804221d0'/>
<id>urn:sha1:b623b1098bc7a10d471730259438fb82804221d0</id>
<content type='text'>
As ao_min_vel is stored as an absolute value, it's important to preserve
that invariant, even though we don't expect ao_flight_vel to be negative at
coast.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Decrease telemetry rate on the pad to 1/sec instead of 20/sec</title>
<updated>2009-05-11T05:58:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-11T05:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e9584e846b9bd7926d61451d32ba5d7a30416f7b'/>
<id>urn:sha1:e9584e846b9bd7926d61451d32ba5d7a30416f7b</id>
<content type='text'>
Transmitting telemetry through the radio consumes a significant amount of
battery; reducing the rate to 1/sec will reduce power usage while waiting
for launch.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Increase the initial accel/baro average to 1000 samples</title>
<updated>2009-05-11T05:57:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-11T05:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=97cecb517cd7bf75e1219c76a93bfe6964c07052'/>
<id>urn:sha1:97cecb517cd7bf75e1219c76a93bfe6964c07052</id>
<content type='text'>
To get an accurate baseline of the launchpad state, take a longer average of
the two sensors as the unit boots up.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Reset landing interval tests at apogee</title>
<updated>2009-04-30T00:42:26+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-04-30T00:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=75ca1751b7cac2f8074d0713ee96d6ab45b54f19'/>
<id>urn:sha1:75ca1751b7cac2f8074d0713ee96d6ab45b54f19</id>
<content type='text'>
This moves all of the interval management into the landing test code and
out of the main loop. The interval is reset at apogee to make sure the
sensors produce a stable reading for at least 20 seconds
</content>
</entry>
<entry>
<title>Make sure full log is written and flushed on landing.</title>
<updated>2009-04-26T08:37:02+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-04-26T08:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe'/>
<id>urn:sha1:5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe</id>
<content type='text'>
The final state change to landing is recorded in the logging thread, so have
that turn off logging once it has recorded that state. Then make it go to
sleep.
</content>
</entry>
<entry>
<title>Add configuration support</title>
<updated>2009-04-26T07:11:32+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-04-26T07:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=38a0b61b0a0b3c00f064c8d562950a17a6ddff4a'/>
<id>urn:sha1:38a0b61b0a0b3c00f064c8d562950a17a6ddff4a</id>
<content type='text'>
Current config variables:
Main deploy altitude above launch (in meters)
Acceleration zero g calibration (manual or automatic)
Radio channel (freq = 435.550MHz + channel * 100kHz)
Callsign (max 8 characters)

Supporting this involved shuffling code around so that the
non-telemetrum builds could include only the stuff they needed.
</content>
</entry>
<entry>
<title>Allow for slower ADC operation. Add power saving code.</title>
<updated>2009-04-25T21:44:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-04-25T21:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c65f1a1acd2ca00758833cec5d3f8056d303d3e2'/>
<id>urn:sha1:c65f1a1acd2ca00758833cec5d3f8056d303d3e2</id>
<content type='text'>
This tries to make the flight computer use less power by disabling USB in
flight mode, lowering the telemetry rate after ascent. It also disables the
RDF beacon during ascent and re-enables it once descent has started.
</content>
</entry>
</feed>
