Skip to content

fix(sim): reject non-finite wind components in gz_wind#158

Closed
Bartok9 wants to merge 1 commit into
JacopoPan:mainfrom
Bartok9:fix/gz-wind-finite
Closed

fix(sim): reject non-finite wind components in gz_wind#158
Bartok9 wants to merge 1 commit into
JacopoPan:mainfrom
Bartok9:fix/gz-wind-finite

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reject NaN/Inf `--from_west` / `--from_south` before publishing WindEffects.

Motivation

Non-finite wind components can poison physics without a clear operator error. Validate finiteness when wind is enabled.

Verification

  • `python3 -m py_compile simulation/simulation_resources/scripts/gz_wind.py`

  • Did NOT change: sim_run/sim_build/deploy_* env validation (maintainer check_env_vars), geofence/arm paths

Notes

  • One logical change; minimal additive diff
  • Human-authored and reviewed; AI-assisted drafting only where noted in campaign process
  • DCO signed-off

Agent-Owner: sera · Platform: hermes · Claim-TTL: 24h

Fail closed on NaN/Inf west/south components before publishing Wind.

Signed-off-by: Daniel Pike <daniel@team-of-light.org>
@JacopoPan JacopoPan closed this Jul 23, 2026
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.

2 participants