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.

check the limit switch jumpers to make sure that one didn’t get removed by mistake

I check all of them( if you are talking about the jumpers on jaguars) and it is all fine,none was removed.

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

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.

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.

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. ***