Go to Post you are going to gear that down right? Otherwise your robot will take about 10 minutes to reach its top speed of mach 2.6. - M. Hicken [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 21-06-2011, 22:31
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
Hello,

While trying out some drive code, I have had problems with one of our four Jaguars that control the four drive motors. I have verified that the wiring is correct multiple times, and when the robot is enabled the LED on the Jaguar is a solid amber - indicating a connection to the cRIO. However, when I should be sending power to the motor, the LED still indicates a solid amber instead of green or red.

Frankly, I cannot find any fault with my code, but that seems to be the only possible thing. I have tested out other code with the same Jaguar, and it responded, so it cannot be a problem with the Jaguar. I've attached pictures of my LabVIEW code in the Begin.vi and Teleop.vi. I am honestly stumped. Can any of you guys help?
First off, do you have the right pwm cable connected, and connected in the right way? Is your joystick code correct as well? Are your jaguars calibrated? I would assume so. I remember having a problem similar to this, this past season. We killed one jaguar because we forgot to calibrate, so one jaguar killed another. I remember we also played around with what jaguar got what motor. If you try switching around the pwm cables to different jaguars, that can possibly work.
The last thing i can think of in LabVIEW, would be to see what the motor output is. I don't really remember how to do it as the programming computer is not with me, but i think you right click a wire in the code, and something is an option that allows you to see the number/output of something like a jaguar or the speed applied when the joystick is pushed. I think you would have to put it on the wire that is connected from motor to set motor in the teleop code. Not exactly sure as I only learned how to do that at the competition when i had a programming alumni present to help me out.
Let me know how things go
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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