Repository navigation
fix(mobile): resolve landmark indices in sensor Jacobians - #927
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Refresh the branch with main cee0023. The existing PR patch and all changed file blobs remain unchanged. Co-Authored-By: ChatGPT (GPT-6 Astra Pro)
|
Updated with current The docs-build job successfully builds Sphinx, then fails in the real-Pyodide check after the SymPy wheel download from jsDelivr returns Could a maintainer rerun this docs job? I do not have access to rerun the upstream job. Once that dependency download completes, could you review the focused landmark-index fix for merge? |
Refresh the branch with main ea35e42. The existing PR patch and its two changed file blobs remain unchanged. Validation: both complete sensor/estimator test files passed (72 tests and 30 subtests); regression Ruff/format and diff checks passed. Co-Authored-By: ChatGPT (GPT-6 Astra Pro)
|
Thanks for approving this fix and #928. Both branches now include The preceding heads both completed full CI successfully: all 15 OS/Python combinations, test-core, coverage and documentation passed (#927 run, #928 run). The latest synchronization has separate current-head runs:
Both validations used the actual merged source on Python 3.12, and both branches pass Thank you! |
Include upstream coverage and pure-Python test updates from main 1cd9bd7. The original two-file PR patch remains byte-for-byte unchanged relative to the updated base. Validation: both complete relevant test files passed (72 tests and 30 subtests); staged and working-tree diff checks passed. Co-Authored-By: ChatGPT (GPT-6 Astra Pro)
Include main b539743 while preserving the original focused fix and regression patch unchanged. Co-Authored-By: ChatGPT (GPT-6 Astra Pro)
Problem
RangeBearingSensor.Hpdocuments accepting either landmark coordinates or a map index. The index path callsLandmarkMap.landmark, which does not exist, so that documented use raisesAttributeError.Change
Resolve the landmark through the map's indexing API, as
handHxalready do. The numerical Jacobian formula is unchanged.The regression covers Python and NumPy integer indices, compares the result with coordinate-based lookup, and independently checks it against central differences of the observation function.
Original validation
AttributeErroron the original source.PYTHONPATH=src python -m pytest tests/test_sensor_observation_shape.py tests/test_vehicle_estimators.py -q: 64 passed, 30 subtests passed.git diff --checkpassed.Main-branch update
Updated with
mainatb53974345598f978d6e5040c46a25aa2788ea1dain merge commit569f0cb147d383c87e823854f4140140c96ba5e3. The original two-file PR patch is byte-for-byte unchanged relative to the updated base. All files brought in from main retain exactly their upstream blobs, including the coverage updates from #946 and the empty-ETS fallback fix from #949.Validation on the merged tree:
PYTHONPATH=src python -m pytest tests/test_sensor_observation_shape.py tests/test_vehicle_estimators.py --timeout=50 --timeout_method=thread -q: 72 passed, 30 subtests passed on Python 3.12. The regression module also passes Ruff and formatting.git diff --checkpassed.CI for the updated head has been triggered. The preceding head
f852426a0545c31ec1cb54e91b13d72981e67d1bcompleted its full CI run successfully, including all 15 OS/Python combinations, test-core, coverage and documentation. That completed run belongs to the preceding head; the latest main synchronization is covered by the new run and the repeated local validation above.Primary contributor: Afloat16, who has reviewed the original submission.
AI assistance for this follow-up: ChatGPT (GPT-6 Astra Pro), used for main-branch synchronization and verification.