View Single Post
  #1   Spotlight this post!  
Unread 01-03-2011, 17:15
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
max counters and encoders and ultrasonic sensors

We have a bit of code that works in a SimpleRobot framework but does not work with our "real" code base. We are using DIO channels 13 and 14 for the output/input of an Ultrasonic class (using C++). The BIG difference in the "real" code base is the use of all 12 of the other DIO channels: 8 for 4 quadrature encoders (k4X), 3 for line following sensors and 1 for the pressure sensor.
We are getting no resource allocation errors or any other errors during initialization (watching code while loading code manually) but we get 0. Are we running into problems with the maximum number or types of counters in the FPGA (eg. are there only 8 in the FPGA)? Anyone else doing something like this successfully?

TIA
Reply With Quote