Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Robot veers left when driving backwards! (http://www.chiefdelphi.com/forums/showthread.php?t=34855)

xxmaddjxx 02-17-2005 09:48 PM

Robot veers left when driving backwards!
 
When we drive forward it drives relatively straight. Backwards however it veers of to the left pretty drastically.

Any ideas?

In the code (we are usign FIRST Drivetrain) we set one set of motors to (254-p1_y) because motors are on opposite sides.

We re-calibrated speed controllers but that didnt help either.

Any suggestions welcome.

JoshJ 02-17-2005 10:06 PM

Re: Robot veers left when driving backwards!
 
if you want to code a fix, take the faster side and multply by something like 0.75.

sooo:
if (pwm11<127) //only for reverse
{ pwm11= (pwm11-127)*0.75 +127; }

that oughta work. i can never remember if pwm11 is left or right, you may have to change it. Let me know how it works.

Quote:

Originally Posted by xxmaddjxx
When we drive forward it drives relatively straight. Backwards however it veers of to the left pretty drastically.

Any ideas?

In the code (we are usign FIRST Drivetrain) we set one set of motors to (254-p1_y) because motors are on opposite sides.

We re-calibrated speed controllers but that didnt help either.

Any suggestions welcome.


ConKbot of Doom 02-18-2005 08:50 PM

Re: Robot veers left when driving backwards!
 
I would look at the drivetrain. Last year out bot when we would drive forwards would go to the right, and veer to the left when going back. It would make a 10 point turn just by going back and forward.

I thought it was the motors having more power in the forward direction than in the backward direction, but it turns out that the CIMs have the same power forward and backward, and it was the drivetrain that was doing it.

Someone 02-19-2005 04:57 AM

Re: Robot veers left when driving backwards!
 
almost all motors have a powerful direction and a less powerful direction. for example, the van door motor has 30 Nm CCW and 34 Nm clockwise at at the same # of RPMS. are you motors on opposite sides going different directions?


All times are GMT -5. The time now is 11:35 AM.

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