解决:Qt中启动错误,msg如下:The process could not be started!

本文解决了 Qt Creator 中无法启动程序的问题,提供了两种方法:一是清理项目并重新生成配置文件;二是修改 .pro 文件来指定正确的编译目录。

问题描述:

程序无法通过 creator 运行,一直提示 The process could not be started! 错误,但直接双击可执行文件可以运行。


方法1:

I managed to fix it by:

erase all make files and debug files and also the .pro file (I had to save the configuration of this .pro) also the ".project"
well i erase almost everything except my ".cpp" and .h" files

then

Use command line : "qmake -project" to recreate the .pro file

and rebuild everthing inside qt creator
which remade all make file and other stuff.

and it is working now. and it is now calling the right directory /debug for the .exe

 

 

方法2:(不一定可行)

解决办法:在程序 pro 文件中贴入下列代码

debug {
     DESTDIR=./debug
     LIBS += -L./debug
} else:release {
     DESTDIR=./release
     LIBS += -L./release
}

[gzserver-2] This version of Gazebo, now called Gazebo classic, reaches end-of-life [gzserver-2] in January 2025. Users are highly encouraged to migrate to the new Gazebo [gzserver-2] using our migration guides (https://gazebosim.org/docs/latest/gazebo_classic_migration?utm_source=gazebo_ros_pkgs&utm_medium=cli) [gzserver-2] [gzserver-2] [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170ca0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170ca0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674989.058932200] [spawn_entity]: Spawn Entity started [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674989.059525917] [spawn_entity]: Loading entity published on topic /robot_description [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170c10>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170c10>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674989.061265958] [spawn_entity]: Waiting for entity xml on /robot_description [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674989.074732860] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30 [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674989.075182701] [spawn_entity]: Waiting for service /spawn_entity [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674989.578820856] [spawn_entity]: Calling service /spawn_entity [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [INFO] [1753674989.830262048] [IMU_plugin]: <initial_orientation_as_reference> is unset, using default value of false to comply with REP 145 (world as orientation reference) [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStdout' [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stdout.ProcessStdout object at 0x70f46d4eb370>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stdout.ProcessStdout object at 0x70f46d4eb370>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d172230>' [gzclient-3] [Msg] Waiting for master. [gzclient-3] [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [gzclient-3] [Msg] Publicized address: 192.168.10.5 [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170c10>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170c10>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d172230>' [gzclient-3] [Wrn] [GuiIface.cc:120] Could not find the Qt platform plugin "wayland" in "" [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStdout' [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stdout.ProcessStdout object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stdout.ProcessStdout object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [Msg] Waiting for master. [gzserver-2] [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [gzserver-2] [Msg] Publicized address: 192.168.10.5 [gzserver-2] [Msg] Loading world file [/home/yxc/chapt6/chapt6_ws/install/fishbot_description/share/fishbot_description/world/custom_room.world] [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170c10>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d170c10>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [INFO] [1753674990.378487123] [depth_camera]: Publishing camera info to [/camera_sensor/camera_info] [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d4eb370>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [INFO] [1753674990.378940166] [depth_camera]: Publishing depth camera info to [/camera_sensor/depth/camera_info] [gzserver-2] [INFO] [1753674990.379235333] [depth_camera]: Publishing pointcloud to [/camera_sensor/points] [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d517d30>' [spawn_entity.py-4] [INFO] [1753674990.466041980] [spawn_entity]: Spawn status: SpawnEntity: Successfully spawned entity [fishbot] [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [INFO] [1753674990.477751490] [gazebo_ros2_control]: Loading gazebo_ros2_control plugin [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d0faa10>' [gzserver-2] [Err] [Model.cc:1160] Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run. [INFO] [spawn_entity.py-4]: process has finished cleanly [pid 6428] [DEBUG] [launch.launch_context]: emitting event: 'launch.events.process.ProcessExited' [DEBUG] [launch]: processing event: '<launch.events.process.process_exited.ProcessExited object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_exited.ProcessExited object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_exit.OnProcessExit object at 0x70f46d171e70>' [DEBUG] [launch]: processing event: '<launch.events.process.process_exited.ProcessExited object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_exit.OnProcessExit object at 0x70f46d171f90>' [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d16bbe0>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d172230>' [gzclient-3] [Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d517100>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d517100>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d172230>' [gzclient-3] [Err] [Connection.cc:547] Connection[17] Closed during Read [gzclient-3] [Err] [TransportIface.cc:385] Unable to read from master [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [ERROR] [gzserver-2]: process has died [pid 6424, exit code -11, cmd 'gzserver /home/yxc/chapt6/chapt6_ws/install/fishbot_description/share/fishbot_description/world/custom_room.world --verbose -slibgazebo_ros_init.so -slibgazebo_ros_factory.so -slibgazebo_ros_force_system.so']. [DEBUG] [launch.launch_context]: emitting event: 'launch.events.process.ProcessExited' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d517100>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d517100>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d172230>' [gzclient-3] [Err] [GLWidget.cc:900] Unable to connect to a running Gazebo master. [DEBUG] [launch]: processing event: '<launch.events.process.process_exited.ProcessExited object at 0x70f46d169d50>' [DEBUG] [launch]: processing event: '<launch.events.process.process_exited.ProcessExited object at 0x70f46d169d50>' ✓ '<launch.event_handlers.on_process_exit.OnProcessExit object at 0x70f46d0faad0>' [gzserver-2] [gzserver-2] [DEBUG] [launch]: processing event: '<launch.events.process.process_exited.ProcessExited object at 0x70f46d169d50>' ✓ '<launch.event_handlers.on_process_exit.OnProcessExit object at 0x70f46d0fac80>' [DEBUG] [launch.launch_context]: emitting event synchronously: 'launch.events.process.ProcessStderr' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d517100>' [DEBUG] [launch]: processing event: '<launch.events.process.process_stderr.ProcessStderr object at 0x70f46d517100>' ✓ '<launch.event_handlers.on_process_io.OnProcessIO object at 0x70f46d172230>' [gzclient-3] [Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
07-29
gazebo无法显示(能运行但里面是一片空白),如何解决 报错:robot@robot-virtual-machine:~/桌面/final_homework$ ros2 launch fishbot_description display_robot.launch.py [INFO] [launch]: All log files can be found below /home/robot/.ros/log/2025-06-24-00-20-49-599928-robot-virtual-machine-9501 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [gazebo-1]: process started with pid [9502] [INFO] [ros2-2]: process started with pid [9504] [INFO] [robot_state_publisher-3]: process started with pid [9506] [INFO] [joint_state_publisher_gui-4]: process started with pid [9508] [INFO] [rviz2-5]: process started with pid [9510] [rviz2-5] qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" [robot_state_publisher-3] [WARN] [1750695649.813319615] [robot_state_publisher]: No robot_description parameter, but command-line argument available. Assuming argument is name of URDF file. This backwards compatibility fallback will be removed in the future. [robot_state_publisher-3] [WARN] [1750695649.826852862] [kdl_parser]: The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF. [robot_state_publisher-3] [INFO] [1750695649.827031936] [robot_state_publisher]: got segment base_link [robot_state_publisher-3] [INFO] [1750695649.827101073] [robot_state_publisher]: got segment imu_link [robot_state_publisher-3] [INFO] [1750695649.827120086] [robot_state_publisher]: got segment lidar_link [joint_state_publisher_gui-4] qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" [gazebo-1] Gazebo multi-robot simulator, version 11.10.2 [gazebo-1] Copyright (C) 2012 Open Source Robotics Foundation. [gazebo-1] Released under the Apache 2 License. [gazebo-1] http://gazebosim.org [gazebo-1] [rviz2-5] [INFO] [1750695650.682274084] [rviz2]: Stereo is NOT SUPPORTED [rviz2-5] [INFO] [1750695650.682997533] [rviz2]: OpenGl version: 4.1 (GLSL 4.1) [gazebo-1] Gazebo multi-robot simulator, version 11.10.2 [gazebo-1] Copyright (C) 2012 Open Source Robotics Foundation. [gazebo-1] Released under the Apache 2 License. [gazebo-1] http://gazebosim.org [gazebo-1] [rviz2-5] [INFO] [1750695650.787656132] [rviz2]: Stereo is NOT SUPPORTED [rviz2-5] [ERROR] [1750695651.002030871] [rviz2]: PluginlibFactory: The plugin for class 'rviz_default_plugins/Imu' failed to load. Error: According to the loaded plugin descriptions the class rviz_default_plugins/Imu with base class type rviz_common::Display does not exist. Declared types are nav2_rviz_plugins/ParticleCloud rviz_default_plugins/AccelStamped rviz_default_plugins/Axes rviz_default_plugins/Camera rviz_default_plugins/DepthCloud rviz_default_plugins/Effort rviz_default_plugins/FluidPressure rviz_default_plugins/Grid rviz_default_plugins/GridCells rviz_default_plugins/Illuminance rviz_default_plugins/Image rviz_default_plugins/InteractiveMarkers rviz_default_plugins/LaserScan rviz_default_plugins/Map rviz_default_plugins/Marker rviz_default_plugins/MarkerArray rviz_default_plugins/Odometry rviz_default_plugins/Path rviz_default_plugins/PointCloud rviz_default_plugins/PointCloud2 rviz_default_plugins/PointStamped rviz_default_plugins/Polygon rviz_default_plugins/Pose rviz_default_plugins/PoseArray rviz_default_plugins/PoseWithCovariance rviz_default_plugins/Range rviz_default_plugins/RelativeHumidity rviz_default_plugins/RobotModel rviz_default_plugins/TF rviz_default_plugins/Temperature rviz_default_plugins/TwistStamped rviz_default_plugins/Wrench [joint_state_publisher_gui-4] [INFO] [1750695651.012208224] [joint_state_publisher_gui]: Waiting for robot_description to be published on the robot_description topic... [gazebo-1] [Wrn] [gazebo_ros_init.cpp:178] [gazebo-1] # # ####### ####### ### ##### ####### [gazebo-1] ## # # # # # # # # [gazebo-1] # # # # # # # # # [gazebo-1] # # # # # # # # ##### [gazebo-1] # # # # # # # # # [gazebo-1] # ## # # # # # # # [gazebo-1] # # ####### # ### ##### ####### [gazebo-1] [gazebo-1] This version of Gazebo, now called Gazebo classic, reaches end-of-life [gazebo-1] in January 2025. Users are highly encouraged to migrate to the new Gazebo [gazebo-1] using our migration guides (https://gazebosim.org/docs/latest/gazebo_classic_migration?utm_source=gazebo_ros_pkgs&utm_medium=cli) [gazebo-1] [gazebo-1] [joint_state_publisher_gui-4] [INFO] [1750695651.076499270] [joint_state_publisher_gui]: Centering [ros2-2] [INFO] [1750695651.294862637] [spawn_entity]: Spawn Entity started [ros2-2] [INFO] [1750695651.296018549] [spawn_entity]: Loading entity XML from file /home/robot/桌面/final_homework/install/fishbot_description/share/fishbot_description/urdf/first_robot.urdf [ros2-2] [INFO] [1750695651.298336590] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30 [ros2-2] [INFO] [1750695651.299681322] [spawn_entity]: Waiting for service /spawn_entity [joint_state_publisher_gui-4] [INFO] [1750695651.411230857] [joint_state_publisher_gui]: Centering [gazebo-1] [Msg] Waiting for master. [gazebo-1] [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [gazebo-1] [Msg] Publicized address: 192.168.150.128 [gazebo-1] [Wrn] [GuiIface.cc:120] Could not find the Qt platform plugin "wayland" in "" [gazebo-1] [Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/robot/.gazebo/models/wpr_simulation2" [gazebo-1] context mismatch in svga_surface_destroy [gazebo-1] context mismatch in svga_surface_destroy [gazebo-1] [Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once. [ros2-2] [ERROR] [1750695681.462499528] [spawn_entity]: Service /spawn_entity unavailable. Was Gazebo started with GazeboRosFactory? [ros2-2] [ERROR] [1750695681.464526737] [spawn_entity]: Spawn service failed. Exiting. [ros2-2] [ros2run]: Process exited with failure 1 [ERROR] [ros2-2]: process has died [pid 9504, exit code 1, cmd 'ros2 run gazebo_ros spawn_entity.py -entity first_robot -file /home/robot/桌面/final_homework/install/fishbot_description/share/fishbot_description/urdf/first_robot.urdf']. 除此之外,imu也无法显示
06-24
我最近在学习激光雷达SLAM。我安装了ubuntu22.04并且根据博主鱼香ros的一键安装了ros2 humble版本。为了运行lego loam,我在github上找到了博主鱼香ros改写的lego loam humble版,并且我已经成功编译。但是rviz中并没有轨迹,于是我下载了原作者的bag文件并将其转换成了.bd3文件,但仍然没有轨迹。第一个终端窗口:lei@leiguoguo:~/ros2_ws$ ros2 launch lego_loam_sr run.launch.py [INFO] [launch]: All log files can be found below /home/lei/.ros/log/2025-06-17-10-36-39-658661-leiguoguo-7646 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [lego_loam_sr-1]: process started with pid [7647] [INFO] [static_transform_publisher-2]: process started with pid [7649] [INFO] [static_transform_publisher-3]: process started with pid [7651] [INFO] [static_transform_publisher-4]: process started with pid [7653] [INFO] [rviz2-5]: process started with pid [7655] [static_transform_publisher-4] RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED is now ignored. Please set RCUTILS_LOGGING_USE_STDOUT and RCUTILS_LOGGING_BUFFERED_STREAM to control the stream and the buffering of log messages. [static_transform_publisher-3] RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED is now ignored. Please set RCUTILS_LOGGING_USE_STDOUT and RCUTILS_LOGGING_BUFFERED_STREAM to control the stream and the buffering of log messages. [static_transform_publisher-2] RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED is now ignored. Please set RCUTILS_LOGGING_USE_STDOUT and RCUTILS_LOGGING_BUFFERED_STREAM to control the stream and the buffering of log messages. [static_transform_publisher-3] [WARN] [1750127799.715366258] []: Old-style arguments are deprecated; see --help for new-style arguments [static_transform_publisher-4] [WARN] [1750127799.715367461] []: Old-style arguments are deprecated; see --help for new-style arguments [static_transform_publisher-2] [WARN] [1750127799.715368389] []: Old-style arguments are deprecated; see --help for new-style arguments [rviz2-5] RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED is now ignored. Please set RCUTILS_LOGGING_USE_STDOUT and RCUTILS_LOGGING_BUFFERED_STREAM to control the stream and the buffering of log messages. [rviz2-5] Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. [lego_loam_sr-1] RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED is now ignored. Please set RCUTILS_LOGGING_USE_STDOUT and RCUTILS_LOGGING_BUFFERED_STREAM to control the stream and the buffering of log messages. [static_transform_publisher-3] [INFO] [1750127799.736069007] [base_link_to_camera]: Spinning until stopped - publishing transform [static_transform_publisher-3] translation: ('0.000000', '0.000000', '0.000000') [static_transform_publisher-3] rotation: ('-0.499999', '-0.500000', '-0.500000', '0.500001') [static_transform_publisher-3] from 'camera' to 'base_link' [static_transform_publisher-4] [INFO] [1750127799.736074443] [velodyne_to_base_link]: Spinning until stopped - publishing transform [static_transform_publisher-4] translation: ('0.000000', '0.000000', '0.000000') [static_transform_publisher-4] rotation: ('0.000000', '0.000000', '0.000000', '1.000000') [static_transform_publisher-4] from 'base_link' to 'velodyne' [static_transform_publisher-2] [INFO] [1750127799.736076789] [camera_init_to_map]: Spinning until stopped - publishing transform [static_transform_publisher-2] translation: ('0.000000', '0.000000', '0.000000') [static_transform_publisher-2] rotation: ('0.500000', '0.499999', '0.500000', '0.500001') [static_transform_publisher-2] from 'map' to 'camera_init' [lego_loam_sr-1] [INFO] [1750127799.756201716] [image_projection]: ----> Started. [lego_loam_sr-1] [INFO] [1750127799.756278719] [feature_association]: ----> Started. [lego_loam_sr-1] [INFO] [1750127799.756287725] [map_optimization]: ----> Started. [lego_loam_sr-1] [INFO] [1750127799.756294112] [transform_fusion]: ----> Started. [rviz2-5] [INFO] [1750127801.783291447] [rviz2]: Stereo is NOT SUPPORTED [rviz2-5] [INFO] [1750127801.783409655] [rviz2]: OpenGl version: 4.6 (GLSL 4.6) [rviz2-5] [INFO] [1750127801.796149614] [rviz2]: Stereo is NOT SUPPORTED ros2 launch lego_loam /home/lei/ros2_ws/src/LeGO-LOAM-ROS2/LeGO-LOAM/launch/run.launch.py [INFO] [rviz2-5]: process has finished cleanly [pid 7655] 第二个终端创窗口:lei@leiguoguo:~/ros2_ws$ source /opt/ros/humble/setup.bash lei@leiguoguo:~/ros2_ws$ source ~/ros2_ws/install/setup.bash lei@leiguoguo:~/ros2_ws$ ros2 bag play /home/lei/ros2_bag [INFO] [1750127971.316237348] [rosbag2_storage]: Opened database '/home/lei/ros2_bag/ros2_bag.db3' for READ_ONLY. [INFO] [1750127971.316356460] [rosbag2_player]: Set rate to 1 [WARN] [1750127971.319173825] [rosbag2_player]: Ignoring a topic '/rosout', reason: Something went wrong loading the typesupport library for message type rosgraph_msgs/Log. Library could not be found.. [WARN] [1750127971.319306206] [rosbag2_player]: Ignoring a topic '/rosout_agg', reason: Something went wrong loading the typesupport library for message type rosgraph_msgs/Log. Library could not be found.. [INFO] [1750127971.328125593] [rosbag2_player]: Adding keyboard callbacks. [INFO] [1750127971.328146451] [rosbag2_player]: Press SPACE for Pause/Resume [INFO] [1750127971.328154723] [rosbag2_player]: Press CURSOR_RIGHT for Play Next Message [INFO] [1750127971.328161427] [rosbag2_player]: Press CURSOR_UP for Increase Rate 10% [INFO] [1750127971.328167456] [rosbag2_player]: Press CURSOR_DOWN for Decrease Rate 10% [INFO] [1750127971.328443036] [rosbag2_storage]: Opened database '/home/lei/ros2_bag/ros2_bag.db3' for READ_ONLY. 第三个终端窗口:lei@leiguoguo:~/ros2_ws$ sudo apt update [sudo] lei 的密码: 命中:1 http://mirrors.huaweicloud.com/repository/ubuntu jammy InRelease 获取:2 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InRelease [4,682 B] 命中:4 https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu jammy InRelease 命中:3 https://packages.microsoft.com/repos/code stable InRelease 命中:5 http://mirrors.huaweicloud.com/repository/ubuntu jammy-updates InRelease 命中:6 http://mirrors.huaweicloud.com/repository/ubuntu jammy-backports InRelease 命中:7 http://mirrors.huaweicloud.com/repository/ubuntu jammy-security InRelease 已下载 4,682 B,耗时 7秒 (653 B/s) 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 有 268 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。 lei@leiguoguo:~/ros2_ws$ cd .. lei@leiguoguo:~$ sudo apt install --reinstall ros-humble-rosgraph-msgs 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 升级了 0 个软件包,新安装了 0 个软件包,重新安装了 1 个软件包,要卸载 0 个软件包,有 268 个软件包未被升级。 需要下载 36.2 kB 的归档。 解压缩后会消耗 0 B 的额外空间。 获取:1 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy/main amd64 ros-humble-rosgraph-msgs amd64 1.2.1-1jammy.20250607.025930 [36.2 kB] 已下载 36.2 kB,耗时 1秒 (39.1 kB/s) (正在读取数据库 ... 系统当前共安装有 262567 个文件和目录。) 准备解压 .../ros-humble-rosgraph-msgs_1.2.1-1jammy.20250607.025930_amd64.deb ... 正在解压 ros-humble-rosgraph-msgs (1.2.1-1jammy.20250607.025930) 并覆盖 (1.2.1-1jammy.20250607.025930) ... 正在设置 ros-humble-rosgraph-msgs (1.2.1-1jammy.20250607.025930) ... 正在处理用于 libc-bin (2.35-0ubuntu3.8) 的触发器 ...
06-18
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值