Go to Post A shaft that yielded is just as useless as a shaft that broke. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 01-27-2014, 10:24 PM
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Vision Running Motor Even When goal is not found

Quote:
Originally Posted by Zaque View Post
Thanks for the reply. 1 and 2 are for testing purposes, so I could test the loops were working correctly and to save the flash memory of the cRIO. I was not aware of 3. If you could point out where that is happening and a potential fix for that, I would appreciate it.
Sorry, I was wrong on number 3.

I would recommend at the beginning of each loop setting the relay to stop, and then only turning it on when you see true.

Remember once you determine that the goal is hot, there is really no reason the check anymore.

I would recommend trying to use commands to do this, and have the first one "WaitForHot" finish when it sees hot (or 5 seconds passes) and the second one "Shoot"
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote
 


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 08:34 AM.

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