Skip to content

Timeline and Clear handling issues in dataframe range queries #7468

@abey79

Description

@abey79

Setup

Consider a relatively simple archetype with a Clear half-way through:

def specimen_archetype_chunk_with_clear():
    rr.send_columns(
        "/archetype_chunk_with_clear",
        frame_times(range(10)),
        [
            rrc.Position2DBatch([(i, i) for i in range(10)]),
            rrc.ClassIdBatch(range(10)),
        ],
    )

    set_frame_time(0)
    rr.log_components("/archetype_chunk_with_clear", [rr.Points2D.indicator(), rrc.RadiusBatch(2)])

    set_frame_time(5)
    rr.log("/archetype_chunk_with_clear", rr.Clear(recursive=False))

(from #7469)

image image image

Expected

  1. The initial radius=5 should be cleared from t=5
  2. The 5th Position2D should be cleared (and then overwritten at t = 6).
  3. The 5th ClassId should be cleared (and then overwritten at t = 6).

Expectation (2) matches the visualiser behaviour (the point "disappear" at t=5 and reappear at t=6).

Actual

Radius is indeed cleared, but the [5, 5] point is not. ClassId 5 is cleared, so it appears to be specific to the PoV component.

image

Metadata

Metadata

Assignees

Labels

⛃ re_datastoreaffects the datastore itself🪳 bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions