-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asking for support of portrait in AR navigation #257
Comments
Hey @wangchongyu, unfortunately this is not supported now. |
Hi @yunikkk, thanks for the reply. Similar to Google's AR walking directions below: Basically, the expected use case would be:
From the example project, I have managed to perform most of the above steps except making it work on the portrait mode. |
@wangchongyu unfortunately, currently Vision won't support such operation mode. It requires fixed mount in the car, walking with the device in hands won't allow us to calibrate camera (hence calculate objects positions correctly) |
Currently, the supported screenOrientation by default for AR navigation use case is sensorLandscape. In our use case, we really need this to support portrait mode during AR navigation.
However, if I change screenOrientation="sensorPortrait" as shown below, the SDK will give me errors:
E/Vision-Encoder: Not handling orientation = 0 in encoder
E/Vision-Camera2: Sensor orientation 0 is not supported
And the camera will not event turn on at all.
I would like to ask if the Mapbox vision SDK has any plan to support portrait use case? Or if there is any workaround to allow me to use the AR navigation work on portrait mode? Thanks.
The text was updated successfully, but these errors were encountered: