|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#46
|
||||
|
||||
|
Re: CAN reliability
Is it always the same Jags which sometimes don't work ?
Try swapping them with Jags that always work and see what happens. |
|
#47
|
||||
|
||||
|
Re: CAN reliability
I'll record which Jags it is next time it happens.
|
|
#48
|
|||||||
|
|||||||
|
Re: CAN reliability
I'd like to address the implications of the lessons learned for the upcoming season...
Quote:
NI and TI are each working to improve performance of the parts of the system they are responsible for. As for the timeout, the default timeout for a single device transaction has been reduced from 100ms to a much more reasonable 10ms. The 2CAN plugin is another place where performance needs to be considered (but has not yet been addressed... support from CTRE is needed). Quote:
Quote:
Quote:
![]() It is for 2011. Quote:
Quote:
Quote:
We are working hard to make using CAN with Jaguar a competitive advantage and not a liability. We need the help of people like you to identify issues and bring them to our attention. Thanks for all of your investigation and feedback! -Joe |
|
#49
|
||||
|
||||
|
Re: CAN reliability
Thanks for posting this reply! I'm under oath of NDA until the info is made publicly available.
The "Device Query" message is something that would be useful if there was more than one type of device that worked on CAN. Quote:
I'm not sure if this command has practical usage. If you send a CAN device a message, using the wrong device type and manufacturer in the device ID, will it respond with the wrong device type and manufacturer? |
|
#50
|
||||
|
||||
|
Re: CAN reliability
Quote:
A new plugin and firmware version for the 2CAN will be released shortly. Joe you should be hearing from Omar soon regarding this if not already. I believe he has some CAN traffic snap shots that you may find helpful. |
|
#51
|
|||
|
|||
|
Re: CAN reliability
Sounds great... Thanks Mike!
|
|
#52
|
||||
|
||||
|
Re: CAN reliability
New Firmware and plugin is available at http://www.crosstheroadelectronics.com/2CAN.htm
Marshall (or any one), have you observed any latencies issue with a 2CAN? I know you've done the extensive testing with the BlackJaguar. One reproducible problem I can report is if I create a Robot app that drives throttle for several jaguars (say 1-10). Then only put one jaguar (id 1) on the CAN bus. When I do this the Jaguar does not drive at all (massive delays and timeout issues). Looking at the CAN bus it looks like the cRIO is attempting to reestablish tokenization with the other jags. When this happens the throttle CAN frames are not going out for Jaguar 1, which causes Jaguar 1 to timeout as well. This tokenization that occurs to keep the Jaguars enabled seems to block the transmit requests from the user's code (CANJagar::sendmessage) if the Jag on the other side doesn't send it's ack with token response, presumably because cRIO internal logic is waiting on the response. Now this could happen because of an intermittent cable issue somewhere, or because a jaguar is left unplugged (deliberately or accidently) or because of software. |
|
#53
|
||||
|
||||
|
Re: CAN reliability
Also note that there are now two different versions of the 2CAN firmware. Please be sure to download the correct version based on your application. A seperate link to a zip containing the plugin and the 2CAN firmware has been added under the Downloads for FIRST section at the bottom of the page.
|
|
#54
|
||||
|
||||
|
Re: CAN reliability
Quote:
I know I was originally complaining about the low throughput of serial port. (The 2009 Beta threads are gone now, or I would link to it.) However, the 2CAN wasn't released until January, by which time I was busy with the new season. By the time I was purchasing more Jaguars to make a test robot in late spring, the Black Jaguars were the only ones available. And so, having some of the capabilities of CAN with almost no increase in cost, I couldn't rationalize buying a 2CAN. That's not to say I wouldn't like one. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Supershifter Encoder Reliability Problems? | Qbranch | General Forum | 5 | 04-02-2008 12:55 |
| 2007 Radio link reliability problem | Dave K. | Control System | 12 | 02-02-2007 22:26 |
| Mechanical Reliability | Andrew Blair | Technical Discussion | 20 | 26-10-2005 21:29 |
| can anyone please tell mw where or with what can i lear programing in C | techsage | Programming | 7 | 23-08-2005 00:25 |
| team 67 reliability? | mattshuert | OCCRA | 6 | 02-12-2002 15:53 |