SensMon

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
SensMon is a Vala-based monitor for sensors that can be used to visualize the sensor values on the handheld (but not only). The software is very experimental and does not include any kind of exception handling. You are using it at your own risk :) Its main purpose is to test the sensors included in the FRNBv1 and FRNBv2.
+
==Description==
  
 +
SensMon is a Vala-based monitor for sensors that can be used to visualize the sensor values on the handheld (but not only). The software is very experimental and does not include any kind of exception handling. You are using it at your own risk :) Its main purpose is to test the sensors included in the [[Freerunner Navigation Board]] and [[Freerunner Navigation Board v2]].
 +
 +
 +
==Supported Sensors==
 
The monitor has been developed in order to easily add arbitrary sensors as sources. The monitor uses GTK and Cairo for drawing the values.
 
The monitor has been developed in order to easily add arbitrary sensors as sources. The monitor uses GTK and Cairo for drawing the values.
  
Line 12: Line 16:
 
* Logged input from text file
 
* Logged input from text file
 
* Streaming over TCP sensor data from the freerunner to your desktop
 
* Streaming over TCP sensor data from the freerunner to your desktop
 +
 +
==Screenshots==
  
 
This is a screenshot of the application monitoring the X and Y gyro-axis as well as the X-axis of the digital compass included in the navigation board:
 
This is a screenshot of the application monitoring the X and Y gyro-axis as well as the X-axis of the digital compass included in the navigation board:
Line 17: Line 23:
 
[[Image:Sensmon-screen.png|center|thumb|400px]]
 
[[Image:Sensmon-screen.png|center|thumb|400px]]
  
Here is a screenshot of the user-interface for monitoring sensors over network socket (socat) or text file or hardware:
+
Here is a screenshot of the user-interface for monitoring sensors over network socket (socat or nc) or text file or hardware:
  
 
[[Image:Sensmonv0.2.png|center|thumb|400px]]
 
[[Image:Sensmonv0.2.png|center|thumb|400px]]
  
The sensor monitor has been tested on SHR unstable and Debian sid only.
+
==Network Usage==
 +
 
 +
To stream the sensor data from your handheld to the desktop version of SensMon do the following steps:
 +
 
 +
* enable logging in the handheld's config file under ~/SensMon
 +
* set the freerunners ip in your desktop pc config
 +
* First launch "sensmon | nc -l -p 5353" on the handheld
 +
* Then launch sensmon on the desktop
 +
* Then select "Net" checkboxes for the desired sensor on the window of the monitor on your desktop and press the "Start" button
 +
* Select arbitraty sensors to monitor from the list on your freerunner and press the "Start" button
 +
* Enjoy
 +
 
 +
==Textfile Usage==
 +
 
 +
With SensMon you can persist the sensor data to a text file and replay it whenever you wish. In order to do that you will have to:
 +
 
 +
* enable logging in the handheld's config file under ~/SensMon
 +
* Launch "sensmon > test.txt" (or whatever filename you have configured)
 +
* Select your sensors and start sensmon on the handheld.
 +
* Stop sensmon
 +
* Start sensmon
 +
* Select the "TXT" box of the sensors you have captured on the txt file.
 +
 
 +
 
 +
==Sources==
  
 
SensMon is currently at version 0.2. The source can be acquired at [http://gitorious.org/sensor-monitor http://gitorious.org/sensor-monitor]
 
SensMon is currently at version 0.2. The source can be acquired at [http://gitorious.org/sensor-monitor http://gitorious.org/sensor-monitor]
 +
 +
===Tested Distributions===
 +
 +
The sensor monitor has been tested on SHR unstable and Debian sid only.

Revision as of 16:56, 27 February 2011

Contents

Description

SensMon is a Vala-based monitor for sensors that can be used to visualize the sensor values on the handheld (but not only). The software is very experimental and does not include any kind of exception handling. You are using it at your own risk :) Its main purpose is to test the sensors included in the Freerunner Navigation Board and Freerunner Navigation Board v2.


Supported Sensors

The monitor has been developed in order to easily add arbitrary sensors as sources. The monitor uses GTK and Cairo for drawing the values.

Included sensors comprise:

Screenshots

This is a screenshot of the application monitoring the X and Y gyro-axis as well as the X-axis of the digital compass included in the navigation board:

Sensmon-screen.png

Here is a screenshot of the user-interface for monitoring sensors over network socket (socat or nc) or text file or hardware:

Sensmonv0.2.png

Network Usage

To stream the sensor data from your handheld to the desktop version of SensMon do the following steps:

  • enable logging in the handheld's config file under ~/SensMon
  • set the freerunners ip in your desktop pc config
  • First launch "sensmon | nc -l -p 5353" on the handheld
  • Then launch sensmon on the desktop
  • Then select "Net" checkboxes for the desired sensor on the window of the monitor on your desktop and press the "Start" button
  • Select arbitraty sensors to monitor from the list on your freerunner and press the "Start" button
  • Enjoy

Textfile Usage

With SensMon you can persist the sensor data to a text file and replay it whenever you wish. In order to do that you will have to:

  • enable logging in the handheld's config file under ~/SensMon
  • Launch "sensmon > test.txt" (or whatever filename you have configured)
  • Select your sensors and start sensmon on the handheld.
  • Stop sensmon
  • Start sensmon
  • Select the "TXT" box of the sensors you have captured on the txt file.


Sources

SensMon is currently at version 0.2. The source can be acquired at http://gitorious.org/sensor-monitor

Tested Distributions

The sensor monitor has been tested on SHR unstable and Debian sid only.

Personal tools

Description

SensMon is a Vala-based monitor for sensors that can be used to visualize the sensor values on the handheld (but not only). The software is very experimental and does not include any kind of exception handling. You are using it at your own risk :) Its main purpose is to test the sensors included in the Freerunner Navigation Board and Freerunner Navigation Board v2.


Supported Sensors

The monitor has been developed in order to easily add arbitrary sensors as sources. The monitor uses GTK and Cairo for drawing the values.

Included sensors comprise:

Screenshots

This is a screenshot of the application monitoring the X and Y gyro-axis as well as the X-axis of the digital compass included in the navigation board:

Sensmon-screen.png

Here is a screenshot of the user-interface for monitoring sensors over network socket (socat or nc) or text file or hardware:

Sensmonv0.2.png

Network Usage

To stream the sensor data from your handheld to the desktop version of SensMon do the following steps:

  • enable logging in the handheld's config file under ~/SensMon
  • set the freerunners ip in your desktop pc config
  • First launch "sensmon | nc -l -p 5353" on the handheld
  • Then launch sensmon on the desktop
  • Then select "Net" checkboxes for the desired sensor on the window of the monitor on your desktop and press the "Start" button
  • Select arbitraty sensors to monitor from the list on your freerunner and press the "Start" button
  • Enjoy

Textfile Usage

With SensMon you can persist the sensor data to a text file and replay it whenever you wish. In order to do that you will have to:

  • enable logging in the handheld's config file under ~/SensMon
  • Launch "sensmon > test.txt" (or whatever filename you have configured)
  • Select your sensors and start sensmon on the handheld.
  • Stop sensmon
  • Start sensmon
  • Select the "TXT" box of the sensors you have captured on the txt file.


Sources

SensMon is currently at version 0.2. The source can be acquired at http://gitorious.org/sensor-monitor

Tested Distributions

The sensor monitor has been tested on SHR unstable and Debian sid only.