Exemple #1
0
 public void addRangeReading(RangeReading rr)
 {
     lock (angles)
     {
         if (angles.ContainsKey(rr.angleRaw))
         {
             angles.Remove(rr.angleRaw);
         }
         angles.Add(rr.angleRaw, rr);
         purge();
     }
 }
Exemple #2
0
 public void addRangeReading(int angleRaw, double rangeMeters, long timestamp)
 {
     RangeReading rr = new RangeReading(angleRaw, rangeMeters, timestamp);
     addRangeReading(rr);
 }