Go to Post Wow, my dad's sadistic nature is rubbing off on me. - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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
  #11   Spotlight this post!  
Unread 14-04-2012, 21:03
JamesTerm's Avatar
JamesTerm JamesTerm is offline
Terminator
AKA: James Killian
FRC #3481 (Bronc Botz)
Team Role: Engineer
 
Join Date: May 2011
Rookie Year: 2010
Location: San Antonio, Texas
Posts: 298
JamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to behold
Re: Encoders on Drive Train DON'T WORK.

Quote:
Originally Posted by Ether View Post
In years past, 4X with GetRate() was not recommended. Too noisy. I've heard that this year, the C++ WPILib added averaging to GetRate() to attempt to reduce the noise. Does anyone know if this works well?

Also, does anyone know: has the GetRate() FPGA bug definitely been fixed in this year's image?


In regards to the 2011 bug last year:
I worked with Joe H. personally on this bug, during the 2012 beta period... I also traced the source code history on it as well when I fell victim to it in 2011... I've verified it as fixed. That particular bug would yield NAN (division by zero), and I used the work around for it, then disabled work-around when I verified the 2012 image.

The irony is that GetRate() worked better for this choppy problem, but at higher speeds it would have a distinct 30-40 radian skip between the numbers like 300.30 10x 330.2 3x 300.10x (around 47 rps). I've found that I could work-around this problem by using the kalman filter.

If someone can point me to the best link where others are talking about the current choppiness this year... that would be greatly appreciated. (I'm a bit search engine challenged).
 


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


All times are GMT -5. The time now is 05:49.

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