ROBOTC.net forums
http://www.robotc.net/forums/

Tetrix (not NXT) motor sync
http://www.robotc.net/forums/viewtopic.php?f=52&t=2178
Page 1 of 1

Author:  dgbatths [ Thu Feb 11, 2010 3:55 pm ]
Post subject:  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.

Author:  tfriez [ Fri Feb 12, 2010 4:31 pm ]
Post subject:  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.

Author:  dgbatths [ Fri Feb 12, 2010 8:25 pm ]
Post subject:  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?

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/