View Single Post
  #4   Spotlight this post!  
Unread 26-01-2016, 23:39
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,658
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: weird drive problems

Oh, I kind of skimmed your original post. Didn't realize the problem was only when you were backing up. I think the behavior you describe is actually the correct behavior for most usual "Arcade Drive" setups. Left-right on the joystick controls rotation direction and speed. Front-Back controls forwards-backwards motion. The behavior you describe just follows from there. If you're turning clockwise and moving forward (away from the driver), the robot turns to the driver's right. If you're turning clockwise and moving backward (towards the driver), the robot moves to the driver's left.

If you want different behavior, you'll have to program it yourself. It's tricky to get the robot to spin in place, turn the "same direction" moving forwards and backwards, and not destroy motors and gearboxes when you go from moving forwards to moving backwards.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote