Go to Post Don't take my questions negatively, I just hold drive trains to a ridiculous standard. - AdamHeard [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
  #1   Spotlight this post!  
Unread 08-11-2007, 13:21
youngWilliam14's Avatar
youngWilliam14 youngWilliam14 is offline
Team 461 Electrician and Operator
AKA: Will Crabtree
FRC #0461 (Westside Boiler Invasion)
Team Role: Electrical
 
Join Date: Jan 2007
Rookie Year: 2006
Location: West Lafayette, IN
Posts: 184
youngWilliam14 has much to be proud ofyoungWilliam14 has much to be proud ofyoungWilliam14 has much to be proud ofyoungWilliam14 has much to be proud ofyoungWilliam14 has much to be proud ofyoungWilliam14 has much to be proud ofyoungWilliam14 has much to be proud ofyoungWilliam14 has much to be proud of
Send a message via AIM to youngWilliam14
programing the vex optical shaft encoder

i'm having a small problem w/ optical shaft encoders on the vex swervebot i'm building. the encoders tell the rc how far the drive pods have turned.

in the program, i start all the encoders, and have them retrive to variables. once the vairables reach a the right value, the pods stop turning, then i reset the variables when the pods need to turn back.

my problem is that i allign all the pods, but when i test the program, they don't all turn the same amount, so they're off when they come back. i think it might be how i set up the motors to run.

can anyone help me fix this? i'm including a copy of my code
Attached Files
File Type: zip swervebot.zip (2.2 KB, 183 views)
__________________

"C.N.C." lyrics/"Driving on Regolith" lyrics
Let's all go nuts! Robots! Robots!--Team 461 chant
 


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
Problem using VEX shaft encoder jskene Programming 15 28-10-2007 22:33
VEX Shaft Encoder Kit jeffmorris FIRST Tech Challenge 1 19-05-2006 12:23
VEX Optical Shaft encoders in FRC sanddrag FIRST Tech Challenge 8 04-10-2005 07:52
Hollow Shaft optical encoders magical hands Robotics Education and Curriculum 0 03-02-2005 22:56
Rotary Encoder (optical etc.) Gary C Technical Discussion 4 16-01-2005 18:23


All times are GMT -5. The time now is 18:17.

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