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

position mode through mocap #12091

Closed
roseyangyu opened this issue May 28, 2019 · 5 comments
Closed

position mode through mocap #12091

roseyangyu opened this issue May 28, 2019 · 5 comments

Comments

@roseyangyu
Copy link

I use 1.8.2/1.9.0 firmware, v2 and v5 flight control. LPE is not used. I want to locate through MoCap. The accuracy of the mocap raw data is millimeter level. I sent the position to flight control via VISION_POSITION_ESTIMATE. Vehicle can enter position mode at rest, but when vehicle fly up, it can't hover accurately. I looked at Local_position's data with a QGC. The x,y axis occasionally mutates to more than 10 meters, with a greater change in height, generally changing at dozens of meters, and occasionally larger to more than 100 meters. How can I debug to make the plane hover steadily?

@stale
Copy link

stale bot commented Aug 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@julianoes
Copy link
Contributor

You need to add a logfile, otherwise it's hard to see what's going on.

@roseyangyu
Copy link
Author

There was no unlocking during testing because local_position displayed unreliable data.But I change mavlink_message.I send mocap rather than vision.Then I adjust mocap coordinate system to NED and turn PID.Vehicle can position well.

@julianoes
Copy link
Contributor

Ok thanks for the answer. Sounds like the issue is resolved and I can close it. Please re-open if the issue comes back.

@roseyangyu
Copy link
Author

OK,Thank you for your attention

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