Skip to content

sysid: fix weights for selected and multidimensional sensors - #3474

Open
anxkhn wants to merge 1 commit into
google-deepmind:mainfrom
anxkhn:fix/sysid-sensor-weights
Open

sysid: fix weights for selected and multidimensional sensors#3474
anxkhn wants to merge 1 commit into
google-deepmind:mainfrom
anxkhn:fix/sysid-sensor-weights

Conversation

@anxkhn

@anxkhn anxkhn commented Aug 13, 2026

Copy link
Copy Markdown

Summary

Apply named sensor weights to every sensor component and resolve them against the actual observation layout.

The previous implementation zipped flattened component indices with one value per sensor, which failed for multidimensional sensors. It also used full sensordata offsets when residual observations contained a compact or reordered sensor subset.

Weights are now assigned per sensor and use the measured signal mapping when available. Missing or non-sensor mapping entries raise a clear ValueError.

Tests

  • Covered multidimensional sensor weights
  • Covered compact and reordered observation layouts
  • Covered invalid mapped sensor names and signal types

@anxkhn

anxkhn commented Aug 13, 2026

Copy link
Copy Markdown
Author

hey @yuvaltassa, could you please review this pr when you have a chance?

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.

1 participant