Go to Post Anything worth analyzing is worth over-analyzing. And anything worth over-analyzing is worth hyper-analyzing. Ready, go! - Michael Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 19-02-2010, 14:32
Yuan Xue Lim's Avatar
Yuan Xue Lim Yuan Xue Lim is offline
Electrical Programmer
FRC #3017 (Project Genesis)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: NY
Posts: 37
Yuan Xue Lim is an unknown quantity at this point
Send a message via AIM to Yuan Xue Lim
Jaguars won't take in any negative values

Yesterday night, our team was testing the kicker. It was working fine at beginning.However, halfway through the testing, it just won't take in negative values. Not even the jaguars are flashing red to represent negative values.

Values from 0~1 works fne. Does this have to do with the encoder? We tried it with the encoder off and it still gives the same problem.

P.S the motors work fine with joysticks.
__________________
[font="Fixedsys"][b]We Don't Hope We will.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 15:43
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: Jaguars won't take in any negative values

check the limit switch jumpers to make sure that one didn't get removed by mistake
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2010, 15:46
Yuan Xue Lim's Avatar
Yuan Xue Lim Yuan Xue Lim is offline
Electrical Programmer
FRC #3017 (Project Genesis)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: NY
Posts: 37
Yuan Xue Lim is an unknown quantity at this point
Send a message via AIM to Yuan Xue Lim
Re: Jaguars won't take in any negative values

I check all of them( if you are talking about the jumpers on jaguars) and it is all fine,none was removed.
__________________
[font="Fixedsys"][b]We Don't Hope We will.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2010, 15:48
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: Jaguars won't take in any negative values

ok reread your post, if the LED's arn't lighting up red then there is a different issue, check through your code and make sure you don't clip the outputs anywhere, you might also want to be sure that the code isn't suffering any major errors when you try to drive backwards and (because i don't know if they would trip the led or not) make sure a soft limit didn't get set

Last edited by Zme : 19-02-2010 at 15:51.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2010, 16:41
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: Jaguars won't take in any negative values

Quote:
Originally Posted by Yuan Xue Lim View Post
Yesterday night, our team was testing the kicker. It was working fine at beginning.However, halfway through the testing, it just won't take in negative values. Not even the jaguars are flashing red to represent negative values.

Values from 0~1 works fne. Does this have to do with the encoder? We tried it with the encoder off and it still gives the same problem.

P.S the motors work fine with joysticks.
When you say negative values does this mean your motor can't spin in one direction? I ask this because yesterday the programming team ran into a bug where one of the wheels could not spin backwards. A mentor tested one of our Jaguars with a voltmeter and found out it was broken. I'm guessing yours is to.
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2010, 22:59
Yuan Xue Lim's Avatar
Yuan Xue Lim Yuan Xue Lim is offline
Electrical Programmer
FRC #3017 (Project Genesis)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: NY
Posts: 37
Yuan Xue Lim is an unknown quantity at this point
Send a message via AIM to Yuan Xue Lim
Re: Jaguars won't take in any negative values

Quote:
Originally Posted by AmoryG View Post
When you say negative values does this mean your motor can't spin in one direction? I ask this because yesterday the programming team ran into a bug where one of the wheels could not spin backwards. A mentor tested one of our Jaguars with a voltmeter and found out it was broken. I'm guessing yours is to.
But we did try that jaguar with joystick and it works fine. Right now is not just one jaguar is all the jaguars won't take in negative values other than the one from joystick.
__________________
[font="Fixedsys"][b]We Don't Hope We will.
Reply With Quote
  #7   Spotlight this post!  
Unread 20-02-2010, 10:58
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: Jaguars won't take in any negative values

Quote:
Originally Posted by Yuan Xue Lim View Post
But we did try that jaguar with joystick and it works fine. Right now is not just one jaguar is all the jaguars won't take in negative values other than the one from joystick.
Yesterday, our electronics guy checked out the jaguar and found out it had been wired incorrectly. I don't think this is a programming issue, I think someone on your team needs to check if your jaguar(s) is wired correctly. If Sorry if my advise isn't very helpful. If you haven't I think you should post this same thread in the electrical forum, see if more people will help you over there.
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/

Last edited by AmoryG : 20-02-2010 at 11:01.
Reply With Quote
  #8   Spotlight this post!  
Unread 20-02-2010, 13:31
Yuan Xue Lim's Avatar
Yuan Xue Lim Yuan Xue Lim is offline
Electrical Programmer
FRC #3017 (Project Genesis)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: NY
Posts: 37
Yuan Xue Lim is an unknown quantity at this point
Send a message via AIM to Yuan Xue Lim
Re: Jaguars won't take in any negative values

We just solved the problem.It wasn't the jaguar.It was the program. I shouldn't have set the PWM into 0 outside the if statement after the trigger or button was pushed.
Thank you all for helping me out.
I represent team #3017 to thank you all.
__________________
[font="Fixedsys"][b]We Don't Hope We will.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't see any values on dashboard kevinb999 C/C++ 11 03-02-2010 14:41
Negative Repping... Cody Carey General Forum 21 29-03-2007 18:42
Take some time, read the manual, take a breather, and calm down. Elgin Clock General Forum 8 08-01-2006 18:35
Negative Scoring Mr.G Rules/Strategy 16 14-02-2005 11:02
Negative Bus Greg General Forum 3 03-02-2003 07:33


All times are GMT -5. The time now is 13:54.

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