Go to Post FIRST isn't about the money. It is about the experience. - dubious elise [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #1   Spotlight this post!  
Unread 02-21-2010, 02:51 AM
roknjohn roknjohn is offline
Registered User
#1051
Team Role: Engineer
 
Join Date: Jan 2003
Location: Marion
Posts: 31
roknjohn is an unknown quantity at this point
Tank Drive is backwards

Ok, I have a strange issue that makes me think that my joysticks Y axies are 'inverted'. Here's the deal, I'm driving with code like this:

m_robotDrive->TankDrive(LeftJoystick, RightJoystick);

I know that my left and right joysticks are defined correctly because the buttons of each control the desired actions. However, the drive train output isn't correct.

When I press forward on the left joystick, the left hand jaguar leds turn RED and the left motors run backwards. Similarly, when I move the right joystick forward, the right side motors run backwards and the leds are again RED. Moving the joysticks backward, cause the respective motors to run forward and the jaguar LEDs turn GREEN.

Now, obviously I could rewire the motors to get the robot to travel in the correct direction. But shouldn't the LEDs be GREEN for FORWARD and RED for REVERSE?
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
Tank Drive 'sensitivity' fishLlama NI LabVIEW 5 02-19-2010 09:44 PM
Tank Drive vs. Omni Directional Drive jamie_1930 General Forum 9 01-24-2010 10:50 PM
Tank Drive Sauce Programming 1 01-05-2009 06:50 PM
Tank Drive Idaman323 Programming 14 02-15-2005 09:01 AM
tank drive Stormhammer Programming 11 01-29-2004 11:08 PM


All times are GMT -5. The time now is 09:32 AM.

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