Skip to content

Room entities: a boat's model at its overall length, entities by distance, starts documented - #1354

Merged
transfix merged 4 commits into
masterfrom
feat/entity-gaps
Nov 18, 2026
Merged

transfix merged 4 commits into
masterfrom
feat/entity-gaps

Conversation

@transfix

Copy link
Copy Markdown
Owner

Three of the remaining local-world gaps.

Change

  • A boat's model at its overall length. room_entity.fit_length carries a floating plant's dyn_boat_desc::length_overall (from Boats: the patrol boat on its own baked hull, drawn as its model #1346: 7.8 m for the tactical boat, whose hull box is 6.85 m). room_view fits a model look to that length, so a client draws the TacticalBoat at the same size the boat node does. Agreed with the lsystem_coast session.

  • Entities by distance. New room_pose_relay::config fields entity_near_m, entity_far_m and entity_beyond_factor set how often each viewer gets each entity, by its distance from the viewer's avatar:

    • within entity_near_m, at most every entity_interval_ticks (30 Hz);
    • within entity_far_m, every push_interval_ticks, as for a far participant;
    • beyond that, entity_beyond_factor times less often still.

    The default of 0 keeps every entity near. arisrv sets the radii from the area of interest's inner and middle radii when the area of interest is on.

  • Starts documented. A fixed start (at:, a spawn's x/y) and a spawn point name the vehicle's rear axle, which is the navigator's reference point on every plant. The entities' table reports the chassis's centre. Changing the convention would move every spawn point, gym start and bit-for-bit comparison, so the docs now state it instead.

Tests

  • RoomEntities.AFarEntityComesLessOften: near, far and beyond entities each arrive less often than the last.
  • The section round trip now carries fit_length.
  • cvcgl_room_view and the pose stream tests pass on Windows Release. arisrv's main.cpp compiles with gRPC and WS. Changed lines are clang-format clean.

…ance, starts documented

Three of the local-world gaps:

- A boat's model at its overall length. room_entity.fit_length carries a
  floating plant's dyn_boat_desc::length_overall (7.8 m for the tactical
  boat, whose hull box is 6.85 m), and room_view fits a model look to it,
  so a client draws the TacticalBoat at the size the boat node does.
- Entities by distance. room_pose_relay::config::entity_near_m,
  entity_far_m and entity_beyond_factor: an entity within entity_near_m
  of the viewer's avatar comes at most every entity_interval_ticks (30
  Hz), within entity_far_m every push_interval_ticks (as a far
  participant), beyond it entity_beyond_factor times less often. 0 (the
  default) keeps every entity near; arisrv sets them from the area of
  interest's inner and middle radii when it is on.
- Starts documented: a fixed start (at:, a spawn's x/y) and a spawn point
  name the vehicle's rear axle, the navigator's reference point on every
  plant, while the entities' table gives its chassis's centre. Changing
  the convention would move every spawn point, gym start and bit-for-bit
  comparison, so the docs say it instead.

Tests: RoomEntities.AFarEntityComesLessOften (near, far and beyond, each
fewer than the last), the section round trip with fit_length;
cvcgl_room_view and the pose stream tests pass; arisrv's main.cpp
compiles with gRPC and WS.
TilerIntrinsicsAriadne.AnActionStartsItUnderTheDefaultLimits runs a contour stack through an
action's frame loop, as the segmentation action test runs its volume, and ran past ctest's 300 s
in #1340's Debug package job. The tiler's port test gets the segmentation test's 900 s, and its
own loop allows 900 s too.

(cherry picked from commit eeba725)
…/entity-gaps

# Conflicts:
#	src/cvc/tests/CMakeLists.txt
#	src/cvc/tests/tiler_intrinsics_test.cpp
@transfix
transfix merged commit e8bd17f into master Nov 18, 2026
29 checks passed
@transfix
transfix deleted the feat/entity-gaps branch November 18, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant