![]() |
CIM motor fun
yesterday we test our driving with a xbox 360 controller. it worked fine except for one thing. One of the motors is moving, what we think, twice the speed of the others. We have changed the pwms and double check the connection to the jaguars. Could it be the code????
|
Re: CIM motor fun
For reference here is our Telop code
Code:
void OperatorControl(void) |
Re: CIM motor fun
Anyone know what the problem is cause we cant figure it out and its getting frustrating...
|
Re: CIM motor fun
You did not describe too much detail on what the problem was. For example, under what condition when the problem occurred (i.e. which button did you push or what were the joystick positions, basically which code path it took)? Which motor is moving twice the speed as the others? What happens if you move the joysticks? I don't quite understand your code. While it is teleop code, you are reading the light sensors to follow the line but yet you are also reading the joysticks too? Are you doing some sort of assisted drive? If you want somebody to comment, you need to give more details on what you are trying to do and what are the symptoms.
|
Re: CIM motor fun
Not an expert by any means, but hopefully someone will come along that can help more. In the meantime, have you tried calibrating the jaguars? They should be pre-calibrated, but it's worth a shot if you have nothing else to try.
|
Re: CIM motor fun
We got it
|
Re: CIM motor fun
Just curious. What was the problem and solution?
|
Re: CIM motor fun
We had to recalivrate them
|
| All times are GMT -5. The time now is 17:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi