[Twisted-Python] twisted.positioning: progress report + Factory question

Laurens Van Houtven lvh at laurensvh.be
Sat Aug 15 09:16:51 MDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not really a direct reply, but the following is big enough progress
that it warrants a minireport of its own. An excerpt from my test
suite running:

test_GSVSentences ...
, , , }>
, , , }>
, , }>


... meaning GSV sentences are now correctly parsed! :-) According to
esr (who knows what he's doing when it comes to NMEA parsers) this is
by far the hardest part: parsing GSV properly should take about as
long as everything else put together. It was a bit of a pain to glue
it together with everything else, but according to a few smart people
this probably means that the _rest_ of my parser is sane :-) (GPGSV
splits the same kind of field across multiple sentences, and whether
they override or not is dependent on other fields which may or may not
be in the same sentence. No other sentence does this.)

Also, there's support now for GPGLL (pure lat/lon) and GPHDT (true
heading made good) sentences, but those were so simple compared to the
disaster that is GPGSV it's not even funny.

Next up: GSA sentence support.

You can expect this behavior in the branch head on lp some time later
today, when I'm done committing test sentences from
known-pathologically-bad GPS devices, to see how badly the parser
chokes on them.

Bad news: I'm going to be extremely busy the next few days so very
little time to actively commit code.

Enjoy,
Laurens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.8)

iEYEARECAAYFAkqG0SQACgkQT5v5zGkvKT5dOgCg1jWqrgvpOyIwHCrlcH48DE/C
eqQAoI9XdaSfIzNgICoJbXur/0LzwbRv
=4Uvy
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list