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

Rover: Cannot enter Guided mode with only wheel-encoders #10752

Closed
rmackay9 opened this issue Mar 9, 2019 · 6 comments
Closed

Rover: Cannot enter Guided mode with only wheel-encoders #10752

rmackay9 opened this issue Mar 9, 2019 · 6 comments

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Mar 9, 2019

Rover-3.5.0 apparently doesn't allow the user to enter Guided mode if only Wheel Encoders are being used for the position estimate. The cause is likely to do with the new EKF failsafe code that was added to 3.5. The EKF failsafe check likely checks the absolute position estimate is good when it should also work when only the relative position estimate is good.

This was reported by @jmachuca77 and @magicrub.

@peterbarker
Copy link
Contributor

peterbarker commented Mar 9, 2019 via email

@jmachuca77
Copy link
Contributor

It's a result of this change commit 80e9a54
Before it did not care about EKF failsafe which not sure if it's correct but it allowed us to go into guided mode.

@rmackay9
Copy link
Contributor Author

rmackay9 commented Mar 11, 2019

Thanks for the extra info and thoughts above. We should be able to do what we do in Copter. A relative position source is actually OK because we still force the user to set an EKF origin (and thus home) so the vehicle knows where it is in the world. There will be some drift but that's OK.

@Rajbhanu1
Copy link

Any update on this issue. as we are struggling hard to use my rover with encoder. Any direction or help is appreciated

@rmackay9 rmackay9 mentioned this issue Oct 7, 2019
11 tasks
@rmackay9
Copy link
Contributor Author

rmackay9 commented Oct 17, 2019

I think I've got a fix for this issue in this branch: https://github.com/rmackay9/rmackay9-ardupilot/commits/wenc-fix. I'll hopefully raise a PR in the coming days to get it into Rover-4.0.0.

@rmackay9
Copy link
Contributor Author

This is fixed in master so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Rover 3.5 backports
Awaiting triage
Development

No branches or pull requests

4 participants