Go to Post Team handbooks - they are like safety glasses... they seem stupid and a pain to wear, and they make it harder to see... but they seem important about 1 msec after a flaming hunk on metal bounces off them. - Not2B [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2010, 15:55
jaketessem's Avatar
jaketessem jaketessem is offline
3292
FRC #3292 (The Aluminum Falcon)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Benson, Minnesota
Posts: 11
jaketessem is an unknown quantity at this point
Movement Troubles

We have attained wireless movement with our robot and everything is working properly... except that when we move our joystick right our robot turns left and when we move our joystick left our robot moves right. Please Help!!!
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2010, 15:57
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Movement Troubles

Do forward and back behave properly? If so, you can probably just physically swap the left and right PWMs or the connections to the motors.

If you'd like to get into the code, you'd have to let us know which environment you are using (LabVIEW, WindRiver, Java).
__________________
Aren't signatures a bit outdated?
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2010, 16:10
jaketessem's Avatar
jaketessem jaketessem is offline
3292
FRC #3292 (The Aluminum Falcon)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Benson, Minnesota
Posts: 11
jaketessem is an unknown quantity at this point
Re: Movement Troubles

forward and back are the same, and we use labview
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2010, 20:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Movement Troubles

The question was
Quote:
Do forward and back behave properly?
The answer was
Quote:
forward and back are the same
Since that doesn't answer the question, nobody can tell you whether you accidentally swapped the PWM channels, whether you need to invert the motor inputs on Open, or both.

There are four combinations, so you can try all four and see which works better, you can look carefully at the wiring and the code and make sure that the PWM are correct and try the combinations of invert, or you can describe the behaviors with more detail and someone can help you debug.

Either way, I'm sure you'll get it working quickly.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2010, 16:33
jaketessem's Avatar
jaketessem jaketessem is offline
3292
FRC #3292 (The Aluminum Falcon)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Benson, Minnesota
Posts: 11
jaketessem is an unknown quantity at this point
Re: Movement Troubles

Forward and back behave properly, but when we move our joystick left our robot goes right and when we move our joystick right our robot moves left. We tried switching the wires around on our Jaguar brand PWM's but that reversed forward and back, but did not fix left and right.

We use Labview, if there is a programming solution then please help me in finding it.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-02-2010, 16:36
Vikesrock's Avatar
Vikesrock Vikesrock is online now
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Movement Troubles

Quote:
Originally Posted by jaketessem View Post
Forward and back behave properly, but when we move our joystick left our robot goes right and when we move our joystick right our robot moves left. We tried switching the wires around on our Jaguar brand PWM's but that reversed forward and back, but did not fix left and right.

We use Labview, if there is a programming solution then please help me in finding it.
I believe changing PWMs between left and right and changing which motor is inverted in the code should solve the problem.

I'm not absolutely sure this is correct so hopefully if I'm completely wrong somebody will hop in before you bother to try it.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
Reply


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
Movement Hunter1539 Rules/Strategy 4 09-01-2008 22:06
Remote troubles atowle1236 General Forum 4 07-01-2008 00:11
Camera Troubles cmurdoch Programming 9 11-02-2006 11:34
IR Beam Troubles Goldeye Programming 2 21-01-2006 17:15
Tilt Troubles Mumford 406 Programming 4 29-03-2005 22:19


All times are GMT -5. The time now is 11:21.

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