1. 07 Nov, 2014 6 commits
  2. 04 Nov, 2014 4 commits
  3. 14 Oct, 2014 1 commit
  4. 22 Sep, 2014 4 commits
  5. 06 Aug, 2014 2 commits
  6. 05 Aug, 2014 5 commits
  7. 03 Aug, 2014 2 commits
  8. 02 Aug, 2014 2 commits
  9. 21 Jul, 2014 9 commits
  10. 18 Jul, 2014 3 commits
    • Pietro Fezzardi's avatar
      std servo: no running avg and outlier removal on ofm · 8ddfbcec
      Pietro Fezzardi authored
      There is no need to remove outliers and to make a running
      average on ofm. Indeed we know that ofm = t2 - t1 -mpd.
      We are already removing outliers and averaging on mpd.
      So, if after mpd has been "cleaned", ofm still shows outliers
      or irregularities they are for sure due to t1 and t2. So they
      are errors coming from the clocks and they have not to be
      ignored. Instead they must be corrected ASAP, and to do that
      the software must be able to see them instantly. So no
      running avg nor outlier removal has to be performed on ofm values.
      8ddfbcec
    • Pietro Fezzardi's avatar
      standard servo: store accumulator in scaled nsecs · 67258e3b
      Pietro Fezzardi authored
      The integral accumulator of the PI servo is now a 64bit integer.
      The stored values are bit shifted by 10, so we have a finer
      granularity on the control.
      With the previous implementation the integral part stopped working
      when ofm was under the value of OPTS(ppi)->ai. This problem has
      been solved with this changes.
      I had to use __div64_32() from lib/div64.c, because dividing for
      a long long is not allowed in arch-wrpc (it takes too much RAM).
      67258e3b
    • Pietro Fezzardi's avatar
      arch-sim: new simulator diagnostics and config · 717a8f5e
      Pietro Fezzardi authored
      diagnostics:
      
      For testing purposes we can't just read the ofm value
      printed out by the slave, because that's only the offset
      perceived by the slave and can be wrong. We need instead to
      print out the offset obtained subtracting the real time of
      the master from the real time of the slave.
      To print out the ofm we use the "ext" flag of pp_diag.
      The ofm is printed only when the slave gets a
      DelayResp message from the master.
      A new tool to strip ofm out of simulator log is provided
      
      config:
      
      now the max number of simulated ptp iterations can be configured.
      previously one could set the number of seconds to simulate.
      this is not possible anymore.
      717a8f5e
  11. 09 Jul, 2014 1 commit
  12. 26 Mar, 2014 1 commit