maplocalizer-framedposes - #12
Open
soeroesg wants to merge 3 commits into
Open
Conversation
- implemented map autoscaling based on shared images between hloc reconstruction and metric prior model from StrayScanner (ARKit) - added new processing stage for metric alignment - transform.json: renamed GeoPose (misleading name because not OGC GeoPose) to WorldAlignmentInfo, made the geo-alignment values optional - reduce logging to console Updates to Dockerfiles: - upgrade base images - resolve clash of `USER_ID` and `GROUP_ID` with existing values in newer cuda base images - when copying hloc code, do not unpack under `/app/hloc`, because when FastAPI prepends `/app` to sys.path, `import hloc` can resolve to `/app/hloc` directory as a namespace package (no `__init__.py` at repo root) and break relative imports (e.g. `cannot import name 'logger'`) because the real hloc code is in `/app/hloc/hloc`. So now we change to `/app/Hierarchical-Localization` - use python virtual env in the container - nginx: do not log socket.io events but log everything else into a file
- comments - improved parsing of timestamps - improved parsing of accept version header Added GeoPoseProtocolExtended `oscp/geoposeprotocol_ext.py` - added SpatialDDS 1.6 types in `oscp/spatialdds_types.py ` - extended GPP in GeoPoseRequestExtended and GeoPoseResponseExtended with SpatialDDS-related extensions. Added support for multiple local FramedPoses and multiple geopose hypotheses. Further extensions with CoordConvention (SpatialDDS 1.6) and CoordScale (new) Improvements in MapLocalizer: - can return multiple GeoPoses and multiple FramedPoses, if available - maxLoadedMaps setting for managing loaded maps; - added LRU cache for loaded maps; - added health check endpoints; - added x-openvps-map-id optional request header for localization in a specific map - extended map transform.json with optional FrameRef, CoordConvention, CoordScale, bundle all alignment variables in MapTransformInfo - more detailed error responses Dockerfile improvements: - update base image - when copying hloc code, do not unpack under `/app/hloc`, because when FastAPI prepends `/app` to sys.path, `import hloc` can resolve to `/app/hloc` directory as a namespace package (no `__init__.py` at repo root) and break relative imports (e.g. `cannot import name 'logger'`) because the real hloc code is in `/app/hloc/hloc`. So now we change to `/app/Hierarchical-Localization` - use python virtual env in the container MapAligner: - update base image
…ligner), do not overwrite the whole matrix but only change its scale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improvements in GeoPoseProtocol
oscp/geoposeprotocol.pyAdded GeoPoseProtocolExtended
oscp/geoposeprotocol_ext.pyoscp/spatialdds_types.pyImprovements in MapLocalizer:
Dockerfile improvements:
/app/hloc, because when FastAPI prepends/appto sys.path,import hloccan resolve to/app/hlocdirectory as a namespace package (no__init__.pyat repo root) and break relative imports (e.g.cannot import name 'logger') because the real hloc code is in/app/hloc/hloc. So now we change to/app/Hierarchical-LocalizationMapAligner: