NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Knoebel
Posts: 49
0 Kudos

Is this forum used for mindstorm nxt questions also

I am trying to control a ball grabber robot using NXT 1. My goal is to have the robot facing the same direction before searching for the second ball. The program I am testing with almost gets the robot back to the starting position, but not quite. The reason I am doing this is to take the balls to a drop off location. The code attached is just to test with, not the full program. It does not grab any balls.

Member
0utlaw
Posts: 88
0 Kudos

Re: Is this forum used for mindstorm nxt questions also

Hello Knobel,

 

Yes, this is the correct forum for NXT questions, although you may want to consider posting here as well (http://messageboards.lego.com/en-US/showforum.aspx?ForumID=1042.)  Thank you for providing screenshots of your code, but it is a little difficult to determine what it does without notation; would you be able to provide the program for us look at directly?  It would also help a lot if you could describe how you are getting the robot to move and return to the same position (e.g. motor on timing, motor position, sensor-determined location, etc.) as well as what you mean by "almost gets the robot back"- what sort of positional shift are you seeing?

 

Regards,

Tom L.
Applications Engineer
National Instruments
Member
James4521
Posts: 1
0 Kudos

Re: Is this forum used for mindstorm nxt questions also

I need help with a light sensor

Member
Whit-E_Wall-E
Posts: 37
0 Kudos

Re: Is this forum used for mindstorm nxt questions also

Hello,

 

There are a lot of resources online and in the software that can help with example code for the different sensors.

 

This website offers a lot of valuable information regarding the programming.  It also has examples in the different programming languages you can use.

 

http://www.legoengineering.com/programming.html

 

They also have Quick Guides to Programming that show very simple code and explanations.  There is a basic example written in the guide specific to the light sensor.

 

http://legoengineering.com/quick-guides-to-programming.html

 

There are also examples for different builds and programming guides in the ROBO Center on the right of the screen when you open the NXT Mindstorm software.

 

Regards,

M. Whitaker
ni.com/support
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page