<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/ao_gps_skytraq.c, branch 0.9.7.0</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=0.9.7.0</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=0.9.7.0'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2011-08-14T01:44:26+00:00</updated>
<entry>
<title>altos: re-write a bit of GPS parsing code to reduce size</title>
<updated>2011-08-14T01:44:26+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-14T01:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c2f2f519dbc8ce233ab36222088c1be6b1362f01'/>
<id>urn:sha1:c2f2f519dbc8ce233ab36222088c1be6b1362f01</id>
<content type='text'>
Use a local variable while computing hdop.
Place the next incoming character in data instead of pdata.

Saved a surprising amount of memory.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Switch ao_gps_skytraq and ao_gps_sirf __xdata to __pdata</title>
<updated>2011-07-06T22:48:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-07-06T22:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=92047ff86c79c2b18ef565a4560b06fe00d6f159'/>
<id>urn:sha1:92047ff86c79c2b18ef565a4560b06fe00d6f159</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Complete new telemetry switchover</title>
<updated>2011-07-05T06:39:21+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-07-05T06:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ef3ce687d73c1274ce5368432f4d449b063ce5c0'/>
<id>urn:sha1:ef3ce687d73c1274ce5368432f4d449b063ce5c0</id>
<content type='text'>
This involved rewriting the GPS code to use the telemetry structures
directly so that a memcpy could be used to transfer the data to the
telemetry packets, saving a bunch of code space, along with fixing up
the gps testing programs to deal with the structure changes.

In addition, the teledongle code needed to have the monitoring code
split into separate radio receiver and USB writer threads as the
packets are now back-to-back, and hence come too fast to wait for the
USB data to be sent to the host after each one.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add sat info to GPS report command</title>
<updated>2011-07-05T01:06:48+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-07-05T01:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9e5e4c1ad82d621ceb7286f72c87eeaf5976f9bf'/>
<id>urn:sha1:9e5e4c1ad82d621ceb7286f72c87eeaf5976f9bf</id>
<content type='text'>
Plan to use this to report current flight computer state in idle mode.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>src/ao_cmd: Shave off bytes from doc strings</title>
<updated>2011-03-07T08:01:46+00:00</updated>
<author>
<name>Anthony Towns</name>
<email>aj@erisian.com.au</email>
</author>
<published>2011-02-27T01:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8cdf4fb051c22b35c251d90bc288551f7c2898bf'/>
<id>urn:sha1:8cdf4fb051c22b35c251d90bc288551f7c2898bf</id>
<content type='text'>
Switch to using { func, "X args\0Desc" } to specify command, saving
a char field by looking at help[0] instead, and reduce help length by
doing alignment with printf instead of hardcoded spaces.
</content>
</entry>
<entry>
<title>Revert "src/ao_gps_skytraq.c: Update logging rate to 10Hz"</title>
<updated>2011-03-07T08:01:01+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-03-07T08:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=2cfe205de4242398e69c9e7c613af0d2a7094686'/>
<id>urn:sha1:2cfe205de4242398e69c9e7c613af0d2a7094686</id>
<content type='text'>
This reverts commit b080e933a65d268aaaec8cfd5f617a13d5babc43.

10Hz data isn't any better than 1Hz data; it still doesn't like going
upwards rapidly.
</content>
</entry>
<entry>
<title>src/ao_gps_skytraq.c: Update logging rate to 10Hz</title>
<updated>2011-02-19T00:04:14+00:00</updated>
<author>
<name>Anthony Towns</name>
<email>aj@erisian.com.au</email>
</author>
<published>2011-02-18T19:49:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b080e933a65d268aaaec8cfd5f617a13d5babc43'/>
<id>urn:sha1:b080e933a65d268aaaec8cfd5f617a13d5babc43</id>
<content type='text'>
Send commands to skytraq to update baud rate to 57,600 bps, and
set NMEA output rate to 10Hz.
</content>
</entry>
<entry>
<title>src/ao_gps_skytraq: simplify parsing code</title>
<updated>2011-02-19T00:04:14+00:00</updated>
<author>
<name>Anthony Towns</name>
<email>aj@erisian.com.au</email>
</author>
<published>2011-02-18T18:17:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=aad7103dcf44e69a5a30e008836cce5542ea33e2'/>
<id>urn:sha1:aad7103dcf44e69a5a30e008836cce5542ea33e2</id>
<content type='text'>
Added macros to make correctly constructing skytraq commands easier.
Simplified code path for NMEA processing marginally.
</content>
</entry>
<entry>
<title>altos: Restructure skytraq NMEA parsing code to save some space</title>
<updated>2011-01-16T22:34:54+00:00</updated>
<author>
<name>Anthony Towns</name>
<email>aj@erisian.com.au</email>
</author>
<published>2011-01-16T00:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8a775b8f9ecefa143050653d74dfd218b32b9bb5'/>
<id>urn:sha1:8a775b8f9ecefa143050653d74dfd218b32b9bb5</id>
<content type='text'>
Splitting this into several smaller functions appears to make SDCC
generate better code.
</content>
</entry>
<entry>
<title>altos: Bounds check Skytraq GPS tracking data array</title>
<updated>2010-09-02T02:53:24+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-09-02T02:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1177e0a684328422be5adc68093d0091a218a824'/>
<id>urn:sha1:1177e0a684328422be5adc68093d0091a218a824</id>
<content type='text'>
Missing GPS serial data could cause the tracking array reset to
get skipped, causing the array to be overrun, smashing critical data
beyond the array.

This was detected using the 'altosui' flash command to program a
device from TM. Hitting the USB that hard caused TM to crash with a
mutex error (3 beeps) after the ao_gps_task structure was overwritten
with zeros.

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