How to Read Distance Sensor Data from MAVROS Topic

Hey everyone, I want to receive distance data from Maxbotix sensors over a MAVROS topic named “/mavros/distance_sensor/…”. Even if I can read distance data as DISTANCE_SENSOR from MAVLink Inspector on QGroundControl, I couldn’t see its MAVROS topic on the terminal when I type the command “rostopic list”. How can I solve this issue? Thank you.

The reason is that I should have commented the lines of “distance sensors” and “range finders” on px4_plugginlists.yaml . The document is supposed to be as below:

#- distance_sensor
#- rangefinder

plugin_whitelist: []
#- ‘sys_*’