View unanswered posts | View active topics It is currently Thu Oct 30, 2014 9:38 am






Reply to topic  [ 2 posts ] 
I have a question about going forward w/ or w/o nsynched... 
Author Message
Rookie

Joined: Fri Dec 24, 2010 1:16 am
Posts: 11
Post 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
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3227
Location: Rotterdam, The Netherlands
Post 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

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Dec 24, 2010 2:24 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.