Add HomePosition message and timestamp fields to telemetry#401
Closed
PavelGuzenfeld wants to merge 2 commits intomavlink:mainfrom
Closed
Add HomePosition message and timestamp fields to telemetry#401PavelGuzenfeld wants to merge 2 commits intomavlink:mainfrom
PavelGuzenfeld wants to merge 2 commits intomavlink:mainfrom
Conversation
Add time_usec field (uint64) to Altitude and GroundTruth proto messages in both telemetry and telemetry_server protos. This exposes the timestamp already present in the underlying MAVLink messages (ALTITUDE and HIL_STATE_QUATERNION), enabling time-series analysis and log correlation. Fixes mavlink/MAVSDK#2391
Add a new HomePosition message to telemetry.proto that exposes all fields from the MAVLink HOME_POSITION message (mavlink#242): - Global GPS position (lat/lon/alt) - Local NED position (x/y/z) - Surface quaternion (q[4]) - Approach vector (approach_x/y/z) - Timestamp (time_usec) Change HomeResponse to return HomePosition instead of Position. Fixes mavlink/MAVSDK#2310
Contributor
Author
|
Duplicate of #399, closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HomePositionmessage type with fullHOME_POSITIONMAVLink fields (local NED, quaternion, approach vector, timestamp)HomeResponse.hometype fromPositiontoHomePositiontimestamp_usfield toGroundTruthandAltitudemessagesNote
Breaking change:
HomeResponse.hometype changes fromPositiontoHomePosition. This requires a major version bump.Split from #400 per review feedback.