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

Support reset_counter of VISION_POSITION_ESTIMATE message #11970

Closed
michael-p opened this issue May 6, 2019 · 13 comments
Closed

Support reset_counter of VISION_POSITION_ESTIMATE message #11970

michael-p opened this issue May 6, 2019 · 13 comments
Assignees

Comments

@michael-p
Copy link

Describe problem solved by the proposed feature
Mavlink message VISION_POSITION_ESTIMATE has a field reset_counter (Mavlink documentation) which is very useful if the position estimates are generated by a SLAM system (that is, not just visual odometry) but it looks like this is field currently ignored in the PX4 firmware.

Describe your preferred solution
Pass reset_counter through to the ekf and make sure that large position jumps from the vision system do not cause any problems there.

@TSC21
Copy link
Member

TSC21 commented May 6, 2019

This is a quite new field - it's not that is ignored, it's just not handled yet.

@stale
Copy link

stale bot commented Aug 4, 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.

@stale stale bot added the Admin: Wont fix label Aug 4, 2019
@TSC21
Copy link
Member

TSC21 commented Aug 4, 2019

Still relevant.

@stale
Copy link

stale bot commented Nov 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Nov 2, 2019
@james-modalai
Copy link

Bringing this back from the dead. We are trying to get relocalization via loop-closure and fiducial markers working and sure enough I find PX4 ignores this field after getting everything else working. Any pointers would be appreciated as I evaluate what it would take to implement this.

@stale stale bot removed the stale label Mar 18, 2020
@stale
Copy link

stale bot commented Jun 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Jun 17, 2020
@Prototyx
Copy link

Prototyx commented Aug 9, 2020

Could be very usefull if it was supported for SLAM system.
Is it in the roadmap ?

@stale stale bot removed the stale label Aug 9, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Dec 25, 2020
@michael-p
Copy link
Author

@james-modalai Did you get to any conclusions regarding this issues and possible implementation? I just bumped into this issue in a different project again... :)

@stale stale bot removed the stale label Apr 15, 2021
@james-modalai
Copy link

james-modalai commented Apr 15, 2021 via email

@dagar
Copy link
Member

dagar commented Apr 15, 2021

If you can start populating the VISION_POSITION_ESTIMATE reset_counter we can look at an initial implementation PX4 side. We've already done the work in the controllers to handle the delta in different estimates (position, velocity, attitude), it would be great to handle this cleanly across the entire system.

@james-modalai
Copy link

james-modalai commented Apr 16, 2021 via email

@bresch
Copy link
Member

bresch commented Jul 28, 2023

The reset counter is now supported; the EKF resets its states when received:

bool ev_reset = (ev_sample.reset_counter != _ev_sample_prev.reset_counter);

@bresch bresch closed this as completed Jul 28, 2023
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

7 participants