![]() |
Re: Strange Jaguar/CIM Motor Behavior
Quote:
|
actually, I take that back. It won't be just one motor in the gearbox.
Try this: imagine a CIM motor with a wheel directly driven by it. Command that motor to go forward and put it on the floor. Naturally, it will go forward. Now, take that motor, and without changing the code or input, flip it 180 degrees. It now will go backwards. One side of the drivetrain needs to be inverted: whether it be software or by swapping the leads on one side. If not, the robot will simply spin in a circle. |
Re: Strange Jaguar/CIM Motor Behavior
Quote:
True, which is why you need to check the inverts in your begin, using the process outlined earlier. We don't need to invert anything as we are using Wormbox's and we swapped the side of the wormbox that the motor is attached to, to facilitate a symmetric layout so we are already "inverting" the output, see attached. |
Re: Strange Jaguar/CIM Motor Behavior
We have one motor per wheel, using the toughbox mini gearboxes. I didn't think about it before but does it matter which side the motor is mounted to? (left or right, I think I can figure out if the front/back is correct, haha) I wouldn't think that it would but it wouldn't be the first time I assumed incorrectly.
We ran some tests last night and got all of the wheels turning in the correct direction. We calibrated each jaguar according to the Getting Started Guide, and adjusted the inverted channels so that the robot can drive correctly. I now have a question, is there a function somewhere in the software/firmware that limits the speed or response of a motor when it is traveling in reverse? I ask this because it seems that the PWM channels that are inverted in the Begin.vi seem to lag behind the motors that are not inverted. I have been thinking about it all night and morning and that is the only explanation I can come up with. This afternoon I will try to turn off the inversion on all channels and just hook up two of the motor leads reversed. I guess that would tell me if it is a function of the software. Another thing, has anyone else found that the calibration procedures in the manual seem a bit minimalist? It took me several tries to calibrate the Jaguars because I did not realize there was a timeout in the calibration mode. I ended up just doing one wheel at a time, a bit of a pain, glad we only have four wheels... |
Re: Strange Jaguar/CIM Motor Behavior
Quote:
Quote:
|
Re: Strange Jaguar/CIM Motor Behavior
Jimbo,
One of the things you may be observing is motor bias. The CIMs run pretty close to the same speed in both directions. Other motors like the FP may run faster in one direction than the other. You will need to compensate in software for any motors that have this issue. Calibration should be performed for only one motor at a time. David, It is my understanding that the calibration procedure is merely giving you full range of output for extremes in your joysticks. The joysticks and handheld controllers use very cheap pots and often will not produce full throttle range at each extreme of the joystick. The calibrate feature then make the extremes produce full throttle output. That is the reason that calibration calls for you to send full forward, full reverse and neutral commands to the controller. |
Re: Strange Jaguar/CIM Motor Behavior
Quote:
In my experience using Victor's and Jaguars, it is somewhat common (we've had to perform the calibration process all of 5 times over my 6 years) to need to calibrate a Victor but have never needed to calibrate a Jaguar, independent on their usage and implementation. However, your mileage may vary. |
Re: Strange Jaguar/CIM Motor Behavior
David,
We compensate in software. |
| All times are GMT -5. The time now is 05:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi