|
Re: Help, Robot turns wrong
We've had this problem before in C++ I know how to fix it in LabVIEW... Basically you have to invert the control using a boolean. I do not know how to do it in C++ but it is something similar.
Another way to troubleshoot without code is to switch the polarity of the cables on the MOTOR side of the Jaguar/Talon/Victor and switch the PWMs if needed as well. You could make something along the likes of a truth table as well if that helps.
I would suggest switching the polarity of one motor, see if that fixes it and if not put it back to how you originally had it. Next you would try switching the polarity of the other motor.
__________________
Minnesota FIRST Senior Mentor | 2013-?
Stratasys Applications Engineering Technician | 2016-?
2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal
The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
|