Repository navigation
cluster-render: --skip shows a scene file's animation sequence at its end on iDrive 7 - #282
Merged
Merged
Conversation
…MSES 19 libramses 19 takes AnimationSequence::startAt only while the sequence's stop is after its animation system's time; otherwise nothing is applied and a playing sequence keeps its value. A real-time --skip started the sequence with its stop already past, and a --skip in a system without a clock of its own set its stop equal to the system's time when nothing played in it, so neither showed the end. A real-time skip starts the sequence to end 250 ms after its stamp, and a skip in a system the service sets the time of puts its end at least 1 ms past the system's time. make test-ramses checks both, the second with another sequence of the file's driven system skipped while nothing plays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A skip of a real-time sequence that is already in its last 250 ms, or has ended, is left as it is rather than started again 250 ms before its end. PROTOCOL.md says what a skip that reaches the display after the end does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--skipof a scene file's animation sequence shows its end on iDrive 7'slibramses 19, in both kinds of animation system, and
make test-ramsespasses again.
libramses 19 takes
AnimationSequence::startAtonly while the sequence'sstop is after its animation system's time. Otherwise it applies nothing, and
a sequence that is playing keeps the value it had. Run against the unit's
library, a 0→10 sweep gives:
Two skips hit that:
lasts + 1ms in thepast, so its stop had already passed. The failing check was "the file's
animation sequence: played, skipped to its end, …":
swept 3 300 ms after --play, 3 after --skip.set equal to the system's time, so the end was never applied. A skip while
another sequence plays was not affected: the service's clock had moved on
since the last tick.
Change
stamp. Its last 250 ms play, and one that lasts no longer plays whole. The
renderer applies the same rule on its own clock, so a skip must reach the
display while the end is still ahead. A stop placed just past "now" would be
dropped there, and 250 ms leaves room for the link.
A sequence the service started that long ago or earlier (already in its last
250 ms, or ended) is left as it is, so a skip never moves a value back.
SequenceClock::playputs a skip's end atleast 1 ms past the system's time. That time, which only goes forward,
moves by 1 ms when needed.
--skiprow and "Playing a file's animations",including what a real-time start whose end has passed shows: nothing),
ABI.md (the
startAtrule; the sequence calls VERIFIED bymake test-ramses) and CHANGELOG.md. The protocol, the hello'sscene_animand--playstay the same.Checks
ramses_check, real-time: the value right after--skipis between7.5 and 10, reaches 10 within 300 ms, and stays 10 after a second
--skip.ramses_check, the other kind: the fixture's driven system gets asecond sequence,
settle, skipped while nothing plays. It reads 10. WithSequenceClockas on main it reads 0.scene_test:SequenceClockcases for a skip with nothing playing, afresh system, and a skip in the same millisecond as a tick.
AI: Claude Code, Claude Opus 5.5
Tested:
make test(every host test and the Node client),make test-x86andmake target(both binaries' imports checked): all pass.make test-ramsesagainst an iDrive 7 unit's root filesystem copy: all ok(
swept 3.01 300 ms after --play, 7.5 after --skip, 10 300 ms after it;settled 0, 10 after --skip with nothing playing).make test-ramses27against an iDrive 8 unit's root filesystem copy: allok.
Human review: No. A person asked for the fix; no person has read the diff yet.
Screenshots: n/a. The service draws nothing of its own here: a client's
scene file reaches the end its sequence describes.
🤖 Generated with Claude Code