1
0
Fork 0
flightgear/scripts/python
Julian Smith 7753ce229d Fixed uneven replay of user vs multiplayer aircraft.
FGReplay was using time t, AIMultiplayer was using t+dt. The fix is to make
FGReplay also use t+dt.

scripts/python/recordreplay.py
    Make --test-motion-mp test for this problem - we check that user and mp
    aircraft are a constant distance apart when replaying.

src/AIModel/AIMultiplayer.cxx
    Create properties showing distance moved since start by user and mp
    aircraft, which can then be tested by recordreplay.py.

src/Aircraft/replay.cxx
    Increment current_time by dt before calling replay(current_time), to
    ensure that replay() sees the time as is later used by AIMultiplayer (via
    /sim/replay/time).
2021-04-18 12:12:50 +01:00
..
TerraSync TerraSync: Rate Limiter 2021-01-31 21:58:41 -06:00
demo.py Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3 2020-08-05 14:01:57 +02:00
FGFSDemo.py Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3 2020-08-05 14:01:57 +02:00
FlightGear.py scripts/python/FlightGear.py: ls() now returns typed values. 2021-04-18 12:12:50 +01:00
nasal_api_doc.py python: use a with-statement to manage file close 2020-10-01 22:51:31 -05:00
recordreplay.py Fixed uneven replay of user vs multiplayer aircraft. 2021-04-18 12:12:50 +01:00