Repository navigation
Relay 4d: a stock server world with vehicles, and a client seeing them end to end - #1338
Merged
Merged
Conversation
…m end to end - cvc://worlds/traffic.ari: a stock server world (arisrv --doc): a 160 m ground, twelve blocks on a grid of streets, and eighteen vehicles it starts with (world: vehicles: start:) driving under nav@1. The blocks are plain boxes, so the room publishes them and clients draw them. - arisrv --doc takes a cvc:// URI (the file libcvc installs), and says how many vehicles its document's world runs. - RoomRelayLoopbackTest.AClientSeesTheServerWorldsVehiclesMove: the loopback relay runs the pose stream with the room's entities as arisrv does (relay_options::pose_stream), and a client applying its snapshots with an entity_playout sees the server document's six vehicles listed, posed and moving, within 3 m of where the relay has them. - ServerDocumentTest.TheStockTrafficWorldRuns (all eighteen placed, most driving) and the arisrv_doc_vehicles ctest. - ARIADNE_WORLDS.md: WD3 started; §14 "On the relay", the start: list, the corrected "do not steer around each other" note, and the stale "boats drawn as hulls" note replaced (#1316 drew them).
Base automatically changed from
feat/relay-entity-view
to
feat/relay-entities
November 18, 2026 03:53
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.
Last step of the relay hand-off, stacked on #1337. With #1335 to #1337,
arisrv --doc cvc://worlds/traffic.ariruns a world on the server, and every client that joins sees its vehicles drive.Change
cvc://worlds/traffic.ariis a stock server world: a 160 m ground, twelve blocks on a grid of streets, and eighteen vehicles it starts with (world: vehicles: start:), 12 rovers and 6 trucks driving under nav@1. The blocks are plain boxes, so the room publishes them and clients draw them.--doctakes acvc://URI (the file libcvc installs). It also prints how many vehicles its document's world runs.RoomRelayLoopbackTest.AClientSeesTheServerWorldsVehiclesMove: the loopback relay runs the pose stream with the room's entities as arisrv does (relay_options::pose_stream). A client applying its snapshots with anentity_playoutsees the server document's six vehicles listed, posed and moving, each within 3 m of where the relay has it.ServerDocumentTest.TheStockTrafficWorldRuns(all eighteen placed, most driving) and thearisrv_doc_vehiclesctest.start:list. The "vehicles do not steer around each other" note is corrected: no inter-vehicle steering is on at all, on one plant or several. The stale "boats drawn as hulls" note is replaced (Ariadne: a boat node you can drive, and boats drawn with their hulls (D5, D6) #1316 drew them).Tests
TheStockTrafficWorldRuns.AClientSeesTheServerWorldsVehiclesMoveandarisrv_doc_vehiclesfirst run in CI. The same goes for Relay 4b: the room's entities on the wire, and a client's playout of them #1336's and Relay 4c: clients draw the room's entities #1337's arisrv and arigl changes, which compile here too.Decided
default.ari,large.ari) stay without vehicles. A world named by--sceneis published, not run, so vehicles there would need arisrv to run every stock world.traffic.ariis the server world with vehicles instead.