![]() |
CANJaguar vi's
Do the CANJaguar vi's from FirstForge/WPI send signals to the jaguars from the cRIO's ethernet port 2 or it's serial/RS232 port? I need to know so my team can buy the correct adapter. Thanks in advance.
|
Re: CANJaguar vi's
The VIs can do either. It depends on whether you install the 2CAN or Serial plugin on the cRIO.
|
Re: CANJaguar vi's
The following is my opinion based on observation and the current devices in use in FRC as of today. This opinion could change in a moment if circumstances change.
When considering whether to go with 2-CAN or serial, consider this: 1)Both Ethernet ports are needed on the cRio IF you intend to use the vision system. 2) There are multiple flavors of "serial" available on the current FRC control system, RS232, I2C, TTL (with a little support hardware). Serial will be much less expensive to implement AND no specific devices require it's use currently. So, IMHO, serial is the way to go. Just my $.02. |
Re: CANJaguar vi's
Quote:
Quote:
2) The Serial CAN plugin is built only to work with the RS232 port on the cRIO |
Re: CANJaguar vi's
Quote:
Thanks for the info Pi. Good stuff. |
Re: CANJaguar vi's
Before you ask how to connect CANbus, think if you need CAN. What does it give you that you can't already get? You can already do feedback on position or speed with the cRio, and get open voltage control, using PWM. CAN provides you with constant current control and feedback on current usage, which may or may not be useful. Unless you really really want constant current control, you don't need CAN. And, if you are using it for position feedback, all it provides you is code implemented to do PID. You can already use LabVIEW PID to do it easily. Either way you still have to tune the gains, which is probably the hardest part. If you don't understand what advantage CAN gives you and don't know if you need it, you probably don't. We decided this year that we would rather use the IFI Victors because they are far more reliable than the Jaguars (we had 12 Jaguars on last years robot and more failures that year then the past few years combined), and we don't need any current control.
|
Re: CANJaguar vi's
Quote:
Motor current and motor voltage (can be used to monitor motor internal temperature via resistance). Current feedback can be used to implement torque limiting for traction control. ~ |
Re: CANJaguar vi's
Quote:
~ |
Re: CANJaguar vi's
Quote:
Plus (when we ordered our black jag), according to digikey gray jags are no longer available. Not sure if that means discontinued or just sold out when we tried to buy one |
Re: CANJaguar vi's
Quote:
|
Re: CANJaguar vi's
Quote:
Quote:
Quote:
Quote:
~ |
Re: CANJaguar vi's
This one doesn't seem to get mentioned very often:
Jaguars also tell you their temperature, which you can monitor to predict or troubleshoot failures. I haven't been able to find a LabVIEW driver for 2can. Could somebody point me towards it? |
Re: CANJaguar vi's
Quote:
It's 3rd-party: http://firstforge.wpi.edu/sf/projects/canjaguar Quote:
~ |
Re: CANJaguar vi's
Isn't that for the black jaguar?
I've seen the C++ 2can driver, back around the start of the build season, and I remember seeing it received the data from the CAN functions and forwarded them to the 2CAN via UDP datagrams. Assuming that project is for BOTH 2CAN and the serial CAN, how do I configure the firmware/framework for one versus the other? Is it sent over both by default? |
Re: CANJaguar vi's
Both VIs are used identically between 2CAN and Serial, however there is a cRIO software plugin that can be swapped for 2CAN or Serial mode (not both at the same time though). The seial version is on firstforge under the canjaguar project as BlackJagBridgePlugin. The 2CAN version can be downloaded here (the source is in the firstforge repository, however a build has not been posted on firstforge).
|
| All times are GMT -5. The time now is 10:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi