-
Notifications
You must be signed in to change notification settings - Fork 15
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
[WIP] Add Makefile and source changes for macOS build #4
Conversation
Things seem to work fine end-to-end, but I think I'm getting a lot of EKF errors. The flight is quite unstable and it keeps going into failsafe mode because the estimate is unstable. Have you seen this before @alireza787b? |
Hi |
About 70-100 FPS and I’ve set the model updates to max. I also made sure the config.ini has the right aircraft and the parameters in QGC are uploaded - I’m using your fork of PX4 as well. Trying with the erhang quad and while i can get the errors to go away most of the time, the flight is really unstable and it’ll “overshoot” the intended flight path. It can fly for short periods of stability but then as soon as there’s a small movement, it goes out of control. |
are you using the latest pull of the repo? in latest I have added easy airframe selection from menu and withlates forked px4 repo all parameters are automatically synced with airframe setup. if sth be wrong with parameters it will be unstable |
I just pulled and tried again. Same issue, but seeing this error now in the PX4 logs as well, which might be related:
In QGC, I see:
Full logs from takeoff:
|
make sure you select correct airframe config from the menu of the plugin. |
Do you have time to take a quick look at my ulog? I've tried those steps but still run into the same issues; might be a platform-specific bug on Mac. Shot you an email (with the email on your profile) if you get a chance to take a quick look :) If you have any pointers on where to look or what might be the issue I can dig into the code and figure out what's wrong |
This successfully builds the plugin for macOS; I haven't tested things end-to-end yet actually controlling things with QGC but will update this if I do. The Makefile should be similar for Linux as well, but I haven't tested it (nor how to properly link XPLM on Linux).
The plugin shows up fine in X-Plane 12 on macOS Catalina: