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