Telemetry and TelemetryServer improvements#364
Conversation
protos/telemetry/telemetry.proto
Outdated
| float climb_rate_m_s = 3 [(mavsdk.options.default_value)="NaN"]; // Current climb rate in metres per second | ||
| float groundspeed_m_s = 4 [(mavsdk.options.default_value)="NaN"]; // Current groundspeed metres per second | ||
| float heading_deg = 5 [(mavsdk.options.default_value)="NaN"]; // Current heading in compass units (0-360, 0=north) | ||
| float altitude_msl = 6 [(mavsdk.options.default_value)="NaN"]; // Current altitude in metres (MSL) |
There was a problem hiding this comment.
Maybe this would be more consistent with the others?
| float altitude_msl = 6 [(mavsdk.options.default_value)="NaN"]; // Current altitude in metres (MSL) | |
| float absolute_altitude_m = 6 [(mavsdk.options.default_value)="NaN"]; // Current altitude in metres (MSL) |
There was a problem hiding this comment.
Yep no problem, will do
- absolute_altitude_m
There was a problem hiding this comment.
Done. Sorry had to test on two different branches, which is why I didn't commit directly. Should be there though.
| float climb_rate_m_s = 3 [(mavsdk.options.default_value)="NaN"]; // Current climb rate in metres per second | ||
| float groundspeed_m_s = 4 [(mavsdk.options.default_value)="NaN"]; // Current groundspeed metres per second | ||
| float heading_deg = 5 [(mavsdk.options.default_value)="NaN"]; // Current heading in compass units (0-360, 0=north) | ||
| float altitude_msl = 6 [(mavsdk.options.default_value)="NaN"]; // Current altitude in metres (MSL) |
There was a problem hiding this comment.
| float altitude_msl = 6 [(mavsdk.options.default_value)="NaN"]; // Current altitude in metres (MSL) | |
| float absolute_altitude_m = 6 [(mavsdk.options.default_value)="NaN"]; // Current altitude in metres (MSL) |
There was a problem hiding this comment.
Sure thing
- absolute_altitude_m
There was a problem hiding this comment.
Done. See above.
julianoes
left a comment
There was a problem hiding this comment.
I think that's good like that, thanks!
|
@jonathanreeves the proto issues should be resolved with: mavlink/MAVSDK#2508 and #366. Thanks to @JonasVautherin for fixing it. |
Great thank you both! I'll re-base on top of that PR so it's ready to go. |
24c4db0 to
15c1a10
Compare
* Updated FixedwingMetrics, added attitude and VFR_HUD publishers to the TelemetryServer * Re-order fields for backward compatibility * PR feedback: altitude_msl -> absolute_altitude_m --------- Co-authored-by: Jon Reeves <jon.reeves@elroyair.com>
Changes to support the corresponding MAVSDK PR: mavlink/MAVSDK#2504
Specifically:
Note that currently MAVSDK does not build against Proto main. The MAVSDK PR listed above is using a branch of Proto with changes cherry-picked.