Thread: Sync Two Jags
View Single Post
  #10   Spotlight this post!  
Unread 02-07-2011, 09:12 PM
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Sync Two Jags

Hook up your encoder to you "master" Jags only. Put your "slave" Jags into absolute Voltage mode.

In your TeleOp Continuous loop, do:

slaveJag.setX(masterJag.getVoltage());
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote