Go to Post The shirts. The buttons. The capes. That feeling you get when you first glimpse the arena and all the empty pits, and the only thing is promise. When the last bit of confetti has fallen, and nobody leaves the field. We are fortunate. - Taylor [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 18-01-2006, 20:17
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Twitching Robot

When we turn on our robot starts to twitch. The trim is set correctly and the speed controls are calibrated so I'm guessing its programming related. Any Help?
  #2   Spotlight this post!  
Unread 18-01-2006, 20:20
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Twitching Robot

Could you elaborate on what you mean by "twitch"?
  #3   Spotlight this post!  
Unread 18-01-2006, 20:46
ahecht's Avatar
ahecht ahecht is offline
'Luzer'
AKA: Zan
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
ahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond repute
Send a message via ICQ to ahecht Send a message via AIM to ahecht Send a message via Yahoo to ahecht
Re: Twitching Robot

It sounds like you have too much traction on your wheels. As you turn, your robots wheels must move sideways, and if there is too much traction on your wheels, your robot must fight against this traction, resulting in either the robot appearing to turn in "jumps" or to trip your circuit breakers, either of which could be described as "twitching".

What is your driveline like (number of wheels, dimensions, wheel sizes, wheel material/type, motors, etc)?
__________________
Zan Hecht

Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992


"Life is an odd numbered problem the answer isn't in the back of the book." — Anonymous WPI Student
  #4   Spotlight this post!  
Unread 18-01-2006, 20:48
CmptrGk's Avatar
CmptrGk CmptrGk is offline
Programming Mentor
AKA: Dillon
FRC #0716 (Who'sCTEKS)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Kent,CT
Posts: 212
CmptrGk has much to be proud ofCmptrGk has much to be proud ofCmptrGk has much to be proud ofCmptrGk has much to be proud ofCmptrGk has much to be proud ofCmptrGk has much to be proud ofCmptrGk has much to be proud ofCmptrGk has much to be proud of
Re: Twitching Robot

or are you perhaps talking about a sudden jolt of motor movement as soon as the robot is turned on? we had a similar problem last year and were unable to find a solution.
__________________
#14


"Great autonomous mode Dillon."," It hasn't been written yet"
after an Archimedes match


  #5   Spotlight this post!  
Unread 18-01-2006, 20:51
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Twitching Robot

Does the "twitch" cut in and out? If it does, is there a clicking noise when it cuts out? This would indicate what ahecht said, that breakers are cutting in and out.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #6   Spotlight this post!  
Unread 18-01-2006, 20:51
Dillon Compton Dillon Compton is offline
Jack-Of-All-Trades
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Malvern, PA
Posts: 186
Dillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud of
Send a message via AIM to Dillon Compton
Re: Twitching Robot

I believe the motor jolt was corrected with a RC firmware update midseason. We updated to the newest firmware, and that cleared our issue up, if I remember correctly.
  #7   Spotlight this post!  
Unread 18-01-2006, 21:17
BuddyB309's Avatar
BuddyB309 BuddyB309 is offline
I freaking love animating!!
AKA: Peter Casey
FRC #1625 (Winnovation)
Team Role: Animator
 
Join Date: Aug 2005
Rookie Year: 2005
Location: Winnebago IL
Posts: 838
BuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond reputeBuddyB309 has a reputation beyond repute
Send a message via AIM to BuddyB309
Re: Twitching Robot

Too much caffine. Cut down on the robots intake of coffea.
__________________
A.K.A Llama

check out my latest animations Appliance Night Out, Infant Intolerable, Fishing Like a Loony Tune, VVV Roadside Assistance

Life? I have a life. It is sitting at my computer and Animating. AND DRAWING!!! WEEEEEEE!!!!
  #8   Spotlight this post!  
Unread 18-01-2006, 21:20
Stats's Avatar
Stats Stats is offline
What Ever it Takes
AKA: Chris Chandler
FRC #1323 (Madtown Robotics)
Team Role: Mechanical
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Madera Ca
Posts: 22
Stats can only hope to improve
Re: Twitching Robot

just give up its way easyer that way but seriously we had the problem of our robot jumping because our wheels were to wide that might be your problem
__________________
Life is like a bowl of fruit
every once in awile you get a tomato
and your like what the heck
thats a fricken vegetable
  #9   Spotlight this post!  
Unread 18-01-2006, 21:56
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Twitching Robot

make sure all the variables you use for motor control are initialized before the main loop runs.

at powerup all variables have random numbers - so if you created an equation like:

motorPWM = joystick Y + offset

and offset is not set to a defined number until the loop runs once, then motorPWM can be anything from 0 to 255 on the first pass through the codes main loop.
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
Honda's robot... Don Wright Math and Science 7 17-12-2005 13:15
VCU NASA Regional Collmandoman Regional Competitions 83 10-03-2005 13:20
2005 FRC Team Update 14 Jeffrafa General Forum 43 01-03-2005 15:52
Manual placement of tetras Petey Rules/Strategy 7 22-02-2005 18:04
Calling all Lawyers... ...Define "all parts" Joe Johnson General Forum 10 13-03-2002 15:12


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

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