|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Can't figuring out what's wrong. Please help.
If you are using Java, or a language with similar syntax, you'll want a format like this:
Code:
if(condition1)
{
//perform action 1
}
else if(condition2)
{
//perform action 2
}
What this will do is stop checking if a button was pressed after one of the conditions is true. I.e., when condition 1 is true, the program will not check for condition 2 and not execute its else statement (if you have one). If what Alan said is the issue, this should be a relatively simple fix. Now for everyone to tell me that I'm completely wrong and that this won't work. ![]() |
|
#2
|
||||
|
||||
|
Re: Can't figuring out what's wrong. Please help.
You say "van door motors" - which motors are you talking about specifically? Most teams would be using either the AndyMark Gear Motor (PN am-091) or dual Window Motors (PN 262100-3040 and 262100-3030). To use a van door motor, you would either have access to previous year's KoP's (several years ago they included a Van Door motor, if I remember correctly), or parts from the ARA donation.
If you're talking about the window motors in the KoP, I recall issues being posted in past years with them and specific speed controllers - when pushing against a load, the frequency of the speed controller would cause issues with running it in that direction. Try switching the controller out for a Spike relay (if appropriate), or removing the locking pin from the window motor (an allowed modification). |
|
#3
|
|||||
|
|||||
|
Re: Can't figuring out what's wrong. Please help.
FIRST Choice still had the '08 KOP Van Door motors in Week 6, and they are legal to use if you got them from there. I was thinking those would be perfect for dropping the bridge if you could get your hands on them.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|