![]() |
NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will....
We programmed the Minibot on NXT-G so that the motor will spin infinitly however it stops after 3-4 spins. We checked the controllers, changed NXT-Bricks, checked wirings and the programming.
Can anyone think of any other reason why the motors would stop after a couple spins? |
Re: NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will.
Quote:
|
Re: NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will.
Well, we don't want the motors to spin after it hits the top of the pole.
Also, we don't want the motors spinning for the entire round. |
Re: NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will.
You could easily design a switch to turn the motors on right before you deploy.
You can also make a switch to turn the motors off. |
Re: NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will.
The " infinite " time control option in the nxt-g motor command is really misleading. There is some sort of time out feature that you can't modify. Just nest that command in an infinite loop and you will have what you are looking for. If it still doesn't last long enough - double nest it.
|
Re: NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will.
Have you made sure that your program doesn't end? If that block exits, then the program will exit.
On the NXT, with Lego firmware, motors will continue to run for about a second (then coast) when a program exits. I hope this helps. |
| All times are GMT -5. The time now is 03:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi