How can we get ground/air speed using mavsdk?

Hi everyone, im looking to read air/ground speed for a VTOL directly using the mavsdk python , if not possible is there any a way to calculate them without using the gps ?

is this message (VFR_HUD) content not exposed via any of grpc methods ??

1 Like

For anyone facing the same problem, here is what worked for me:

I was able to get the ground speed based on the NED velocities using this formula :
math.sqrt(velocity.east_m_s * velocity.east_m_s + velocity.north_m_s * velocity.north_m_s)

the airspeed is located at fixedwing_metrics even for non fixed wing vehicles, based on a Github thread of the feature implementation.

Please feel free to correct me if im wrong thanks.

1 Like