Go to Post FIRST is an opportunity for me to tackle problems that have long been solved. - Madison [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-02-2014, 19:07
AlexBrinister AlexBrinister is offline
Registered User
AKA: Alex Brinister
FRC #1768 (RoboChiefs)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Bolton, MA
Posts: 93
AlexBrinister will become famous soon enough
Re: F310 Joystick and Jaguar Problems

Are you using closed-loop control? Check the forward and reverse limit switch jumpers on the Jaguars. If those are not properly set up, the Jaguar will flash steady red.

Alex Brinister
Reply With Quote
  #2   Spotlight this post!  
Unread 25-02-2014, 23:24
2185Bilal's Avatar
2185Bilal 2185Bilal is offline
Driver, Ld. Programmer, Electrical
AKA: Bilal Majeed
FRC #2185 (Ramazoidz)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Toronto, Canada
Posts: 110
2185Bilal will become famous soon enough
Re: F310 Joystick and Jaguar Problems

Quote:
Originally Posted by AlexBrinister View Post
Are you using closed-loop control? Check the forward and reverse limit switch jumpers on the Jaguars. If those are not properly set up, the Jaguar will flash steady red.

Alex Brinister
could u expand on that, however i dont think its the actual hardware thats the problem.

We tried inverting our drive system, so the left talons controlled the right side and the right talons the controlled the left side, we noticed it was only on the left jaguars.

so example if the talons are numbered 1,2,3,4 (1,2 = left, 3,4 = right). talon 1,2 would blink red and 3,4 are good. when inverted (1,2 = right, 3,4 = left) 3 and 4 are the ones blinking

so i have feeling that it might be the program, but i dont see anything in the code that might be ticking these red lights
__________________
RAMAZOIDZ

2009 Toronto West Regional - Regional Winners
2009 Waterloo Regional - Regional Winners
Reply With Quote
  #3   Spotlight this post!  
Unread 26-02-2014, 12:14
AlexBrinister AlexBrinister is offline
Registered User
AKA: Alex Brinister
FRC #1768 (RoboChiefs)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Bolton, MA
Posts: 93
AlexBrinister will become famous soon enough
Re: F310 Joystick and Jaguar Problems

When you enable closed-loop control on the Jaguar, it expects input from a sensor (either an encoder of some kind or an analog sensor of some kind like a potentiometer). Optionally, you can use normally-closed limit switches to act as hard stops for the Jaguar. You can wire these to the Forward and Reverse limit switch ports on the Jaguar. Since the switches need to be normally closed, jumpers need to be placed on the Jaguar so that it reads a closed position. If you don't have jumpers plugged in but are using closed-loop control without limit switches, it will go to blinking red because it detects a limit switch fault condition.

Also, for your first problem with the wrong direction for everything. If you invert your values, it will work. Put a negative in front of your speeds.

Alex Brinister
Reply With Quote
Reply


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 04:30.

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