View Single Post
  #2   Spotlight this post!  
Unread 12-02-2005, 14:12
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: Joystick control rotated?

Quote:
Originally Posted by silliewillie
Maybe someone out there can help out our all-rookie team.

We're using the 2.4 code on our robot, unmodified. joystick is plugged into port 1 on the OI. We got the robot to move, but when we push the joystick forward, it goes left. when we push it right, it goes forward, when we push it down it goes right and left=reverse. What did we do wrong? did anyone else have this problem? I'd assume something is wrong with our X and Y values, but I searched and couldn't find anything about this.

help appreciated, thanks.

On the dashboard, the values for the joysticks are outputting to PWM ports 1,5,11 and 12...looking at the code we thought that it should be outputting to 13-16. That's puzzling us also.
From your description, is seems your PWM cables are reversed (ie, what you have connected to the victors controlling the right motors should be connected to the left motors and vice versa) AND your right motors are reverse wired (reverse the red and black leads at the output of the Victors connected to your right side motors. Don't forget to do this to both or your right motors, if using the kit gearbox!). That should solve your problem. If it doesn't, ask again.
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383