Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Backwards motor (http://www.chiefdelphi.com/forums/showthread.php?t=43758)

Matt Krass 13-02-2006 12:56

Re: Backwards motor
 
Be careful with that method, if you push the sticks full forward you (theoretically) get 254, adding anything more than 1 to that will cause it to wrap around to 0 and trigger a high speed reversal, that'll make driving kind of difficult.

You could put a software cap that limits joystick input to 254 - bias, whatever it ends up being, then the slower motor will reach full speed and the faster one won't, but that isn't perfect either. A percentage based bias adjustment, plus a sanity check to prevent wrap around would be a good solution.

Schneidie 14-02-2006 12:48

Re: Backwards motor
 
Quote:

Originally Posted by paulcd2000
Hi everyone. We just realized that the way our motors are wired, we have one motor going backward when we tell it to go forward. Has anyone else had this problem, and how have they fixed it?

Thanks in advance

You could reverse polarity and then equalize the torque with your code in the computer.

greencactus3 14-02-2006 18:18

Re: Backwards motor
 
Quote:

Originally Posted by Cody C
What do you mean to mount the motors?
I think that they are most likey allready mounted...
But you never know, huh? :D

i think he means to change the drivetrain so all drive motors will be running clockwise when the robot is going forwards, and counterclockwise to go back..
prolly'll make a less symetrical robot, distributing the weight unevenly leading to left right bias anyways.. with the CIMs. i wouldnt bother. now if we were gonna use those drill motors again... then id try to match the motor rotation... easier than close looping.


All times are GMT -5. The time now is 16:21.

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