HiTechnic EOPD

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

Moderators: roger, imaqine, 99jonathan

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

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

User avatar
esmetaman
Advanced Member
Posts: 311
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain
Contact:

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/
https://github.com/jabrena/livingrobots
http://www.iloveneutrinos.com/

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

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
Contact:

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.

SirEl
New User
Posts: 3
Joined: Thu Dec 18, 2008 6:17 pm

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.

lawrie
leJOS Team Member
Posts: 955
Joined: Mon Feb 05, 2007 1:27 pm

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

Yes, it is in 0.7 and it is called EOPD.


Return to “NXJ Hardware”

Who is online

Users browsing this forum: No registered users and 0 guests