gazebo报错
-
网上说的清除其他gazebo的进程,和更新gazebo的方法都试过了
都没有用报错内容
[gazebo-1] process has died [pid 2626, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/cf/ai_ws/src/gazebo_pkg/world/world.world __name:=gazebo __log:=/home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo-1.log].
log file: /home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo-1*.log
[gazebo_gui-2] process has died [pid 2631, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo_gui-2.log].
log file: /home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo_gui-2*.log日志
Node: /urdf_spawner
Time: 08:00:00.000000000 (1970-01-01)
Severity: Info
Published Topics: /clock, /rosoutWaiting for service /gazebo/spawn_urdf_model
Location:
gazebo_interface.py:spawn_urdf_model_client:27
-
全文内容
cf@cf-Lenovo-XiaoXinAir-15IML-2019:~/ai_ws$ roslaunch gazebo_pkg race.launch
... logging to /home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/roslaunch-cf-Lenovo-XiaoXinAir-15IML-2019-2608.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://cf-Lenovo-XiaoXinAir-15IML-2019:44009/SUMMARY
PARAMETERS
- /gazebo/enable_ros_network: True
- /robot_description: <?xml version="1....
- /rosdistro: melodic
- /rosversion: 1.14.13
- /use_sim_time: True
NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
joint_state_publisher (joint_state_publisher/joint_state_publisher)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
urdf_spawner (gazebo_ros/spawn_model)ROS_MASTER_URI=http://localhost:11311
process[gazebo-1]: started with pid [2626]
process[gazebo_gui-2]: started with pid [2631]
process[urdf_spawner-3]: started with pid [2636]
process[joint_state_publisher-4]: started with pid [2637]
process[robot_state_publisher-5]: started with pid [2638]
gzserver: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ignition10fuel_tools12ClientConfig12SetUserAgentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
gzclient: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ignition10fuel_tools12ClientConfig12SetUserAgentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
[gazebo-1] process has died [pid 2626, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/cf/ai_ws/src/gazebo_pkg/world/world.world __name:=gazebo __log:=/home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo-1.log].
log file: /home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo-1*.log
[gazebo_gui-2] process has died [pid 2631, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo_gui-2.log].
log file: /home/cf/.ros/log/1159d106-fe5d-11ec-ae4e-d0abd5a8b650/gazebo_gui-2*.log
[INFO] [1657243697.560631, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1657243697.578496, 0.000000]: Waiting for service /gazebo/spawn_urdf_model -
@甘铭 如果只是启动 empty_world gazebo能够正常启动,先确定 Gazebo是否能够正常运行,再去排除后面模型加载可能的错误,然后对于终端反馈的这个错误,gzserver: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: 你可以参考https://qiita.com/seigot/items/b7ba0f41656f07eeeea0这篇文章的解决方案试试,sudo apt upgrade -y libignition-math2
-
@吴凯荣 解决了,十分感谢
-
-
甘 甘铭 将这个主题标记为已解决,在