View Single Post
  #2   Spotlight this post!  
Unread 13-02-2015, 14:34
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 82
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Some thoughts about Double Precision numbers

I'll just say, as the poster of the "if (distance != 6)" line, that I wrote it with the fact that unless the double is exactly 6 that it will run in mind. That's because it led to a PID loop that contained a double-based deadzone, so I didn't write see the point in writing a deadzone for 6 when the PID already had a deadzone.
Reply With Quote