Repository navigation
nav scrub: the common world, Humvees at true size, runs that read apart, and a writeup - #1506
Merged
Merged
Conversation
…rt, and a writeup The scrubber's view drew box ghosts on walls built from the grid, and two cars of one run could start on top of each other. Now: - The world is the document's (nav_scrub.ari's world nodes, run by SceneWorld): south Austin from its bundle by default, at its real size in metres, or a generated world, a flat square, or the built-in blocks (--world). The scenario is cvc::nav::grid_scenario on the world runtime's grid; the Humvee collides with the world's own geometry (scrub_plant(geometry)). - grid_scenario: agents 12 m apart on free ground, 4 m clear of anything blocked, goals 12 m off every start and goal and at least 0.3 of the span away, from the seed. - default_scenario's lanes are 8 m apart where they fit: before, each lane was drawn on its own, so two cars of one run could start or aim on top of each other (a scenario bug, not the plant). - scrub_plant(geometry) starts each vehicle on the terrain (ground_height): on raised terrain the geometry plant started them under it, and every run's path was 0 m. - Each run's vehicles are Humvee.glb at the Humvee's 4.84 m, posed on the ground: checkpoint k opaque in orange, step 0 translucent in blue, each over a ring of its colour (step 0's outside, so a shared pose shows two) with its trail behind it. Poses are never offset. - The Episode window's Camera combo stores follow/orbit (it stored its label), and nav_scrub follows the Stats window's Follow arm; --camera, --at, --look, --no-ui for captures. - The gallery build preloads the Austin bundle into nav_scrub. - docs/NAV_SCRUB.md: the world, the two runs, every window and control, what is compared, how learning is demonstrated (held out, the deployed metric against the step, a constant arm, paired seeds with intervals) and where it stands (GRL-SNAM learning-validation §9).
Owner
Author
|
Checked in a browser. Built The page loads Austin from Its numbers match the native run except at two cells, each by 0.1 m: step 0's path is 116.4 m against 116.5 m, and step 6's distance left is 33.7 m against 33.8 m. Jolt in wasm is not bit-identical to native. This was not built in CI: the gallery builds on master after a merge (deploy-pages). |
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.
The scrubber's view drew box ghosts on walls built from the grid, the Humvee collided with boxes rather than the world, and two cars of one run could start on top of each other. This puts it on the common world, draws the Humvee at its true size, makes the two runs read apart without moving any pose, and adds a writeup of the view and of how learning is (and is not) demonstrated with it: docs/NAV_SCRUB.md.
The world
nav_scrub.arihas world nodes, run bySceneWorld(as the other Ariadne ports): south Austin from its bundle (data: city,region:cut for physics and the navigator, all of it drawn), a generated world, a flat square.--worldpicks one;blockskeeps the built-in scenario the host draws itself.cvc::nav::grid_scenarioputs a scenario on aworld_grid(SceneWorld::grid): starts 12 m apart on free ground, 4 m clear of anything blocked; goals 12 m off every start and goal, at least 0.3 of the span away.cvc::physics::scrub_plant(geometry): each deployed plant collides with the world's own terrain and buildings, and starts each vehicle on the terrain.--net-allow, the city falls back to the generated world; the gallery build preloads the Austin bundle at/bundle.The overlap
default_scenariodrew each agent's start and goal lane on its own, so two cars of one run could start or aim on top of each other. Its lanes are now 8 m apart where they fit (NavScrub.NoTwoCarsStartOrEndOnTopOfEachOther).Also fixed
ground_z, under the ground: every run's path was 0 m. The test raises its terrain 5 m and fails without the fix.follow. It now storesfollow/orbit, andnav_scrubchases the Stats window's Follow arm.The writeup
docs/NAV_SCRUB.mdcovers:It also says plainly that the default 60-step demo run shows the view, not learning. On the Austin scenario the Humvee runs end farther from their goals at step 60 than at step 0.
Tests
NavScrub.NoTwoCarsStartOrEndOnTopOfEachOtherNavScrub.AScenarioOnAWorldGridAtItsRealSizeScrubPlant.OnAWorldsGeometryTheHumveeDrivesItsGroundAndMissesItsBuildingsariadne_loader_test(the document now requiresgl.scene) andnav_world_grid_test.nav_scrubwas run natively on each of city, generated, flat and blocks.