Troubleshooting
Common issues
Symptom |
Recommended check |
|---|---|
Python client cannot connect |
Confirm the Godot simulator is running and TCP port |
Command times out |
Increase timeout for export-heavy commands and verify the simulator main scene is not paused. |
Protocol error returned |
Inspect |
Godot reports missing resources |
Search for stale |
Sensor payload schema changed |
Update Godot sensor output and Python schema validation utilities together. |
Exported datasets are too large |
Use ignored export folders and avoid committing generated data to GitHub. |
Diagnostic check
from oceansim_client import OceanSimClient
client = OceanSimClient(timeout=3.0)
assert client.connect(retry=False)
print(client.send_command("get_state"))
print(client.send_command("get_sensors"))
client.disconnect()