This commit is contained in:
2026-02-12 20:56:30 +08:00
commit fa96a6610a
1145 changed files with 163657 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# 导入必要的库
# LaunchDescription用于描述整个launch文件的内容Node用于定义要启动的ROS2节点
from launch import LaunchDescription
# 导入Node类用于定义要启动的ROS2节点
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
Node(
package='cpp_node', # 包名
executable='cpp_node', # 可执行文件名
name='cpp_node', # 节点名称
output='screen' # 输出日志到屏幕
)
])