NXT PROBLEM

Discussion specific to projects ideas and support.

Re: NXT PROBLEM

Postby naneczek » 26 Jun 2013, 20:22

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?
naneczek
 
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Postby HaWe » 26 Jun 2013, 20:27

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.
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Postby naneczek » 26 Jun 2013, 20:32

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?
naneczek
 
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Postby HaWe » 26 Jun 2013, 20:44

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.
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Postby naneczek » 26 Jun 2013, 20:47

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
naneczek
 
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Postby HaWe » 26 Jun 2013, 20:51

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.
:)
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Postby naneczek » 26 Jun 2013, 20:56

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.
naneczek
 
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Postby HaWe » 26 Jun 2013, 21:19

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.
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXT PROBLEM

Postby loopymech » 28 Jun 2013, 02:13

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
loopymech
 
Posts: 35
Joined: 30 Sep 2010, 15:35

Re: NXT PROBLEM

Postby afanofosc » 28 Jun 2013, 22:35

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/
User avatar
afanofosc
Site Admin
 
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN

PreviousNext

Return to Mindstorms Projects

Who is online

Users browsing this forum: No registered users and 19 guests

cron