View unanswered posts | View active topics It is currently Tue May 21, 2013 6:28 am






Reply to topic  [ 1 post ] 
proposal: improvement of the sync Motors Command 
Author Message
Senior Roboticist
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 936
Location: a small planet in the vicinity of Beteigeuze
Post proposal: improvement of the sync Motors Command
hi,
to my opinion, a better way to synch motors is
Code:
void synchMotors(tMotors m, tMotors s1, int nSynchedTurnRatio); // 2 motors; m=master, s1=slave
void synchMotors(tMotors m, tMotors s1, tMotors s2, int nSynchedTurnRatio1, int nSynchedTurnRatio2 ); // 3 motors; m=master, s1=slave1, s2=slave2,

by this, you could have all control by only 1 command :

Code:
// call:
synchMotors(0,1, 100);
synchMotors(0,1,2, 100, -100);
8)

_________________
Ford Prefect

Never purchase release 1.x ! (ancient programmer's wisdom)
"Don't argue with idiots. They'll drag you down to their level and then beat you with experience."


Thu Jun 05, 2008 12:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 4 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

Search for:
Jump to:  



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