Thread: speed control
View Single Post
  #9   Spotlight this post!  
Unread 24-01-2002, 08:12
MattB703 MattB703 is offline
Registered User
AKA: Matt
None #0703 (Team Pheonix)
Team Role: Engineer
 
Join Date: Oct 2001
Rookie Year: 1998
Location: Saginaw, MI
Posts: 233
MattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud ofMattB703 has much to be proud of
Cool Let me take a shot at this

Let's see

I read your post a couple times and I don't think all of the people who responded understand the question. Or maybe I don't.

I think what you are saying is that when you moved the right joystick to full it made the left motor go full forward but ALSO made the right motor move at a lesser level. Thi should not be that hard to code.

Set the left motor value to the value of the right joystick plus the value of the right joystick multiplied by some gain (maybe 1/2). Since you can't use 1/2 you will probably need to get tricky like multiply by 100 amd divide by 200.

Don't forget to add "MIN 254" to the end of the line that you are defining the motor output variable. This will keep the value from wrapping around to 0.

Alot of you guys out there know a lot more about this stuff than e. Did I miss much?

Matt B.