Go to Post Maybe Dave's just bananas for FVC? - Billfred [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 09-03-2009, 23:47
stuartd stuartd is offline
Registered User
FRC #0118
 
Join Date: Mar 2009
Location: Houston
Posts: 2
stuartd is an unknown quantity at this point
Using more than 4 encoders

Our team is having trouble using more than 4 quadrature encoders at one time. If we only use 4 or less, everything functions perfectly. When the 5th encoder is added in to the mix strange things begin to happen. The first allocated encoder stops working and the 5th encoder movement appears for both the 5th and 1st encoder.

At first we thought this was a function of our competition code (we use another level of abstraction with the encoders). We then reproduced problem in a SimpleRobot project (see attached). Are we just making a really stupid mistake or can someone verify this issue?
Attached Files
File Type: cpp MyRobot.cpp (2.2 KB, 31 views)
  #2   Spotlight this post!  
Unread 09-03-2009, 23:50
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Using more than 4 encoders

See http://forums.usfirst.org/showthread.php?t=10821

Last edited by Joe Ross : 09-03-2009 at 23:59. Reason: better thread
  #3   Spotlight this post!  
Unread 09-03-2009, 23:57
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using more than 4 encoders

In brief, there are only four "4x" encoders in the hardware. Selecting "1x" or "2x" encoders uses hardware counters instead.
  #4   Spotlight this post!  
Unread 10-03-2009, 00:47
stuartd stuartd is offline
Registered User
FRC #0118
 
Join Date: Mar 2009
Location: Houston
Posts: 2
stuartd is an unknown quantity at this point
Re: Using more than 4 encoders

Well that makes perfect sense... should have looked deeper in to the hardware behind reading the encoders. I'll drop one of the encoders down to 2x and see if that helps tomorrow. Thanks!

Last edited by stuartd : 10-03-2009 at 00:49.
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
CRio more than nationals lenny8 FRC Control System 6 16-11-2008 12:33
More than One Regional? smurfgirl Regional Competitions 35 26-03-2008 14:21
More than 1 autonomos... Jimmy_Team7011 Programming 5 16-03-2008 15:33
more than 4 ir controls? Vanquish Programming 2 12-01-2008 14:52
More than 2 pneumatic tanks? kangarue23 Pneumatics 10 01-05-2002 12:14


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

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