View unanswered posts | View active topics It is currently Sat Apr 19, 2014 3:50 pm






Reply to topic  [ 8 posts ] 
Cam with pattern recognition for Lego nxt 
Author Message
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Cam with pattern recognition for Lego nxt
hi,
I just found a very interesting cam for nxt users. It has a pattern recognition, which is a very good alternative to the color recognition of the Mindsensors cam!

http://pob-technology.com/web/index.php ... &Itemid=41

http://www.roboter-teile.de/Shop/themes ... gemein=pob

http://pob-technology.com/web/pdfpob/PO ... 20work.pdf

Just 1 thing is still missing: support by RobotC...!

... Developers ....? Image

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Aug 22, 2008 8:54 am
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 592
Post Re: Cam with pattern recognition for Lego nxt
It is not possible nor a good use of our time and money to write "drivers" or "support" for every 3rd party sensor that is released... that is up to the developer of the sensor to decide to write support for ROBOTC, or for the ROBOTC community (*cough* you *cough*) to develop these materials.

This sensor developer was able to take the time to use LabVIEW to develop an NXT-G block, developing the same sensor drivers in ROBOTC would take 1/10th the time. This sensor works using I2C messaging. ROBOTC fully supports all methods of I2C messaging on the NXT.

Now if you could some how get us a free sensor, we'd be more than happy to write some support and drivers for this... :D

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Fri Aug 22, 2008 9:21 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Cam with pattern recognition for Lego nxt
well, I will see what I can do... :mrgreen:

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Aug 22, 2008 9:34 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3105
Location: Rotterdam, The Netherlands
Post Re: Cam with pattern recognition for Lego nxt
Ford Prefect wrote:
well, I will see what I can do... :mrgreen:

Let me know if I can help. I'll see what I *cam* do for you.

Regards,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Aug 22, 2008 11:33 am
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Cam with pattern recognition for Lego nxt
I just contacted Joerg Pohl from Roboter-Teile.de
http://www.roboter-teile.de/Shop/index.php

maybe we can get a test board

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Last edited by Ford Prefect on Sun Aug 31, 2008 4:48 am, edited 1 time in total.



Fri Aug 22, 2008 2:14 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Cam with pattern recognition for Lego nxt
the POB developers are working on a new realease with even some sensor and servo extensions.

I was afraid, this would be too complicated to use, and I wrote to the developers.

Here's what they replied:


Quote:
Hello Helmut,

> Dualpob seems to be a very sophistated extension, but I'm afraid it
> exceeds my programming facilities.

I understand your opinion about the programing part: i give you in this
mail more explications about the dualpob :

* dualpob comes with a default firmware. This firmware answer to command
from various input.
The goal of this default firmware is to link dualpob with others devices
wihtout the need of programming the dualpob:

* The dualpob is see as a big sensor from the external device (for you,
the nxt "see" the dualpob likes a big input/output board connected on i2c).

Some commands are to get or set digital input/output, others for set
servomotors, others to drive pobeye camera etc etc...

* Currently the dual-pob are runing in different prototype project:
some users replace the default firmware and set the dualpob as a
"brain", others users drive the dualpob with the default firmware.

* Today, the dualpob can receive orders from serial or pobeye bus and
i'm working on i2c protocol to set dualpob as a generic i2c slave device
(and interact with the nxt i2c master for example) and build the
protocol documentation and simple example source code for the users.

As you say for the Compass driver, the dualpob driver have to share the
'same' philosophy:

//send a command to dualpob from an i2c master:

i2c_send( dualpob_address );
i2c_send( a_command );
i2c_send( a_parameter );
i2c_send( another_parameter );

//get some status from the dualpob...

status = i2c_receive();


In your RobotC development kit, you only have to write the driver with
the correct command (servo command for example) and parameters (position
x at speed y) and of course i have to provide all docs and source code
example (and finish the code... ;-)

I hope that this mail can help you?

(thanks for the robotc forum link!)

Best regards,

--
Baptiste Burles.
Ingénieur système embarqué

POB-TECHNOLOGY
4 rue nicéphore niépce
69680 Chassieu
France
Tel : +33 (0)4 72 43 02 36

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Aug 26, 2008 9:59 am
Profile
Rookie

Joined: Sat Oct 25, 2008 12:18 am
Posts: 19
Post Re: Cam with pattern recognition for Lego nxt
check out this one with NxTG and RobotC drivers - http://www.mindsensors.com/index.php?mo ... PAGE_id=78


Thu Oct 30, 2008 11:43 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Cam with pattern recognition for Lego nxt
hi,
this cam you mentioned is well known since about 1 year and has nothing to do with the POBcam.
The Mindsensors' cam has got no pattern recognition, but just a color recognition.

Pattern recognition means that you can distinguish a "T"-shaped pattern from "X", "H", "I", "O", square-, rectangle-, or triangle-shaped patterns .

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Oct 31, 2008 6:07 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.