View Single Post
  #1   Spotlight this post!  
Unread 21-06-2011, 23:03
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Jaguar communication issue

Quote:
Originally Posted by kenavt View Post
Let me try to address the things you've brought up one by one (I'm trying to cross potential problems off of my list):

-I have verified the wiring from the cRIO to the Digital Sidecar and through the PWMs to the Jaguar.
-What do you mean by calibrating Jaguars? I thought they were set to go out of the box.
-Frankly, I doubt switching around PWMs should make any difference. All the Jaguars are the same, right? Or at least they should be.
-I haven't "probed" - that's the word you are looking for - the output wire to the SetOutput.vi while the robot's been running. However, looking at my code, I am most definitely not sending "0s", as my team would say, to the Jaguar.

Because previous code (our competition 2011 code) used that Jaguar as expected, I am guessing the problem has to do with how I am assigning PWM channels. That is why I attached the image of my Begin.vi.
According to what you have said, I think the Jaguar is fine. Plus is you used it for competition they are definitely calibrated then. If you didnt know, to calibrated you take a small pin and put it in the reset hole. Then you wait for it to blink. Then you just push the joystick forward, neutral, then back, then release pin.
Are you sure pwm is only for that Jaguar and not used for something else?
The last thing I can think of is the following. If this Jaguar is for your drivetrain, then you have it programmed wrong. If it is just for a window motor which should he attached to a spike relay, you also have it wrong. What exactly are you using this Jaguar for? I probably should've asked that in my first response.