Go to Post There's more to the game then winning. - Gabriel [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2007, 06:54
Lablabla Lablabla is offline
Registered User
AKA: Carmel Barak
FRC #1957 (LighTeam)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 25
Lablabla is an unknown quantity at this point
Motor control problem

Hi
we placed the motor in the middle of the chassi,
and we got them working forward and backward. but when we turn, they turn the wrong way (i.e joystick left-> bot right and vice versa)
any thoughts on that?
__________________
LighTeam #1957
2006 GM/Technion Israel Regional Finalist (Robot: W.Bob)

Attending: Israel GM\Technion Regional (Robot: Laika)
  #2   Spotlight this post!  
Unread 17-01-2007, 07:14
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,522
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Motor control problem

Quote:
Originally Posted by Lablabla View Post
Hi
we placed the motor in the middle of the chassi,
and we got them working forward and backward. but when we turn, they turn the wrong way (i.e joystick left-> bot right and vice versa)
any thoughts on that?
Does the robot still go forwards and backwards correctly? Are you using one-joystick code or two-joystick code?
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #3   Spotlight this post!  
Unread 17-01-2007, 07:15
jcatt's Avatar
jcatt jcatt is offline
Registered User
AKA: Jonathan Catt
FRC #1902 (Exploading Bacon and FRC #1251 TechTigers)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Alpharetta, GA
Posts: 44
jcatt is a glorious beacon of lightjcatt is a glorious beacon of lightjcatt is a glorious beacon of lightjcatt is a glorious beacon of lightjcatt is a glorious beacon of lightjcatt is a glorious beacon of light
Re: Motor control problem

One question. How many joysticks are you using to control the robot?

If you are using just one joystick, and programming to control both sides. You can either reverse the pwm's on the controller. Or change in the program.

If you are using two joysticks then you should be using one joystick per side and again just reverse the pwm's on the controller.
__________________
Jonathan Catt
Co-Owner and Systems Architect of ColorScene Inc.

Co-Sponsor of The RoboShow: Orlando
FRC 1251 Alumni
FRC 1902 Mentor
  #4   Spotlight this post!  
Unread 17-01-2007, 15:27
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Motor control problem

If I'm not mistaken, our team had the same problem. You just put the opposite PWM's on the Victors. Try playing with the pwm cables untill it all works(that's how it worked for us :S)
Closed Thread


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
Control Problem SPARKY1688 Programming 2 08-02-2006 01:11
Motor Control Systems Astronouth7303 Programming 3 05-04-2005 19:35
Four motor control judson Programming 1 14-02-2005 20:17
Single joystick control problem Mr. Van Programming 7 23-11-2004 09:10
Motor Control archiver 2000 1 23-06-2002 23:01


All times are GMT -5. The time now is 01: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