Skip to content
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

'roll' componenet of position does not have effect #211

Open
kkozlik opened this issue Mar 28, 2021 · 2 comments
Open

'roll' componenet of position does not have effect #211

kkozlik opened this issue Mar 28, 2021 · 2 comments

Comments

@kkozlik
Copy link

kkozlik commented Mar 28, 2021

I am not sure whether I am doing something wrong, but I can't change the roll component of orientation while using autopilot.

For me the following calls have same outcome however I would expect different roll with the second call:

browser.autopilot.flyTo([ "obj", 13.392177745684078, 49.10441293186297, "fix", 1250, 22, -30, 0, 400, 90 ]);
browser.autopilot.flyTo([ "obj", 13.392177745684078, 49.10441293186297, "fix", 1250, 22, -30, 30, 400, 90 ]);

Is it possible to change roll ?

@davidmtech
Copy link
Member

Roll component is not supported in autopilot. Interpolation became complex with roll component. Quaternions would have to be used in some cases.

But you can try luck and modify source code:
https://github.com/melowntech/vts-browser-js/blob/master/src/core/map/trajectory.js

@kkozlik
Copy link
Author

kkozlik commented Apr 14, 2021

Thanks for the hint. I will take a look to source.

Btw. is the roll supported somewhere? Can I somehow get a view with roll component even without autopilot?

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

No branches or pull requests

2 participants