I bet it's more expensive than a wii-mote. I've just hooked up one to
the OpenIntents sensor simulator:
http://blog.dalethatcher.com/2008/04/wii-mote-accelerometer-into-android.html
I'll do a full write up with code and details soon.
thanks,
- Dale
> Theaccelerometerlooks great indeed. May I ask how much it
> approximately costs?
> I had a quick look at the homepage - it seems one also has to buy the
> SDK (software development kit) to access thataccelerometer.
> Unfortunately, they don't mention Java, but C++ or VisualBasic
> examples.
>
> The simplest (although probably not most efficient) solution I can
> think of is the following:
> If you could write a simple C++ or VisualBasic program with your SDK
> that writes the sensor data regularly into a file, I can make the
> SensorSimulator read that file regularly and send the information to
> the Android emulator.
>
> Another possibility I see is to access the MT Object DLL through Java.
>
> How do you currently access theaccelerometer? (which program or
> programming language do you use?)
>
> I personally think it will be difficult to keep track of the position
> of a person throughaccelerometeronly. Probably one can do some short-
> time integration to get approximate position, but anything beyond will
> be very difficult.
> (Just consider, anaccelerometerat rest and anaccelerometerat
> constant speed will both give the same output, yet the devices may
> move in completely different directions. Any inaccuracy during
> acceleration may result in huge position differences after some time).
>
> Peli
>
> On Mar 3, 6:34 pm, Abhinav Parashar <
parashar.i...@gmail.com> wrote:
>
> > Hi peli,
> > I don't have IBM ThinkPad. I have an explicit
> >accelerometer.
http://www.xsens.com/index.php?mainmenu=products&submenu=machine_moti...
> > (Here you can find more information regarding that )
> > It is connected through USB to the laptop.
> > Can you help me in accessing thisaccelerometerthrough android
> > emulator.??
>
> > And one more thing ....Its fine to measue yaw,pitch, roll but what
> > about movements ( Like when a person walks)
> > there can be some performance errors i.e. traveled distance . What do
> > you think about it ??
> > Can we useaccelerometerfor keeping the track of a person (using some
> > >accelerometerthrough the SensorSimulator.
>
> > > This works in Linux where apparently there is a patch that writes all
> > >accelerometerdata into a specific file on the hard disk:
http://nikolajbaer.us/blog/thinkpad-accelerometer/
>
> > > The implementation is not complete, though, currently, if you scroll
> > > down the settings pane (in OpenIntents 0.1.3), you can turn on
> > >accelerometer, but it just shows you the values, without sending them
> > > to the Android emulator.
>
> > > If you have a Thinkpad and use Linux, this would be great, because
> > > then you could test this feature.
>
> > > If you have a different laptop withaccelerometer, please let me also
> > > know, since we are interested in extending the possibilities.
>
> > > So, which laptop do you have, and whichaccelerometerdo you have, and
> > > do you know if its data is written to some file somewhere (or how else
> > > to access theaccelerometerusing java?)
>
> > > Peli
>
> > > On 28 Feb., 10:26, Abhinav Parashar <
parashar.i...@gmail.com> wrote:
>
> > > > Thanks peli , Its working ....
>
> > > > On Feb 28, 2:04 pm, Peli <
peli0...@googlemail.com> wrote:
>
> > > > > Hi Abhinav,
>
> > > > > In the OpenIntents samples folder there is the sample application
> > > > > OpenGLSensors which demonstrates how to access theaccelerometer. A
> > > > > > > interface ofaccelerometercomes on screen.
> > > > > > > I want to use the data ofaccelerometerin other application ....how
> > > > > > > to do that without invoking this interface.
> > > > > > > Can any body help me ?
> > > > > > > Can we merge the class which 'plusminus' on
anddev.org have provided
> > > > > > > foraccelerometerwith open intents ??