Ultrasonic sensor info from Arduino to Pixhawk 2

#1

Hi!

How to send sonar / Ultrasonic sensor information from Arduino to Pixhawk 2 using MAVLink?

What is the best way to do it? Is it possible to write to a correct parameter?

All the Best

#2

I think you would be using this MAVLink message:
https://mavlink.io/en/messages/common.html#DISTANCE_SENSOR