Go to Post If you cannot complete relatively simple tasks, why would anyone assign you something more challenging?? - Chris Fultz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-02-2011, 13:24
Team 2524 Team 2524 is offline
Registered User
FRC #2524
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: New York
Posts: 48
Team 2524 is an unknown quantity at this point
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?
  #2   Spotlight this post!  
Unread 24-02-2011, 13:39
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will.

Quote:
Originally Posted by Team 2524 View Post
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?
Is there a reason you're using the NXT-Brick? If you just want the motors to spin indefinitely, then you can wire it as such. There shouldn't be anything too complicated on your Minibot to warrant programming.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #3   Spotlight this post!  
Unread 24-02-2011, 13:44
Team 2524 Team 2524 is offline
Registered User
FRC #2524
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: New York
Posts: 48
Team 2524 is an unknown quantity at this point
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.
  #4   Spotlight this post!  
Unread 24-02-2011, 14:07
nighterfighter nighterfighter is online now
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
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.
  #5   Spotlight this post!  
Unread 24-02-2011, 14:35
Coach Doug Coach Doug is offline
Registered User
FTC #3529
 
Join Date: Nov 2010
Location: South Lyon
Posts: 13
Coach Doug is an unknown quantity at this point
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.
  #6   Spotlight this post!  
Unread 24-02-2011, 19:21
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi