Sensor Applet status

4 views
Skip to first unread message

Aaron Unger

unread,
Nov 21, 2012, 11:25:12 AM11/21/12
to lab-m...@googlegroups.com, org-concord-sensor
Hi all-

Here's a final status report on the sensor applet work I was doing, since I'm now moving on to GeniGames.

Things completed:
  - The sensor applet now uses JNA instead of JNI
  - The OTrunk dependency was removed
  - LabQuest support was added
  - Default configurations were added for the following sensors:
    - Temperature
    - Light
    - Force
    - Distance
    - pH
    - CO2 Gas
    - O2 Gas
  - A manual configuration option was added so any java-supported sensor can be used
  - The ability to collect data from multiple sensors from one device was added

I wasn't able to get to any of the later stories: better exception handling/reporting, minimizing download size, multiple devices, etc.

Some notes:

* I was able to test most of the sensors with the LabQuest on OS X 10.6.8, Java 1.6.0_37, and Windows XP, Java 1.6.0_33/37. Things seem to be working pretty well now. My GoLink wasn't working for most of the sensors, so I was only able to test temperature with it.

* The multiple sensor support is *not* integrated with the graph right now. There's an example in the lab repo (/experiments/multi-sensor/index.html) which shows the collection happening -- someone far more familiar with the graph code will have to integrate them.

* The multiple sensor support isn't limited to a certain number of sensors. I personally tested 4 sensors (3 sensors + a GoMotion attached through a digi-cable), and it was collecting fine.


I think that's about it. If you have any questions, feel free to ask!
-- Aaron

Stephen Bannasch

unread,
Nov 21, 2012, 1:17:08 PM11/21/12
to org-conco...@googlegroups.com, lab-m...@googlegroups.com, org-concord-sensor
At 8:25 AM -0800 11/21/12, Aaron Unger wrote:

It looks like you made these changes in the master branch of https://github.com/concord-consortium/sensor-applets:

https://github.com/concord-consortium/sensor-applets/compare/d9b0cca...0688d9d

Did you make changes in other Java projects?

Aaron Unger

unread,
Nov 26, 2012, 10:41:48 AM11/26/12
to org-conco...@googlegroups.com, lab-m...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages