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

Surface Reference frame -15.9 degrees in yaw axis #605

Open
ControlSoup opened this issue Mar 22, 2021 · 1 comment
Open

Surface Reference frame -15.9 degrees in yaw axis #605

ControlSoup opened this issue Mar 22, 2021 · 1 comment

Comments

@ControlSoup
Copy link

ControlSoup commented Mar 22, 2021

Capture

srf_frame = vessel.orbit.body.reference_frame

Attempting to make a thrust variance craft, it works perfectly, but i have to tilt my cockpit 15 degrees to the left to get it close to zero....not sure why this is...am i missing somthing?

Both converting from
rot = euler_from_quaternion(vessel.flight(srf_frame).rotation[0]...etc and vessel.flight().roll give the same issue with the offset

This means that craft has inaccurate roll values when the craft is away from orientation, making landing and self-orientation very hard!

@djungelorm
Copy link
Member

I think you need to use vessel.surface_reference_frame

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants