PX4用gazebo启动加载不出无人机模型

Traceback (most recent call last):
  File "/home/yiersansiwu/catkin_ws/devel/lib/gazebo_ros/spawn_model", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/home/yiersansiwu/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model", line 30, in <module>
    from gazebo_msgs.msg import ModelStates
ImportError: cannot import name 'ModelStates' from 'gazebo_msgs.msg' (unknown location)
[iris_0/iris_0_spawn-5] process has died [pid 8237, exit code 1, cmd /home/yiersansiwu/catkin_ws/devel/lib/gazebo_ros/spawn_model -sdf -param model_description -model iris_0 -x 0 -y 7.5 -z 1 -R 0 -P 0 -Y 0 __name:=iris_0_spawn __log:=/home/yiersansiwu/.ros/log/68205422-9b6d-11ec-9747-75c7a67c8918/iris_0-iris_0_spawn-5.log].
log file: /home/yiersansiwu/.ros/log/68205422-9b6d-11ec-9747-75c7a67c8918/iris_0-iris_0_spawn-5*.log
[ INFO] [1646365475.317782199]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1646365475.318871567]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1646365475.396606645]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1646365475.397557064]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[ INFO] [1646365477.011764474]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1646365477.031627464]: Physics dynamic reconfigure ready.