<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/ao_flight.c, branch telebt</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=telebt</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=telebt'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2009-06-04T17:41:34+00:00</updated>
<entry>
<title>Use autotools, move altos to src subdir</title>
<updated>2009-06-04T17:41:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-06-04T17:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7'/>
<id>urn:sha1:210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Eliminate RDF tone generation.</title>
<updated>2009-05-29T06:17:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-29T06:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=3a3bfd471a868d546d83cdc431b53c8f5208edb9'/>
<id>urn:sha1:3a3bfd471a868d546d83cdc431b53c8f5208edb9</id>
<content type='text'>
Now that we have a viable telemetry-signal based RDF device via TeleDongle,
there's no reason to continue to waste power and bandwidth with a NFM tone.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Avoid 16-bit overflow in velocity computation.</title>
<updated>2009-05-24T04:16:22+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-24T04:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=d6f5a0689023546464a71561f53fa2c943077c88'/>
<id>urn:sha1:d6f5a0689023546464a71561f53fa2c943077c88</id>
<content type='text'>
Adding two 16 bit integers together can wrap around to negative numbers,
this resulted in velocity values which never decreased, making the switch
from coast to apogee state not occur.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>While on the pad, zero out velocity every second</title>
<updated>2009-05-18T05:24:53+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-18T05:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=69616104813fc5ba89fb3128d04fb9328961c59c'/>
<id>urn:sha1:69616104813fc5ba89fb3128d04fb9328961c59c</id>
<content type='text'>
We integrate acceleration to get velocity, but that means sitting on the pad
for a long time can add substantial error to the velocity value. Each
second, take the velocity value from a full second ago and subtract that out
of the current velocity. Once we detect boost, this will stop, which means
that as long as we detect boost within a second, we won't have subtracted
out any "real" velocity.

This keeps the pad velocity hovering around zero, which is pretty useful.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Abandon use of accelerometer for apogee detect.</title>
<updated>2009-05-17T03:04:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-05-17T03:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fec4212a59a7b3321536b25707dcabc43c797c33'/>
<id>urn:sha1:fec4212a59a7b3321536b25707dcabc43c797c33</id>
<content type='text'>
Integrating the accelerometer data to compute velocity worked for one rocket
flight, but additional testing shows that it doesn't work in other
airframes. Until we figure out how this should work, we'll rely on the
altimeter to detect apogee.

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