Sonar+iris+gazebo rostopic sensor_msgs/range not publishing

I am trying to include a Sonar sensor into an iris px4 plugin and simulating using gazebo. When I launch the file, I can simulate the Sonar into the Gazebo but couldn’t get the corresponding ROS topic. Could anyone please help me?

Note: The Sonar model I used from the PX4 model plugin

Thank you in advance

@anoop_g PX4 SITL simulations are not publishing ROS topics by default. You either need to add a plugin which includes the ROS publisher

Thanks for the reply. I used rplidar instead of the sonar and I was able to get the corresponding rostopic.