Search found 337 matches

by hassenplug
28 Mar 2013, 13:07
Forum: Mindstorms Software
Topic: Independent motorcontrol
Replies: 2
Views: 3950

Re: Independent motorcontrol

This is a common type of programming error. You are not unique in having this problem. One thing I try to always do is to use {} in an if statement, even when it's not required... This code if (condition) function1(); is the same as this code if (condition) // preferred { function1(); } but this... ...
by hassenplug
22 Mar 2013, 20:23
Forum: Mindstorms Projects
Topic: autonomous tin can collector with LabView12
Replies: 5
Views: 8459

Re: autonomous tin can collector with LabView12

Well, I typed this up once, and it lost my reply. So, this one will be shorter. The very short answer is that you need to look into what the Loop Exit Condition does. In your first two loops, when it checks to see if it should exit, you have it set to true, so it will exit right away. I think you wa...
by hassenplug
21 Mar 2013, 17:23
Forum: Mindstorms Projects
Topic: autonomous tin can collector with LabView12
Replies: 5
Views: 8459

Re: autonomous tin can collector with LabView12

Looks like there are a few little issues with your program. The biggest problem is that there are several places that you're trying to tell the motors what to do, and there's not anything to indicate which of them can happen first. Some suggestions & comments: 1) The "NXT btns" block a...
by hassenplug
20 Mar 2013, 12:54
Forum: Mindstorms Projects
Topic: autonomous tin can collector with LabView12
Replies: 5
Views: 8459

Re: autonomous tin can collector with LabView12

Well, I don't have LV12 installed. Can you post a picture of the program?

What do you think the program is doing right/wrong?

Steve
by hassenplug
14 Mar 2013, 20:09
Forum: Mindstorms Software
Topic: NXT-G 2.1 Bug?
Replies: 7
Views: 8299

Re: NXT-G 2.1 Bug?

What do you mean by "reset to their original position"?

If you're reading the values from the rotation sensor, they should continue.

Feel free to post your program.

Steve
by hassenplug
11 Mar 2013, 14:08
Forum: Open Discussion
Topic: Have to give up this hobby for now. Were to sell stuff
Replies: 2
Views: 5593

Re: Have to give up this hobby for now. Were to sell stuff

E-Bay works well for many people.

Steve
by hassenplug
07 Mar 2013, 13:57
Forum: Mindstorms Hardware
Topic: bluetooth connection problems
Replies: 1
Views: 4257

Re: bluetooth connection problems

I would try a couple different things:
1) Turn them off, and try again
2) Remove the batteries, and try again
3) Go into the bluetooth setting for each NXT, and remove all pairings. Then try again.

Steve
by hassenplug
26 Feb 2013, 14:40
Forum: Mindstorms Software
Topic: Help with NQC code
Replies: 13
Views: 16648

Re: Help with NQC code

Here's the best I can think of with what I want the robot to do. code in words while the light sensor is at 39 or below, power motors A and C; when it bumps the first obstacle and x == 0, rotate clockwise until light sensor is at 39 or below, back to powering motors A and C; when it bumps the secon...
by hassenplug
26 Feb 2013, 14:08
Forum: Open Discussion
Topic: Starting from Scratch
Replies: 3
Views: 6366

Re: Starting from Scratch

Jess,

I suggest you start by looking into First LEGO League http://www.firstlegoleague.org/

That would help you better understand what's possible. The FLL season generally runs from September through December, but now is a great time for you to start learning what needs to happen.

Steve
by hassenplug
25 Feb 2013, 14:03
Forum: Mindstorms Software
Topic: Help with NQC code
Replies: 13
Views: 16648

Re: Help with NQC code

Steve, I need the robot to follow the line until it bumps into the obstacle (touch sensor), then back up about 4 inches, and then pick up the line that it needs to follow without going back in the direction it came from. That's a good start. Now, you need to expand on that a bit. 1) How does the ro...