Thread: Jiggly servo
View Single Post
  #1   Spotlight this post!  
Unread 08-02-2010, 15:30
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Jiggly servo

We have a two speed transmission that shifts with a servo. We want to press the trigger button to shift between high and low gear. We want the program to Get the Servo angle...decide if it is in high gear (45) or low gear (120)...then shift into the opposing gear.

The problem with the program- program attached below- is... when we pull the trigger button the servo JIGGLES before it decides what gear it sets in. Most of the time it chooses the correct gear but not always.

Are we taking the wrong approach?
Attached Thumbnails
Click image for larger version

Name:	Servo test.jpg
Views:	25
Size:	3.7 KB
ID:	8559  
Reply With Quote