HiTechnic EOPD

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.

Moderators: 99jonathan, roger, imaqine

HiTechnic EOPD

Postby mdsmitty » Mon Oct 27, 2008 1:33 am

I just got the EOPD sensor today. It works great. Has anyone started on a class for this sensor? If not i would like to contrubte the class im working on.

Mike
mdsmitty
Novice
 
Posts: 78
Joined: Tue Feb 27, 2007 3:07 am

Postby esmetaman » Mon Oct 27, 2008 9:31 pm

Hi Friend,

try to begin the class if you have ideas. :D

Cheers
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby mdsmitty » Wed Oct 29, 2008 3:36 am

I sent to class over to Lawrie for submission as I have done with other classes in the past. Once its in the SVN have a look at it i'm interested in some feed back. its loosely bases on the light sensor class. Using the same formulas from the light sensor class i was able to get relatively the same values and the programing brick suppled by HiTechnic. I'm going to email them about the formulas to see if i can get closer to the returned values.
mdsmitty
Novice
 
Posts: 78
Joined: Tue Feb 27, 2007 3:07 am

Postby mdsmitty » Sat Nov 01, 2008 1:28 am

I contacted Hitechnic and they were extremely helpful. I submitted what i hope will be the one and only update to the EOPD sensor class. The values that im not getting from the sensor are dead on with the NXT-G block. if a few cases its off by one so I'm very pleased with the end result.
mdsmitty
Novice
 
Posts: 78
Joined: Tue Feb 27, 2007 3:07 am

Postby SirEl » Fri Dec 19, 2008 11:53 pm

Hi is there already an EOPD supporting class implemented in leJOS 0.7 ?
Is it possibly the OpticalDistanceSensor class? I really don't know what to do. The worst scenario would be to write it myself.
SirEl
New User
 
Posts: 3
Joined: Thu Dec 18, 2008 6:17 pm

Postby lawrie » Sat Dec 20, 2008 4:18 pm

Yes, it is in 0.7 and it is called EOPD.
lawrie
leJOS Team Member
 
Posts: 909
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

more stuff