Sensor Analyzer [python]

Visualize raw sensor data. Bars idea based on Aapo Rista modified verlet.py

See what kind of raw data Sensor API gives you, when you move the device.

First bar is data_1 (RED), second bar is data_2 (GREEN) and third bar is data_3 (BLUE). At top you see max value for each data and at bottom min value. Bottom row shows current value for each.

The bars scale automatically, which might be confusing, but keeps all data on-screen and everything comparable between each others. Scaling is shown at left side somehow. The numbers are all-time max/min values, but scaling is actually based on absolute max value, to keep data on-screen.

You can reset the max/min limits by pressing select key.

Usage - Keyboard shortcuts:

1 - Toggle data channel 1 on/off
2 - Toggle data channel 2 on/off
3 - Toggle data channel 3 on/off
Enter - Reset collected data, start again
# - Save a screen snapshot on disk

# Not worth much as sample code, but a quick and dirty tool to help figuring out what the raw Sensor API data means. Now I know
# Debug code is included, but beware: it generates a HUGE file on your phone. By default I turn debugging off before uploading the file.
# This is 1/3 of the “final” application, but just wanted to get it out right now. It’s already pretty useful as is. Final version should be even better!

Download :

sensor_analyzer_.jpg (4 KB)
sensor_analyzer.rar (3 KB)

Share: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Live
  • Ma.gnolia
  • MyShare
  • Reddit
  • Socialogs
  • SphereIt
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb
Related posts :
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...