Go to Post And another big factor in winning. Luck. - Carol [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 15-02-2008, 17:23
kDude kDude is offline
Registered User
FRC #2450 (RaiderBots)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Minnesota
Posts: 37
kDude is an unknown quantity at this point
motor jolts

We're using a function in our robot's code that lessens the sensitivity of the analog sticks. But now when we run it, as we slowly press forward on the sticks, they go forward but then they stop and go backward very quickly and then goes forward again. It's like it "jolts" as its going forward. We tested the code throughly and we figured out it's not the math of the code. So we have no idea what is going on. Anyone have any suggestions?
  #2   Spotlight this post!  
Unread 15-02-2008, 17:42
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: motor jolts

Dude,
Is it possible you are trying to overcome a problem with the joysticks by writing code? I always have to ask...Are your speed controllers calibrated? This simple function will match the extremes on your joysticks to max output on the speed controller. It is very easy to watch the LEDs on the controllers to see where (or if ) they achieve full red or full green as you move the joystick forward and back. If they do not, then calibration is the easy answer. Joysticks also exhibit electrical noise as they move and this may be interpreted by your code as a human commanded direction change.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 15-02-2008, 17:56
kDude kDude is offline
Registered User
FRC #2450 (RaiderBots)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Minnesota
Posts: 37
kDude is an unknown quantity at this point
Re: motor jolts

Yes we calibrated the controller. We're using the xbox 360 controller with the USB chicklet so we calibrated both the analog sticks. I don't know if that changes the calibration problem or not, but there's not any LED's that indicate whether or not we're at the maximum or minimum for the joysticks.
  #4   Spotlight this post!  
Unread 15-02-2008, 18:02
Laaba 80 Laaba 80 is offline
Registered User
AKA: Joey
FRC #1714 (MORE Robotics)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2001
Location: San Jose, CA
Posts: 495
Laaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond repute
Re: motor jolts

We were having the same problem. When you push the joystick to turn left, the robot jerks right then goes left. The thing that confuses me is that this doesnt happen when you turn right. We did calibrate the victors, but it was a few weeks ago, it may be something to look at.
Joey
__________________
Driving Record - 75-43-8
Coaching Record - 92-65
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
2 motor adapter and keyang motor dimensions Bruno Estevão General Forum 1 16-02-2007 09:36
White Paper Discuss: Approx. Motor Spec for Taigene Motor Joe Johnson Motors 2 22-01-2005 16:36
Is it okay to run one motor in a two motor transmission? NoodleKnight Technical Discussion 27 16-12-2004 07:16
External metal jacket on the Drill motor and FP motor, WHY? archiver 2001 3 24-06-2002 04:22
External metal jacket on the Drill motor and FP motor, WHY? Dennis Hughes Technical Discussion 1 04-06-2001 11:59


All times are GMT -5. The time now is 01:47.

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