Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Inverted Axis Problem (http://www.chiefdelphi.com/forums/showthread.php?t=135837)

bloom_kelsey 16-03-2015 15:59

Inverted Axis Problem
 
Hello,

We seem to be having some strange issues this year. Last week we had a working program for our practice robot. We then put on a separate program to test some autonomous code. When we were done were put the old working code back on to find that our drive system axes were inverted. Basically backwards was forwards and forwards was backwards on the xbox controller. We made no changes to the code before sticking it back on. Does anyone have an idea as to why this occurred?

The robot used the 2015 control system with 4 jaquars.

Thanks!

Alan Anderson 16-03-2015 16:30

Re: Inverted Axis Problem
 
If you didn't change any code, then it sounds like you might have changed the wiring (or Jaguar ID numbers, if you use CAN).

If nobody admits to having changing anything, then why it changed is likely to remain a mystery.

bloom_kelsey 16-03-2015 18:38

Re: Inverted Axis Problem
 
We looked into that and no wiring had been tampered with, looks like it will be a mystery!

Nunez4296 28-03-2015 11:15

Re: Inverted Axis Problem
 
if no one wants to admit wiring your jaquars wrong. You can easily fix your problem by going into the code and inverting the numerical value that comes out of your axis, then putting this corrected value back into the tank drive.

GeeTwo 28-03-2015 17:37

Re: Inverted Axis Problem
 
If you have a tank drive system with PWM, and forwards and reverse have been swapped, but turning right is still turning right and turning left is still turning left, the left and right signals got swapped. This could have most easily happened:
  1. in code
  2. along the pwm lines
  3. between the speed controllers and the motors

As you have four motors, it would seem more likely that the change was in code or where the PWM lines connect to the RoboRIO, or at some connector halfway along the wire from the 'RIO to the jaguars, perhaps where you switched from a single cable to a wye cable.


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

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