Development Notes
Repository layout
Path |
Purpose |
|---|---|
|
AUV and USV model resources. |
|
Branding assets and application icons. |
|
Godot scene files and simulator entry points. |
|
AUV body, thrusters, and buoyancy scripts. |
|
Sensor modules for navigation, vision, range, and sonar payloads. |
|
TCP server and protocol envelope helpers. |
|
Python SDK, mapping helpers, sensor schema, and dataset tools. |
|
AUV physical configuration and thruster profile definitions. |
Change guidelines
When moving Godot resources, update both scene files and script-level
res://paths.Treat the TCP protocol and Python SDK as public integration surfaces for external controllers.
Keep generated datasets, exports, caches, and package artifacts outside committed source folders.
When changing sensor fields, update Godot emitters, Python schema validation, and dataset/replay readers together.
Smoke tests
Test area |
Representative files |
|---|---|
Protocol |
|
Agents |
|
Sensors |
|
AUV physics |
|
Datasets |
|
Mapping/export |
|
Release gate
Before publishing a branch or preparing a release artifact, run the focused checks for the files you changed. For agent and scenario work:
The current agent release gate explicitly includes release_agent_runtime_smoke.gd.
The Windows executable gate uses release_exe_smoke.py after exporting the
release binary.
cd path\to\OceanSim\oceansim\python
python -m compileall oceansim_client tools
python tools\agents_schema_smoke.py
python tools\scenario_agent_schema_smoke.py
cd path\to\OceanSim\oceansim
godot --headless --path . --script res://tools/scenario_agent_schema_smoke.gd
godot --headless --path . --script res://tools/scenario_config_smoke.gd
godot --headless --path . --script res://tools/professional_sim_audit.gd
godot --headless --path . --script res://tools/fossen_dynamics_smoke.gd
godot --headless --path . --script res://tools/vehicle_profile_smoke.gd
godot --headless --path . --script res://tools/release_agent_runtime_smoke.gd
For Windows executable artifacts:
cd path\to\OceanSim\oceansim
godot --headless --path . --export-release "Windows Desktop" "../dist/OceanSim.exe"
cd path\to\OceanSim
python oceansim\python\tools\release_exe_smoke.py --exe dist\OceanSim.exe --startup-timeout 60
For documentation changes:
cd path\to\OceanSim_Web
python scripts\build_docs.py