Page 1 of 2

NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 04:25
by jinjosh
Hi,
I'm Jinjosh, Just 16 years old. I'm really sorry if my English is not so good (I don't live in the US or the UK so...) and I'll be so happy if someone would like to help me.
By viewing the following video: http://www.youtube.com/watch?v=_ogQuLdE ... dded#at=12
I decided to do a similar robot for a really important school project!
I have no problem with the Construction.
But
About programming - it's a huge problem for me:
I really don't know programming languages.
I installed the MATLAB and I looked for the function which is used to process the image of the Mona Lisa, but unfortunately I didn't found it.
Is there a way to do this through the official program of the NXT?
and if no, so, where i can do the analayzing and sending it to the NXT?

It's really important... I have to finish the robot until the weekend and all what I have left to do is to work on programming.
Thanks anyway,
Jinjosh.

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 06:49
by pbenco
Hello Jinjosh
I really don't know programming languages.
+
I have to finish the robot until the weekend
= :?:
As i understand your project, you want to copy the robot from daniele benedetti (which is a good way to learn), but you want to program it with matlab, in less than a week, with no preliminary knowledge of programming???
Why not choosing a less difficult challenge, to begin in good condition? try to build a line/wall follower, able to complete a simple MAZE, and you will have plenty to do in a week...
Regards
Benco
P.S please do not cross post, you will not get more answers...
Good to read, easy to understand, good ressource to start experimenting with: http://alexandria.tue.nl/repository/books/626828.pdf
If you still want to use MATLAB: http://www.mindstorms.rwth-aachen.de/
to go further :http://www.ibm.com/developerworks/java/ ... /j-robots/ or http://www.stompnetwork.org/tufts/fello ... sobi2Id=59

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 07:15
by h-g-t
I had a quick look at the software and it would take a trained programmer more than a week! One of the most complex bits of coding I have seen in my limited experience with the NXT. I would not care to tackle it.
Have you looked through NXTLOG to get ideas?

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 07:48
by mightor
Please don't post your question to more than one sub forum at a time. I have deleted the other post. Next time I may end up deleting both.

- Xander

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 09:32
by jinjosh
Hi everybody and thanks for your reply.

pbenco - What I built didnt look like the robot from the video! I took just the idea. Nothing more.
I thought that the software he used I could find myself. And then this whole story got entangled.
thanks for the links.

h-g-t - Yes, and i did'nt found one.

mightor - I'm really sorry. My English is not very good and I'm new in this site. Sorry.


There is another way to do that the robot will draw a picture? The simplest possible.

anyway,
thanks for who answerd me.

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 09:46
by HaWe
I second the posts above.
Youre a starter in programming?
How long did it take (or will it take you) to get a driver's licence for an automobile?
What's the way you probably have (or will have) learnt it?
By your own, or by assisted learning, just go and sit in the car and drive allone through the streets of a big city in the rush hour, or start slowly step by step starting from "simply start the engine, start the vehicle, and brake"?
No other way it's learning how to program.
Don't make the 20th step before the 1st one, my 2ct.

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 11:13
by timpattinson
jinjosh wrote: There is another way to do that the robot will draw a picture? The simplest possible.
Use raster drawinginstead of vector graphics (dots-vs-lines)
But i do stress -- start with something easier

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 13:31
by jinjosh
Thank you timpattinson.

I saw that there is "IMAGE EDITOR" in the Offical NXT software (Tools ---> IMAGE EDITOR). i think that it may help me.
i have the education version and there is no IMAGE EDITOR!
It's just my software or it's because my version is "education"?

thanks again.

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 14:01
by pbenco
Dear jinjosh

The simplest way to draw a picture with a nxt robot, would be with bluetooth link between NXT and the PC, and a program able to convert the file into order to the motor. There is no already available direct solution to your needs, and the knowledge involved into this building is far from basics, you will not have the time to even "ruggedized" enough the Lego structure of your robot, and ensure the correct "repeatability" of your orders.
If you want to do it, you can perhaps find something interessting in the microsoft robotics SDK http://msdn.microsoft.com/en-us/robotics/default
The NXT support is describe here http://msdn.microsoft.com/en-us/library/bb870550.aspx.
The vision support is here, http://msdn.microsoft.com/en-us/library/bb608247.aspx
You will have to program in C#.
Hope this help...
P.S the Tools--->IMAGE EDITOR will not be helpfull in your case, With the image editor you can upload a picture to the NXT Brick and it will appear on the screen. That's all.

Re: NXT IMAGE ANALYZING PROBLEM

Posted: 07 Jun 2011, 15:50
by jinjosh
pbenco, thanks a lot. got it.
but i have another question - if i want that the robot will write, no to draw, it's the same problem, right? i'll have to program it on another program language software or i can do this on the offcial nxt software?