mapillary / mapillary/mapillary-js
Confusion about camera rotation documentation
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 516
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
The procedural data provider doc states:
Internally, MapillaryJS operates in a local topocentric East, North, Up (ENU) reference frame.
[...]
In our procedural provider we want all cameras to look to north, so we use the [Math.PI / 2, 0, 0] angle-axis rotation for the camera reference to world reference frame transform.
As I understand angle-axis rotations, [Math.PI / 2, 0, 0] corresponds to a rotation by π/2 around the X-axis, which is the East-axis in ENU, whereas a rotation to North would be [0, 0, -Math.PI / 2]. Could you elaborate on how the rotation is defined here?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the procedural data provider documentation and its linked coordinates conversion page, then verify the angle-axis convention used for the camera/world transform. Done means the documentation explicitly explains the convention and resolves whether the example rotation points the camera north.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100