• Alessandro Rubini's avatar
    std-servo: fix initial jump for p2p slaves · d2a57023
    Alessandro Rubini authored
    This was my fault. The initial time jump was based on "T4 + MPD". This
    on the assumption that T4 is sharper then time->get().  At least this
    is true for White Rabbit systems, where time->get() was not even
    correct when I started the project.
    
    As a result, the initial jump for a p2p slave was always wrong,
    because it referred to an old timestamp. We ended up a few hundreds ms
    off the master, to the start a long steering.
    
    We now add ofm to the current time, and the result is good in both case.
    WR systems have their own servo anyways, but even a slave to non-wr
    masters should behave well, because time->set now works.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    d2a57023
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-sim Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
configs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
scripts Loading commit data...
time-bare Loading commit data...
time-sim Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...
timeout.c Loading commit data...