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






Reply to topic  [ 3 posts ] 
Tetrix (not NXT) motor sync 
Author Message
Rookie

Joined: Mon Nov 03, 2008 1:45 pm
Posts: 14
Post Tetrix (not NXT) motor sync
How do you synchronize two tetrix DC motors to run at the same rate?
I see examples for the NXT motors (using the nSyncedMotors variable).
I also see examples for tracking the encoder count of a tetrix DC motor.
And I see examples for running tetrix motors at the same "speed" as opposed to "power".
But I don't see any way to set up master and slave tetrix motors.

_________________
David Burnette
Tigard High School Robotics


Thu Feb 11, 2010 3:55 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: Tetrix (not NXT) motor sync
There is no Sync capability with TETRIX motors. They didn't build the functionality into the TETRIX motor controller. The I2C link is too slow to run a software sync, so the best thing you can do is compare encoder counts and adjust speed that way.

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Fri Feb 12, 2010 4:31 pm
Profile
Rookie

Joined: Mon Nov 03, 2008 1:45 pm
Posts: 14
Post Re: Tetrix (not NXT) motor sync
Would setting both motors to Speed mode (vs Power mode) with:
mtrPIDSpeedCtrl[leftMotor] = mtrSpeedReg
would it go straight with the same value sent to the motors?

_________________
David Burnette
Tigard High School Robotics


Fri Feb 12, 2010 8:25 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

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