Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Motor control problem (http://www.chiefdelphi.com/forums/showthread.php?t=52087)

Lablabla 17-01-2007 06:54

Motor control problem
 
Hi
we placed the motor in the middle of the chassi,
and we got them working forward and backward. but when we turn, they turn the wrong way (i.e joystick left-> bot right and vice versa)
any thoughts on that?

Billfred 17-01-2007 07:14

Re: Motor control problem
 
Quote:

Originally Posted by Lablabla (Post 558730)
Hi
we placed the motor in the middle of the chassi,
and we got them working forward and backward. but when we turn, they turn the wrong way (i.e joystick left-> bot right and vice versa)
any thoughts on that?

Does the robot still go forwards and backwards correctly? Are you using one-joystick code or two-joystick code?

jcatt 17-01-2007 07:15

Re: Motor control problem
 
One question. How many joysticks are you using to control the robot?

If you are using just one joystick, and programming to control both sides. You can either reverse the pwm's on the controller. Or change in the program.

If you are using two joysticks then you should be using one joystick per side and again just reverse the pwm's on the controller.

Bomberofdoom 17-01-2007 15:27

Re: Motor control problem
 
If I'm not mistaken, our team had the same problem. You just put the opposite PWM's on the Victors. Try playing with the pwm cables untill it all works(that's how it worked for us :S)


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

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