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
EKF2 local position stops following vision position while platform is moving #10310
Comments
I have forced it to work constantly by increasing |
Please post a log with logging enabled from boot. |
Hi. Any news on this? I am having the same behaviour! |
@mhkabir I will post it next week, I am out of the office. |
yeah, I followed the same steps and the result is the same |
@mhkabir Ok, I set the https://logs.px4.io/plot_app?log=4742431c-320c-47b9-8130-c9f93ab75933 |
@mhkabir what is your current setup? |
I have the following observations looking at your log:
The ekf assumes the largest of EKF2_EVP_NOISE and eph.epv values and the vehicle_vision_position message in the log has a zero for eph and epv. A recent change pushed to ecl master PX4/PX4-ECL@2354c30 will enable separate horizontal and vertical accuracies when the corresponding PX4/Firmware changes are made.
|
@priseborough @mhkabir thank you for your help, I have changed few parameters according to your suggestions but I left the I have also tuned the UAV to poshold on GPS and I was very happy with results but when flying without a GPS and only on EV it starts to oscilate. Could you tell me how to tune it or is there any other step that I missed? Is my vision data bad or delayed? |
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. |
Closing as stale. |
I have a vision position system using ZED camera and companion computer connected via ROS. ZED wrapper publishes
Odometry
message so I wrote a simple script that relays this to mavrosPoseStamped
topic withrospy.Time.now()
in header.My camera is roughly 20 cm to the front of the Pixhawk.
Steps I did to test it:
Flash 1.8.0 with EKF2, turn off GPS in
EKF2_AID_MASK
, setEKF2_MAG_TYPE
toNone
calibrate etc. setEKF2_EV_DELAY
to50 ms
,EKF2_EVA_NOISE
to0.02 rad
andEKF2_EVP_NOISE
to0.01 m
.It looks good when the platform is static, I can see
LOCAL_POSITION_NED
following theVISION_POSITION_ESTIMATE
but when I start moving the platform it diverges, resets and then follows it again.I have checked frames (ZED publishes in ENU, mavros takes ENU and converts it to NED before publishing mavlink message). How to debug this problem? Is my configuration wrong? ZED sets yaw to 0 when script starts, so maybe there's a problem that vision yaw is not equal to compass yaw? But then I have turned a mag in EKF2..
I have tried to set
EKF2_EV_POS_X
to+0.2 m
but then the vision_position is rejected from the start.Example logs: https://review.px4.io/plot_app?log=1107b173-7944-4d97-b015-7e8b4cfc2da1
The text was updated successfully, but these errors were encountered: