NXT PROBLEM

Discussion specific to projects ideas and support.
naneczek
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Post by naneczek »

And as I said, I will have the possibility to check this code in two weeks time on LEGO software, but it will be too late and you write all the time to check it. I JUST CAN'T NOW, don't you understand such a simple fact?
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Post by HaWe »

as I said, I won't help you unless you can't debug and test your code by your own, having an NXT to work with, because it's a schoolwork.
Your problem, if it will be too late then.

And as I said, I give up.
naneczek
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Post by naneczek »

ok, looking at your very first post, I can only say that you were very helpful then, you modified the code, gave me full explanation and I understood everything rightaway. What about now?
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Post by HaWe »

doc-helmut wrote:as I said, I won't help you unless you can't debug and test your code by your own, having an NXT to work with, because it's a schoolwork.
Your problem, if it will be too late then.

And as I said, I give up.
naneczek
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Post by naneczek »

Ok, you've got everything at home, you can check it and so on. Sorry but you are not much of a helpful hand here.
Bye
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Post by HaWe »

yes, it would be different if it was no schoolwork.
But as I wrote:
doc-helmut wrote:as I said, I won't help you unless you can't debug and test your code by your own, having an NXT to work with, because it's a schoolwork.
Your problem, if it will be too late then.

And as I said, I give up.
Bye.
:)
naneczek
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Post by naneczek »

Hmm, It is not pure schoolwork. I just wanted to learn it, yet if there is nobody who would help me, explain it to me some things, I just give up.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Post by HaWe »

haha, nice try. :lol:

But if it's not about schoolwork, then it's not about just this problem but it's a matter of the correct appraoch to the whole stuff.

Buy some good books about NXC and try to learn to program based on tutorials.
If you got no NXT to try: buy one!
Robot programming makes no sense without having a robot available to program.

The NXT is not cheap, but on Ebay there are lots of 2nd hand sets.

If you want to try to start with a virtual robot instead: maybe try this: http://www.robotvirtualworlds.com/

But forget about trying to make me write code for a schoolwork (either pure schoolwork or not): you will not succeed!
doc-helmut wrote:as I said, I won't help you unless you can't debug and test your code by your own, having an NXT to work with, because it's a schoolwork.
Your problem, if it will be too late then.
edit:
if I advice you to revise your indentations, you should have been wise enough to comply with my request,
and the same it's about my advices to describe in your own words what your code actually is doing, command after command and line after line.
loopymech
Posts: 35
Joined: 30 Sep 2010, 15:35

Re: NXT PROBLEM

Post by loopymech »

I have to agree with doc. This sounds like schoolwork. It won't help you learn if someone does the work for you. I suggest the NXC tutorial and getting some hands-on time with an NXT.

Also, try writing pseudo code (look it up if you need to) and get the proper logic flow. I think you might get more helpful feedback if you do some of the things being advised.

-Loopy
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: NXT PROBLEM

Post by afanofosc »

Doc,

Thanks for trying to help this fellow with his code. You were very patient with him.

Just so the original poster knows, you can't read the ultrasonic sensor faster than once every 15 milliseconds (slightly more than that) so it is not possible to take readings at 100 hz, which is what the original problem stated, I think.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests