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

Vtol plane missing roll pitch yaw #411

Open
tkoivuro opened this issue Mar 19, 2024 · 2 comments
Open

Vtol plane missing roll pitch yaw #411

tkoivuro opened this issue Mar 19, 2024 · 2 comments

Comments

@tkoivuro
Copy link

Roll pitch yaw are not animated and the UAV is presented in fixed position through the flight.

@clydemcqueen
Copy link

I am seeing this in Sub, too.

@Maarrk
Copy link

Maarrk commented Aug 21, 2024

I had the same issue, but I changed the "Attitude Source" in settings. After loading an ArduPlane log it was "XKQ[0]" by default, and didn't work, but both "ATT" and "AHR2" were OK.

obraz


Could we make ATT the default attitude source? I see that quaternions are preferred, but I think for visualisation the difference shouldn't be significant (unlike navigation systems)

this.state.attitudeSources = this.dataExtractor.extractAttitudeSources(this.state.messages)
if (this.state.attitudeSources.quaternions.length > 0) {
const source = this.state.attitudeSources.quaternions[0]
this.state.attitudeSource = source
this.state.timeAttitudeQ = this.dataExtractor.extractAttitudeQ(this.state.messages, source)
} else if (this.state.attitudeSources.eulers.length > 0) {
const source = this.state.attitudeSources.eulers[0]
this.state.attitudeSource = source
this.state.timeAttitude = this.dataExtractor.extractAttitude(this.state.messages, source)
}

Thanks for the great tool

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

3 participants