-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
navigator_main: reference update for local position #9119
Conversation
This method is not used anywhere yet. The next step is to free the position controller from any gloabal computation.
734f2de
to
c4feb9c
Compare
This looks good. Short term we should probably make sure all these reprojection calls aren't too expensive in the cases where the position setpoint triplet is continuously updating. |
We need to review this carefully. The system is built to work with long flight paths right now and moving everything to local would destroy this as the tangent plane runs away from the spherical coordinate frame. |
@LorenzMeier there is no difference between this implementation and the legacy one, except that that mapping from global to local happens in the navigator. |
Why don't we have navigator periodically update the position setpoint triplet (at a very low rate)? Navigator will operate in whichever coordinate system required. Most missions will be global, but local could become possible. At position setpoint triplet update time the transformation to local is performed. |
Do you mean to correct for the earth curvature? Sure. If I understand it correctly @LorenzMeier refers to the fact that What would be the benefit of having MC running in global frame as well? IMHO that would be a huge downgrade because in contrast to fixedwings, MCs will become more important indoors as well. For MC, mission mode does not have to be only gps dependent, but could very well be supported for local coordinate frame state estimates as well. In addition, there is always the alternative to update the global waypoints more regularly to compensate for the earth curvature (as @dagar suggested?) |
Perhaps we should take a step back and define the basic requirements. From there we can determine an appropriate strategy. |
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 this PR as stale, but I definitely want to prioritize finding a general solution this year. |
This method is not used anywhere yet. The next step is to free
the position controller from any gloabal computation.
It is a much smaller version of #7432.