Go to Post Some people need the 2x4. - Ether [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
  #5   Spotlight this post!  
Unread 07-02-2007, 08:33
buddy.smith buddy.smith is offline
Master Control
FRC #1795
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: atlanta
Posts: 20
buddy.smith is an unknown quantity at this point
Re: Vex encoders/Interrupts

Quote:
Originally Posted by JohnC View Post
I remember the Vex encoders not being quad-output, so you can't have the "phase A plugged into dig-01 and phase B plugged into dig-02" problem. Hm.

Just out of curiosity, especially if you're using tank drive, what is the purpose of putting an encoder on the front and rear wheels of the same side of the robot? Shouldn't those wheels turn the same amount anyway?
This is no ordinary Vex bot! It's....It's...It's....frankenVex!

It's a prototype with mecanum wheels, so that our programmers can work on the mecanum drive code while the actual robot is being built. FrankenVex consists of a Vex controller, 4 Victor 884s (Motor 1-4), some power wheel motors (I think...very beefy), and the mecanum wheels.

There's a photo attached below. We need the encoders in order to make the thing drive straight!

What's plugged in where: Motors go to ports 1-4, encoders, I've tried plugging an encoder in each of the interrupt ports, and got the weird mapping I described before. I'd like to plug the encoders into ports 1-4...but I'm willing to plug them into any 4 ports such that they'll work

I think I'll probably just stick an old FRC controller onto FrankenVex, making it into FrankenFirst, since the encoders seem to work correctly on the FRC.

Here's a poor picture of it. Once I get it put back together I'll post a better one.

ttyl,

--buddy
Attached Thumbnails
Click image for larger version

Name:	frankenvex.jpg
Views:	61
Size:	83.4 KB
ID:	5025  
 


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
Interrupts JSonntag Programming 1 14-01-2006 12:43
Vex navigation with ultrasonic and encoders GlennGraham Electrical 4 13-01-2006 12:58
VEX Optical Shaft encoders in FRC sanddrag FIRST Tech Challenge 8 04-10-2005 07:52
Encoders, interrupts, and edge-triggering issues Alan Anderson Programming 6 11-03-2005 16:06
Interrupts CyberWolf_22 Control System 3 12-01-2004 21:46


All times are GMT -5. The time now is 00:30.

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