View Single Post
  #14   Spotlight this post!  
Unread 21-02-2008, 00:25
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 454
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: [video] ThunderChickens 217 Auton REVEALED

Quote:
Originally Posted by Uberbots View Post
i assume your coprocessor is doing some fairly complex vector operations to get an angle out of the encoders?

We use the co-processor as an interrupt driven encoder tick counter. It also performs all of the floating point math for calculating arc-length and theta. Arc length is simply the sum of the ticks of each encoder divided by 2. We then calculate the difference in arclenghth of each encoder. Since we know the distance between the two encoders (robot diameter) we can calculate theta. Using an external processor guarantees that no encoder ticks will be missed due to program flow latency or high priority interrupts like the ones used on the RC. We are using 128 bit quadrature encoders that are measured on both the rising and falling edge of each pulse. This gives an effective resolution of 256 ppr.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions