• 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
..
Makefile Loading commit data...
arith.c Loading commit data...
bmc.c Loading commit data...
common-fun.c Loading commit data...
common-fun.h Loading commit data...
fsm-lib.c Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
msg.c Loading commit data...
open-close.c Loading commit data...
servo.c Loading commit data...
state-disabled.c Loading commit data...
state-faulty.c Loading commit data...
state-initializing.c Loading commit data...
state-listening.c Loading commit data...
state-master.c Loading commit data...
state-passive.c Loading commit data...
state-slave.c Loading commit data...
state-uncalibrated.c Loading commit data...