hey folks,

i just added updates to the gps module driver (tos-1.x version, too) that allow for more tuning of its output.

new commands are

restrictNMEASentences
resetNMEASentences

the first reduces the default output of six sentences to two (i chose RMC and GGA). a comment above the code annotates the internal command string so that you can make different combinations.

reset... just restores the default output.

the other two are

setNavThreshold
getNavThreshold

it turns out that the gps module has a filter on the ground speed output that reports any value below 1 m/s as 0.00. setNavThreshold reduces this to 0, which allows the module to report ground speeds all the way down to its specified limit (0.1 m/s, or 0.05 m/s with a dgps fix).

of course, by peeking at the comment in the code, you'll be able to make the threshold any of the supported values...

get... was added as a reality check.

pick up the update when you get a chance:

cd ~/tinyos-main/tos/platforms/shimmer2
svn update

while you're in there, you might want to update your entire tree, as there have been a number of recent updates leading up to a tinyos release.

for tos-1.x users,

cd ~/tinyos-1.x/contrib/handhelds/tos/
cvs update interfaces lib

have fun,

steve

_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to