Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ assets/_downloads/

# Validation outreach drafts (kept local)
outreach/

# Replay renders (assets/blender/render_replay.py): frames and videos
renders/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Only licenses that allow redistribution, modification and commercial use are acc

- Operator models beyond the scripted cycle (learned or recorded operator inputs), and checking heaped bucket loads against field data
- Converged soil solves: loads still depend on the MPM iteration count
- A living site: the haul cycle, the D37 dozer spreading the spoil, two carriers sharing the road, track–soil contact, compaction of the spread layers, a roller, a fill area in two cells (one spread while the other is rolled) and a buffer between them are done. The operator now chooses each cut where the soil is, so loading holds steady over a long shift in loam and clay. Long shifts hold steady in all three soils. Density is recorded for each lift as it is covered, and the machines keep clear of each other (routes, a clearance check and give-way). The roller now finishes the cell the dozer waits for (it leaves a lane after 12 passes, and the waiting dozer makes way), and waits for any soil there, spill included, so every lift is covered at least 91 % rolled. The benchmark now produces a time study in the field format (cycle elements, means and spreads): the excavator's net cycle, 17–18 s at a 103° swing, matches the published range, and an optional human operator (pauses, part-open levers, varying cuts) spreads each element as much as in the field and brings the cycle to the field study's 20.8 s. A second carrier halves the excavator's wait; the 26–30 s that remain are the exchange at the one-lane loading spot. The swing back no longer stalls on spill between the carrier and the pit. With a second loading spot on the other side of the excavator, it no longer waits at all, and six loads go out 5–19 % sooner. Next: a field time study of the real machines to fit it to
- A living site: the haul cycle, the D37 dozer spreading the spoil, two carriers sharing the road, track–soil contact, compaction of the spread layers, a roller, a fill area in two cells (one spread while the other is rolled) and a buffer between them are done. The operator now chooses each cut where the soil is, so loading holds steady over a long shift in loam and clay. Long shifts hold steady in all three soils. Density is recorded for each lift as it is covered, and the machines keep clear of each other (routes, a clearance check and give-way). The roller now finishes the cell the dozer waits for (it leaves a lane after 12 passes, and the waiting dozer makes way), and waits for any soil there, spill included, so every lift is covered at least 91 % rolled. The benchmark now produces a time study in the field format (cycle elements, means and spreads): the excavator's net cycle, 17–18 s at a 103° swing, matches the published range, and an optional human operator (pauses, part-open levers, varying cuts) spreads each element as much as in the field and brings the cycle to the field study's 20.8 s. A second carrier halves the excavator's wait; the 26–30 s that remain are the exchange at the one-lane loading spot. The swing back no longer stalls on spill between the carrier and the pit. With a second loading spot on the other side of the excavator, it no longer waits at all, and six loads go out 5–19 % sooner. When a carrier comes, the dozer now finishes its push and waits clear at the lane's end instead of parking, which cuts the carrier's wait at the dump in clay from 108 to 63 s. Next: a field time study of the real machines to fit it to
- Research APIs: the Gymnasium environment, the lidar, depth camera and IMU, and the ROS 2 bridge are done (the carrier and the dozer are in all three). Next: a `ros2_control` hardware interface, sensor noise models, and several environments per GPU
- Measured ZX200 masses, swing torque and pressure logs for validation
- Measured pressure logs, port relief and house inertia to validate the hydraulics
Expand Down
40 changes: 40 additions & 0 deletions assets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,44 @@ assets/
fetch_assets.py downloads "fetched" assets and checks licenses are recorded
machinery/ machines (excavators, trucks, loaders, cranes, ...)
site/ site equipment, people, materials
blender/ machines modelled in code, and the replay renderer (Blender 4.0)
```

## Machines modelled in Blender

`assets/blender/` builds detailed models procedurally with Blender's Python API, so they can be rebuilt,
reviewed and changed like code. Install Blender (`sudo apt install blender` on Ubuntu, ARM included), then:

```
blender -b -t 4 --python assets/blender/zx200_hd.py # -> assets/machinery/zx200_hd.glb
blender -b -t 4 --python assets/blender/roller_hd.py # -> assets/machinery/roller_hd.glb
blender -b -t 4 --python assets/blender/ic120_hd.py # -> assets/machinery/ic120_hd.glb
blender -b -t 4 --python assets/blender/d37_hd.py # -> assets/machinery/d37_hd.glb
```

- `blendkit.py`: shapes, bevelled parts, box-projected UVs, tileable procedural textures (paint, worn paint,
steel, track, rubber: colour variation, chips, scratches, grime, roughness and normal maps), glTF export.
- `zx200_hd.py`: 20 t excavator to the dimensions and pins of PWRI's OPERA ZX200. It keeps the node names,
link frames, joint extras and free parts of `opera_zx200.glb`, so it replaces it without code changes
(the browser loads it in place of the OPERA model). `-- --beauty --render out/prefix` renders review
images with EEVEE.
- `roller_hd.py`: 10.6 t single-drum roller to `phase2/roller.py`; the drum and rear wheels are nodes that
turn as it moves.
- `ic120_hd.py`: rubber-tracked crawler carrier on the joint frames of PWRI's OPERA IC120; the vessel follows
the server's vessel boxes so the load sits on its floor. Replaces `opera_ic120.glb` in the browser.
- `d37_hd.py`: crawler dozer with a power-angle-tilt blade on the joint frames of PWRI's OPERA D37PXi, lift
and angle cylinders on the source's joints. Replaces `opera_d37pxi.glb` in the browser.

## Rendering a replay

`assets/blender/render_replay.py` renders a recording (`phase2/record_replay.py`) with EEVEE: the site
terrain, the soil surfaces, the grains and every machine posed as the browser poses them. Frames and an MP4
go to `renders/` (git-ignored). Long renders load the CPU and GPU for a while: watch the temperature.

```
blender -b -t 4 --python assets/blender/render_replay.py -- --still --from 150 --camera overview
blender -b -t 4 --python assets/blender/render_replay.py -- --from 140 --to 160 --camera excavator --res 1280x720
```

Cameras: `overview`, `excavator`, `spread`. Ubuntu's Blender has no Cycles (path tracing) on ARM; EEVEE takes
a few seconds a frame.
Loading
Loading