Go to Post I, for one, am perfect and therefore make no mistakes. (Unless you count all the times that I completely screw up) - Molten [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 14-01-2014, 20:11
ROULT ROULT is offline
Registered User
AKA: pepemanboy
FRC #4403 (ROULT)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Mexico
Posts: 32
ROULT is an unknown quantity at this point
4 motor arcade drive CAN Jaguar (Java)

Hi, everybody...

Our team (4403) is using 2 motors in each gearbox of the AM14U Chassis.

We are also using Jaguars connected to each other with CAN.

We are programming in Java.

Is it possible to use 4 jaguars in CAN to control the Arcade Drive in Java?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2014, 20:21
Thorn Thorn is offline
Registered User
None #2869 (Regal Eagles)
Team Role: Teacher
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Bethpage
Posts: 10
Thorn is an unknown quantity at this point
Re: 4 motor arcade drive CAN Jaguar (Java)

Are you using the built in Robot Drive class?
If 2 motors connect to one gearbox, they are just working together for more power?
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2014, 10:29
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: 4 motor arcade drive CAN Jaguar (Java)

Assuming you are using %volts mode, it is equivalent to driving it with a PWM Y-cable and is very doable. Simply send the same command to each jaguar on the same side of the tank (four commands instead of two). Theoretically, you would need to put them into a group and then send an additional execute group command, but we have not found that to be necessary.

If you are trying to use the PID feature of the jaguar with encoders hooked to the jaguar (as opposed to the cRIO DSC), then things get much more complicated. Teams have had trouble splitting the encoder to go to two jaguars and even if you accomplished the split, you have two servo loops which will fight each other for control of the encoder velocity. Multi-motor PID is much simpler with one controller (cRIO) and then send duplicate commands to the jaguars in %volts mode as above.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi