Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Victors or Jaguars (http://www.chiefdelphi.com/forums/showthread.php?t=106257)

JamesTerm 04-05-2012 00:22

Re: Victors or Jaguars
 
Quote:

=programmers like jaguars.
Not all progammers like jags... you can cast 3481 and 148 programmers' vote to those which prefer vics... and we use c++ do our own PID work etc... The vic has a little curve on its derivative of speed control to velocity translation, but I'm use to it and like it anyhow. :)

slijin 04-05-2012 00:29

Re: Victors or Jaguars
 
Quote:

Originally Posted by Andrew Schreiber (Post 1166574)
My personal preference is Jags based on my love of CAN. If not for CAN I'd use Victors.

I have to agree with this. If you're not going to use CAN, stick with Victors. If you think CAN is imperative for your application, then add Jaguars to the mix. We had Victors for everything except our shooter motors, which were controlled with Jaguars running their infamous closed-loop PID.

One point that I've never seen mentioned before and I feel really needs to be said is that if you use CAN, make sure you have people in the pit crew who know how to troubleshoot it. There are many teams that never run into issues with CAN (and that's great for them) but there are infinitely more teams who experience incessant issues with CAN. Jaguars are much more complex devices than Victors and have far more failure points. Familiarity with and knowledge of CAN is an absolute must, and there are only so many issues that can be caught during build season (like finding out that your CAN loop takes longer to execute than the allocated loop time).

We had one incident at our first regional where only after ten minutes of frustrated troubleshooting did we manage to isolate the issue to a bad Jaguar in the CAN chain (the traditional move-and-replace-stuff method just barely caught this), which for some (still unknown) reason refused to interact with other Jaguars on the network (no, it wasn't a contact pin issue; later off-board testing yielded inconclusive results as to the source of the problem). If it wasn't for my and another programmer's familiarity with CAN (our lead programmer even had to step back, due to his unfamiliarity with the issues at hand), we may never have caught the problem in time. I eventually handed it off at CMP to a TI rep who hopefully will be able to get back to us with more concrete results.

MichaelBick 04-05-2012 01:23

Re: Victors or Jaguars
 
Quote:

Originally Posted by JamesTerm (Post 1166796)
Not all progammers like jags... you can cast 3481 and 148 programmers' vote to those which prefer vics... and we use c++ do our own PID work etc... The vic has a little curve on its derivative of speed control to velocity translation, but I'm use to it and like it anyhow. :)

If you want to get rid of it though(and many drivers perfer a linear drive), try 254's 2011 code. It is open source, and it has a function to linearize the victors. If you want help with that you might try PMing Cory.

Andrew Schreiber 04-05-2012 12:16

Re: Victors or Jaguars
 
Quote:

Originally Posted by slijin (Post 1166798)
I have to agree with this. If you're not going to use CAN, stick with Victors. If you think CAN is imperative for your application, then add Jaguars to the mix. We had Victors for everything except our shooter motors, which were controlled with Jaguars running their infamous closed-loop PID.

One point that I've never seen mentioned before and I feel really needs to be said is that if you use CAN, make sure you have people in the pit crew who know how to troubleshoot it. There are many teams that never run into issues with CAN (and that's great for them) but there are infinitely more teams who experience incessant issues with CAN. Jaguars are much more complex devices than Victors and have far more failure points. Familiarity with and knowledge of CAN is an absolute must, and there are only so many issues that can be caught during build season (like finding out that your CAN loop takes longer to execute than the allocated loop time).

We had one incident at our first regional where only after ten minutes of frustrated troubleshooting did we manage to isolate the issue to a bad Jaguar in the CAN chain (the traditional move-and-replace-stuff method just barely caught this), which for some (still unknown) reason refused to interact with other Jaguars on the network (no, it wasn't a contact pin issue; later off-board testing yielded inconclusive results as to the source of the problem). If it wasn't for my and another programmer's familiarity with CAN (our lead programmer even had to step back, due to his unfamiliarity with the issues at hand), we may never have caught the problem in time. I eventually handed it off at CMP to a TI rep who hopefully will be able to get back to us with more concrete results.


Our debugging process usually involves checking lights followed by checking the 2CAN via a web browser. If that is reporting the Jag as being connected we blame the software guys and fix it. If not we blame the electrical guys and make them debug it. 9 out of 10 times the error is that someone had decided to use the CAN wires as a place to zip tie the 2CAN to. (This only happened once but it's too funny of a story) Using this process we are usually able to nail down an error fairly quickly.

JamesTerm 04-05-2012 18:14

Re: Victors or Jaguars
 
Quote:

Originally Posted by MICHAELABICK (Post 1166808)
If you want to get rid of it though(and many drivers perfer a linear drive), try 254's 2011 code. It is open source, and it has a function to linearize the victors. If you want help with that you might try PMing Cory.

Yeah that would be great... if you have a link that would be great as well.
Thanks!

Ether 04-05-2012 18:50

Re: Victors or Jaguars
 
Quote:

Originally Posted by JamesTerm (Post 1167017)
if you have a link that would be great as well.

You might find these threads of interest:


http://www.chiefdelphi.com/forums/sh...70#post1085570

http://www.chiefdelphi.com/forums/sh...d.php?p=988730





MichaelBick 04-05-2012 18:56

Re: Victors or Jaguars
 
Yeah, Ether's first link is the thread which talks about how they linearized the victors.

Ether 04-05-2012 18:59

Re: Victors or Jaguars
 
Quote:

Originally Posted by MICHAELABICK (Post 1167027)
Yeah, Ether's first link is the thread which talks about how they linearized the victors.

It also has posts which offer alternative approaches possibly worth considering.



MichaelBick 04-05-2012 19:04

Re: Victors or Jaguars
 
And this is the original thread of 254's code, talking about the linearization:

http://www.chiefdelphi.com/forums/sh...light=254+code

JamesTerm 05-05-2012 20:27

Re: Victors or Jaguars
 
Quote:

Originally Posted by Ether (Post 1167024)

These are awesome! Thanks! :)
I'll definitely want to use them!!


All times are GMT -5. The time now is 05:53.

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