[Ssc-dev] Improved Sensor Data

Nathan of Guardian nathan at guardianproject.info
Wed May 21 00:02:33 EDT 2014


I've been working with debugging, tuning and generally improving sensor
data we gather in the InformaCam engine.

Based on work on the GPS sensors (both the GPS Hi-Res/Satellite and the
"Fused" GPS/Cellphone/Wifi Location Provider), I was able to start
getting some better readings, providing more detail as shown below:

gps_bearing : "269.4" //compass bearing in radians, North is 0 (and
360), East is 90, South is 180, West is 270... I am facing
North/NorthWest right now

gps_coords :-71.12513541,42.32888066 //lat and lon

gps_accuracy : "16.0"// meters of resolution - so within 16 meters accuracy

gps_altitude : "13.699999809265137"//meters in altitude (i am on the
third floor of the house so this seems roughly right)

gps_speed : "3.354102" // motion in meters per second - hmm, didn't
think I was moving that fast, but perhaps

In this case, I got a lock to GPS satellite from the sky, hence the
excellent quality of detail below (though this would cause battery drain
if left going too long). Also, if I am inside, not near a window, it
would be unlikely that I would get this kind of data, so we'd fall back
to the barometric pressure calculation option.

Based on this, I think it will be important to expose in the overview
reports, whether bearing and altitude comes from the GPS sensor or from
the azimuth/gravitational and barometric sensor. It is all in the J3M
data, but having the summary report provide more specific indicators on
source and accuracy of data is obviously important for the casual,
non-technical viewer.

You can view the entry I published here with these changes:
https://j3m.info/submission/a90645aed857a192b46f6ab4c153433b/#j3m

The improvements will be in the next release of the app, which I am
targeting for next week.

+n



More information about the Ssc-dev mailing list