View Single Post
  #8   Spotlight this post!  
Unread 14-01-2012, 21:04
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Exclamation Re: Jaguars - Current Mode Fails

Quote:
Originally Posted by Patrickwhite View Post
That sounds like what we were doing before - we had the slave Jaguars running in PercentVBus mode, and the master Jaguars running in PID speed control mode. We had separate PID loops on the left and right master Jaguars. To synchronize the slaves, we used:
Code:
...
jagLeftSlave.setX(jagLeftMaster.getOutputVoltage() / jagLeftMaster.getBusVoltage());
jagRightSlave.setX(jagRightMaster.getOutputVoltage() / jagRightMaster.getBusVoltage());
...
Is something similar to this not possible in current mode?
No, you can't have the same speed and current guaranteed at the same time; you need to pick one.
Reply With Quote