Publish SBC's distance value to mavlink

Hi guys!, I have a question about mavlink/mavros and a distance value sending.
I have a service running in companion computer which publishes a custom message and want it to be sent to PX4_Pixhawk, being accessible to QGC-mavlink inspector. I’ve also tried creating a package that publishes a standard Range message.
The thinkg is that, although it is echoable in /mavros, I can’t see those two messages with Mavlink Inspector. I have seen there is a distance_sensor plugin in mavros_extras.
Does somebody have an idea of how this can be achieved? Thanks in advance!
PD: Ubuntu20, with Noetic and Gazebo11