Skip to content

feat(gazebo): generate deterministic episode inputs for P1–P8 (T-096a) - #350

Merged
cursor[bot] merged 2 commits into
mainfrom
feat/T-096a-gazebo-materializer
Nov 22, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
feat/T-096a-gazebo-materializer

Conversation

@Reet24-del

Copy link
Copy Markdown
Collaborator

Summary

Generate deterministic Gazebo episode inputs from the validated scenario, SUT profile and task. The generated workdir carries the SDF world, Nav2 parameters, perturbations, bridge bindings and files required by the ROS launch and recorder.

Closes #201

Links

Changes

  • Apply P1–P8 to their individual SDF, Nav2 and perturbation fields. Initialize ROS components with independently derived seeds.
  • Add the stable episode configuration and workdir-local topic catalog, occupancy map and perception model.
  • Disable XML entity expansion, DTD loading and parser network access. Reject declarations before using the world.
  • Document the workdir inputs consumed by the launch, recorder and subprocess worker.

Test evidence

Checklist

Risk and rollback

The episode format is new. The runtime manifest remains the responsibility of the subprocess worker that has the run identity and environment metadata.

cursor Bot pushed a commit that referenced this pull request Nov 22, 2026
…-091) (#340)

## Summary

Follow up on #335 and #190 with the measured Jazzy contract. Make scan
and command paths distinct, use the Gazebo PointCloudPacked stream
through the ROS PointCloud2 bridge, and record the model-scoped pose
topic that produced an actual PoseStamped message. The velocity delay
input comes after collision monitoring.

The settled lidar plane is 0.188 m above the floor. Spawned a 0.135 m
collision box for the dropped pallet, leaving 53 mm of nominal clearance
below the beam plane. The checked-in capture documents the installed
packages, frames, QoS, Nav2 parameters, actual point and pose messages,
and a real TwistStamped bridge conversion.

## Test evidence

- Captured live ROS and Gazebo warehouse output on the pinned T-090
image and spawned the corrected pallet at z=0.0675 m.
- 166 focused schema, task, and profile tests passed. The contract
asserts distinct topics, type-matched velocity endpoints, point-cloud
types and the same pallet box in SDF and the task file.
- Regenerated the actual 60-run and three-mode seed dataset on
PostgreSQL, restored its SQL and artifacts into a second database, and
exported all seven current API responses. The original seeded campaign,
experiment and representative run IDs survived. The measured demo space
version `2b4d5a96d21a` pins its archived task and nominal CSV.
- Restored deterministic seed ID generation after #327 moved the SQL
experiment writer. Ruff and strict mypy pass for that script.

## Package integration

The installed ROS package includes the pallet model and accepts the
measured transient-local AMCL pose QoS. The Jazzy package passed 16
tests after integrating the initial pose topic and map frame from #346.
The materializer consumes this contract in #350.

---------

Co-authored-by: CodewithJha <155089480+CodewithJha@users.noreply.github.com>
Co-authored-by: CodewithJha <CodewithJha+CodewithJha@users.noreply.github.com>
@cursor
cursor Bot merged commit 2171aa6 into main Nov 22, 2026
19 checks passed
@cursor
cursor Bot deleted the feat/T-096a-gazebo-materializer branch November 22, 2026 21:39
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.

[T-096a] GazeboMaterializer: SdfPatcher (lxml XPath), Nav2ParamOverlay (deep-merge), perturb/bridge/episode files

2 participants