|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
How did you confirm this? A quick and definitive test is to swap the wires at the roborio and PCM. I know the colors won't match, but it switches the hi/lo through the Jag part of the network. If that works out, then you can fix the cables between the new components and the Jags.
|
|
#2
|
|||
|
|||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
Quote:
The thing about the situation that confuses me the most is we still have comms to the PCM and the PDP while the wires are hooked into the jags but it is almost like the roborio is ignoring them entirely. Here is a current screenshot of our web UI: http://puu.sh/eQY8J/bd1a33ddcf.png |
|
#3
|
||||
|
||||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
Quote:
RIO(L) - Jag(H) - Jag (H) - PCM(L) - PDP(L) RIO(H) - Jag(L) - Jag (L) - PCM(L) - PDP(H) So of course PCM/PDP work one way. Then again without being there its hard to tell. When you flipped did you see the Jags in the roboRIO web-page config? Anyway it really shouldn't be this difficult. At this point I would just connect the RIO to one Jag only and get that working. Are these out-of-the-box Jags? Where they ever used before? If so were they working on can or pwm? |
|
#4
|
||||
|
||||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
When you connected with BDC-COMM was it over serial or CAN? I mean if you BDC-COMM (rs232) to one Jag, can you discover the second Jag over CAN?
When using BDC-COMM the Jag you rs-232 connect to is the gateway, but you should be able to discover/setid the other Jag on the CAN bus. You should be able to discover each Jag using the other as the gateway in this fashion. Using only rj11 cabling, there shouldn't be a chance of flipping the lines, and it would at least prove the Jags are CAN-capable. Then the next step would be to take one Jag and connect to the RIO and see if that works. If not then it's likely cabling between the simple wires and the rj11. |
|
#5
|
|||
|
|||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
We are also having the same issue. We have the pcm and pdp at each end of the network with the jags in the middle. You can see the pcm and pdp but no jags. If you break the network the pdp shows a stale data message on the web browser. Connect it back up and refresh and it's happy again. If you check the box for lighting the light you can see the effect on the pcm and pdp so i know comm is good over the network. Maybe we have the the high/low on the drives crossed? Am I safe in assuming that software in the robo rio is not the problem? Thanks.
|
|
#6
|
||||
|
||||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
Quote:
Quote:
We have not tried PWM Quote:
Quote:
|
|
#7
|
||||
|
||||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
So I tried a fresh setup with a RIO, out-of-box Jag, and a PDP. Seemed to work.
I took a single RJ11 cable (2 wire red/green) and snipped it in two. Giving me two harnesses each with a RJ11 end and two bare wires (red and green). One harness connects RIO(Red/green) to Jag(rj11) and the other harness connects Jag(rj11) to PDP(green/red). What's tricky is that red and green are flipped between the two rj11s. As a result red/green is CANH/CANL on one and red/green is CANL/CANH on the other. The attached image better explains this. So if you're cutting regular rj11 cables in half, be aware that the colors are not consistent on both sides of the Jag bus. |
|
#8
|
|||
|
|||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
Your last post helped us fix the problem. Thanks for the solution!
We really appreciate how much time you have spent in helping us. |
|
#9
|
||||
|
||||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
Awesome! No prob.
Hmmm...maybe we should add that tip to the FRC screen-steps page. |
|
#10
|
|||
|
|||
|
Re: RoboRIO unable to detect Jaguars wired through CAN
Quote:
See Omar's diagram. I definitely think that's what has happened. It happened to us at least twice during alpha/beta. This can happen becuase the Jaguars will pass the signal through even if they aren't able to communicate on the bus. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|