Go to Post I may not like the songs, but I love FIRST! :) - ScoutingNerd175 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 05-02-2010, 19:37
Darkknight512 Darkknight512 is offline
Programmer/Electronics
FRC #3375 (North Stars)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 26
Darkknight512 is on a distinguished road
Re: Inverted Turning

Quote:
Originally Posted by Alan Anderson View Post
Think about which way the motors turn in order for the robot to move forwards. Drivetrain designs with both motors going the same direction are vanishingly rare. Almost invariably, one spins clockwise and the other spins counterclockwise.

When you swap the motor control, you're telling each motor to turn the way the other one used to. That runs the robot in the other direction.

Just look at the code, and at the robot wiring, and make sure that the PWM signal configured as the left motor is the same one physically connected to the left motor. Do the same for the right motor. Then if either side of the robot runs in the wrong direction, invert that motor's control in the code.
It appears the motor is turning the right way, I have checked PWM 1 is connected to left motor and PWM 2 is connected to the right motor.

Both motors seems to be turning in the right direction, else the bot would be going backwards. The bot still turns the wrong way.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting inverted motor help kiettyyyy C/C++ 1 14-01-2009 19:09
pic: lego inverted pendulum colin340 Extra Discussion 6 01-02-2007 14:56
Inverted color mind tricks! thegathering Chit-Chat 19 31-08-2006 18:05
Camera Picture is Inverted winners Programming 2 27-01-2006 20:09
IR signals inverted Atheist Electrical 10 08-02-2004 16:27


All times are GMT -5. The time now is 23:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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