Go to Post The best parts of FIRST just cannot be described. They have to be experienced. - sanddrag [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 13-02-2008, 10:36
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: Attempting to Drive Straight with Gear Tooth Sensors and Gyroscope

Linx34,

A few qestions... What rate are you receiving gear tooth pulses (how many pulses per foot of travel)? Are you monitoring your PWM output, and if so, what kind of swing are you getting while you are "driving straight"? The reason I ask is that you could either be overcorrecting and the robot is not able to respond quick enough so you are seeing it oscillate arround the "correct" PWM value, or it could be that you are not seeing a difference between the left & right gear tooth sensors quick enough, although in this case I would expect it to take too long to actually start driving stright, but once it gets there, it should be fairly good. Just checking, but you are not zeroing your gear tooth counter while running the code correct? (and the joystick difference doesn't occasionally go above 5 while going straight) Also make sure are not running your PWM outputs near the limits (<30 or >225) as you may near the limits of the Victor or motor.

Mike
 


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
Help with the Kit Gear Tooth sensors Keo-san Programming 9 20-02-2007 08:07
Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program EHaskins Programming 8 22-05-2006 12:08
where can we buy hall effect sensors or gear tooth sensors amirjpl Electrical 3 13-02-2006 11:02
Gear Tooth Sensors et1337 Electrical 7 28-01-2006 22:48
Accelerometer vs Gear Tooth Sensors zdeswarte Electrical 4 22-01-2005 15:35


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

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