Reset EKF Origin using mavlink without a reboot

Hello,

Is it possible to reset the EKF origin using mavlink without rebooting the FC?

Thanks

Hi @StrikeEagle,

No, I’m afraid that once the EKF origin is set, it can’t be moved.

If the aim is to reset the vehicle’s position to a known correct position when using non-GPS then I did create a PR to do that but it hasn’t been merged due to a similar PR appearing at the same time and the other PR won. We could revisit this..

My aim was to really reset the EKF rogifin because I want to use local NED.

I currently ended up with rebooting the vehicle via pymavlink if the drone has moved, say about 30 cm, from the current origin along either the X or y axes and then set the EKF again.

Regardless, that PR seems useful.

1 Like