Allow setting position estimate mavlink map#2161
Allow setting position estimate mavlink map#2161rafaellehmkuhl wants to merge 3 commits intobluerobotics:masterfrom
Conversation
Opens a dialog for the user to fine tune this position.
210f05d to
8ce9769
Compare
|
Converted to draft as I believe what I implemented was actually #1102, which allows setting the global origin. |
|
The autopilot needs a global origin set for it to ingest position estimates. I know ArduPilot firmware sets the origin automatically when it receives GPS input, if it hasn't been set already (e.g. using parameters, or directly using a relevant MAVLink message. Maybe that applies to any time it first receives a position estimate? Either way, position estimates are supposed to correct the autopilot's current estimate of its position - either indirectly (as a measurement), or directly (forcibly replacing the current estimate with the newly specified one). That functionality is needed on top of the ability to set the origin (e.g. so a user with relative positioning sensors (DVL / visual odometry / ...) and no absolute reference (GNSS / GPS / ...) can provide corrections based on landmarks). |
Kapture.2025-10-02.at.09.23.00.mp4
Despite implemented, this feature is not working yet, as it needs support for the
MAV_CMD_EXTERNAL_POSITION_ESTIMATEcommand onmavlink2rest. @patrickelectric is working on a new version with support for it.I removed the
awaitin the save button for the screen recording, but in reality it will be in a loading state for 5 seconds and then gently fail (because of the lack of support on m2r).Fix #2160