-
Notifications
You must be signed in to change notification settings - Fork 988
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
FCU estimation #531
Comments
@SyluxDX fluctuates how? It is normal for the altitude to fluctuate +/- 1 meter if you are just using the baro. If you have a px4flow/ sonar/ lidar plugged in, you can expect better results, +/- 5 cm. |
I have the PX4Flow connected to the Pixhawk on the I2C port and the fluctuation is +/- 1meter. And is it normal for the FCU estimate the quad being 6 meters of the ground? |
More information, what exactly changes, where you see that, what firmware used, mavros version? |
@vooon The firmware of the pixhawk and px4flow are the lasted stable version, (updated two days ago) and mavros is also on the latest version, 0.16.6 |
Check that px4flow is actually used (check params). Latest mavros 0.17.1, but stable repos perhaps 0.16.6. But never mind main difference is changes in frame rotations (and that affect mocap and vision estimators). What diagnostics show? But I'm not sure that flow is shown in system status... |
@SyluxDX I have been working on flow estimation on this branch (PX4/PX4-Autopilot#4036), it will improve the performance significantly, note that in this branch, the global altitude will still drift as you are observing, but the distance above ground is regulated separately and is known very accurately, you can plot it in dist_bottom: Here is a video of the flight performance in position hold: https://www.youtube.com/watch?v=CccoyyX-xtE Installgit clone -b lpe_default https://github.com/jgoppert/Firmware/ It should be merged with master soon, but the process is a bit tedious right now. Steps to install after cloning: make px4fmu-v2_lpe upload In QGC, set
reboot You should now see the LPE estimator parameters.
|
On qgroundcontrol and on mavros I have access to the data from the px4flow, so i assumed that he is used.
|
I'm trying to control the quad with a Nvidia Jetson and sending to the Pixhawk setpoint, to be at 0.5 meters of the ground, to the topic /mavros/setpoint_position/local and the quad won't takeoff. I assume that the problem is with the FCU estimation since it already puts the quad off the ground by 6 meters. |
Did you set OFFBOARD mode? Stream setpoint >2 Hz? |
Jetson's UART can operate on 921600? |
Yes i set it to OFFBOARD and the pixhawk is connected through USB |
USB or USB-UART? Plain USB is not recommended for companion link. Try 6.5 meters. |
I tried to put the altitude in the setpoint to 0.5 meters plus the FCU initial offset, but still the quad doesn't takeoff. |
What printed in mavros log (console where roslaunch started)? Use triple ` for code block. |
|
No |
Try to blacklist safety_area plugin. |
I blacklistted the safety_area but the quad still don't take off. |
I have a Pixhawk connected to a companion computer with ros and when I launch mavros with the quad on the ground the estimation of the FCU fluctuates. Is there anyway to correct the estimator?
The text was updated successfully, but these errors were encountered: