|
Page 1 of 1
|
[ 2 posts ] |
|
I have a question about going forward w/ or w/o nsynched...
| Author |
Message |
|
Nathan
Rookie
Joined: Fri Dec 24, 2010 1:16 am Posts: 11
|
 I have a question about going forward w/ or w/o nsynched...
Please someone answer as soon as possible: my class is entering a competition and I need to help them soon! When I use the correct format for the nsynched, it should correct the B and C motors to be synched with each other. If i don't and just use the normal stuff, it shouldn't synch with each other. For some reason, it is the exact opposite with both syntaxes.
Why???
(I use vista and robotc for ftc 2.26)
Here's what i use...
this is the normal going forward
motor[motorB] = 50; motor[motorC] = 50; wait1Msec(4000);
this is the improved going forward
nSyncedMotors = synchBC; nSyncedTurnRatio = 100; motor[motorB] = 50; wait1Msec(4000);
Last edited by Nathan on Mon Dec 27, 2010 12:52 am, edited 2 times in total.
|
| Fri Dec 24, 2010 1:22 am |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2858 Location: Rotterdam, The Netherlands
|
 Re: I have a question about going forward w/ or w/o nsynched...
Perhaps if we could see some code, that might help us see the problem. I can't really make out what the issue is from your description.
Give us a piece of code that exhibits this issue and we'll be much better equipped to help you.
Thanks, Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Fri Dec 24, 2010 2:24 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|