Skip to content

Conversation

@rafaellehmkuhl
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl commented Oct 2, 2025

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_ESTIMATE command on mavlink2rest. @patrickelectric is working on a new version with support for it.

I removed the await in 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

Opens a dialog for the user to fine tune this position.
@rafaellehmkuhl rafaellehmkuhl force-pushed the allow-setting-position-estimate-mavlink-map branch from 210f05d to 8ce9769 Compare October 2, 2025 12:23
@rafaellehmkuhl rafaellehmkuhl marked this pull request as draft October 2, 2025 12:26
@rafaellehmkuhl
Copy link
Member Author

Converted to draft as I believe what I implemented was actually #1102, which allows setting the global origin.

@ES-Alexander
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

frontend: Add option for MAV_CMD_EXTERNAL_POSITION_ESTIMATE

2 participants