6.2章节的机器人launch文件启动错误,无法正常启动[ERROR] [rviz2-3]: process has died [pid 12107, exit code 127, cmd '/opt/ros/humble/lib/rviz2/rviz2 -d /home/wasd/chapt6/chapt6_ws/install/fishbot_description/share/fishbot_description/rviz/display.rviz --ros-args'].
-
wasd@wasd-virtual-machine:~/chapt6/chapt6_ws$ ros2 launch fishbot_description display_robot.lauch.py
[INFO] [launch]: All log files can be found below /home/wasd/.ros/log/2025-05-13-11-26-42-773028-wasd-virtual-machine-12101
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [robot_state_publisher-1]: process started with pid [12103]
[INFO] [joint_state_publisher-2]: process started with pid [12105]
[INFO] [rviz2-3]: process started with pid [12107]
[robot_state_publisher-1] [INFO] [1747106802.833965744] [robot_state_publisher]: got segment base
[robot_state_publisher-1] [INFO] [1747106802.834038713] [robot_state_publisher]: got segment imu
[rviz2-3] /opt/ros/humble/lib/rviz2/rviz2: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
[ERROR] [rviz2-3]: process has died [pid 12107, exit code 127, cmd '/opt/ros/humble/lib/rviz2/rviz2 -d /home/wasd/chapt6/chapt6_ws/install/fishbot_description/share/fishbot_description/rviz/display.rviz --ros-args'].
[joint_state_publisher-2] [INFO] [1747106803.065341028] [joint_state_publisher]: Waiting for robot_description to be published on the robot_description topic...
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[robot_state_publisher-1] [INFO] [1747106805.722844186] [rclcpp]: signal_handler(signum=2)
[INFO] [robot_state_publisher-1]: process has finished cleanly [pid 12103]
[INFO] [joint_state_publisher-2]: process has finished cleanly [pid 12105] -
@lwx359162567 一样,我这边运行不了了
-
@2534041965 你解决了吗?
-
@2534041965 我打算试试单独一个启动rviz的功能包