Mindsensors AbsoluteIMU-ACG

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, 99jonathan, imaqine

Mindsensors AbsoluteIMU-ACG

Postby Stone » Thu Dec 20, 2012 1:33 pm

Hi,
I was wondering if someone has interest in implementing the mindsensors AbsoluteIMU-ACG in the lejos API.
Because I wan't to buy that sensor from mindsensors but I haven't yet the knowledge to make my own classes for using this sensor.

Gratz, Stone
Stone
New User
 
Posts: 14
Joined: Tue Apr 10, 2012 4:29 pm
Location: Belgium

Re: Mindsensors AbsoluteIMU-ACG

Postby mtbradle » Sun Jan 06, 2013 8:25 pm

I'm interested in this too. I might take a shot at implementing this myself if I don't hear anything.
mtbradle
New User
 
Posts: 8
Joined: Wed Nov 24, 2010 7:33 pm

Re: Mindsensors AbsoluteIMU-ACG

Postby kirkpthompson » Mon Jan 07, 2013 2:11 am

Send me the sensor and I will write a driver for it. ;-)

Best,
-K
Leg Godt!
User avatar
kirkpthompson
leJOS Team Member
 
Posts: 282
Joined: Wed Dec 05, 2007 1:27 am
Location: New Mexico, USA

Re: Mindsensors AbsoluteIMU-ACG

Postby skoehler » Mon Jan 07, 2013 3:07 am

Rudolf Lapie started writing a driver last October. But I haven't heard from him since. I contacted him.
skoehler
leJOS Team Member
 
Posts: 1114
Joined: Thu Oct 30, 2008 4:54 pm

Re: Mindsensors AbsoluteIMU-ACG

Postby mtbradle » Mon Jan 07, 2013 2:57 pm

Actually, parts of this seem to be done already. If you look in the API, there is a CompassMindSensor and AccelMindSensor:

http://lejos.sourceforge.net/nxt/nxj/ap ... ensor.html
http://lejos.sourceforge.net/nxt/nxj/ap ... ensor.html

At first glance, I believe these will work with the ACG model. The only thing I can't seem to find is a Gyro implementation. So creating a full driver under one class should be easy, as you could simply use the code from the above two classes, and then implement the Gyro side of things. There is code in NXC for it as well that could be used as a reference while you do it in Java.

I just ordered my AbsoluteIMU-ACG yesterday and plan on doing just that once it arrives. I'll let you know how it goes.
mtbradle
New User
 
Posts: 8
Joined: Wed Nov 24, 2010 7:33 pm

Re: Mindsensors AbsoluteIMU-ACG

Postby BlueHaze » Mon Feb 25, 2013 9:45 am

Hello,

I started developing a driver for the Absolute IMU and a test program to check its function.

Usage : The driver has 4 inner classes (one for each sensor : accelerometer, tilt sensor, gyroscope and compass). Simply create those that your model supports to start reading its values. The testprogram shows all values from the 4 sub-sensors. It shows the actual values on the screen of the brick and shows a chart on the PC for historic data. Before starting you will need to setup a bluetooth connection on the PC to your brick. Then run the program on the brick, start 'nxjchartinglogger.bat' (in the bin subfolder of the LEJOS program) and connect to your brick from nxjchartinglogger. This should start showing 10 lines with the data. Now shake your IMU and the charts should go bezerk.

You can download everything here : http://my.rapidshare.com/BlueHaze/17095

Let me know if you have any issues with it or made enhancements to the driver.

Kind regards,
BlueHaze.
BlueHaze
New User
 
Posts: 2
Joined: Thu Dec 24, 2009 3:11 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 0 guests

cron
more stuff