feat(level1): ROS2 完全体 12 包 / 80 测试 / 23 文档 / 工程化 / Docker 分组
This commit is contained in:
@@ -1,20 +1,15 @@
|
||||
"""
|
||||
action_launch.py —— 启动 Fibonacci Action 服务端。
|
||||
|
||||
client 不在此 launch,按需手动调用:
|
||||
ros2 action send_goal /fibonacci example_interfaces/action/Fibonacci "{order: 8}" --feedback
|
||||
"""
|
||||
|
||||
"""action_launch.py - 启动 Fibonacci Action server。"""
|
||||
from launch import LaunchDescription
|
||||
from launch_ros.actions import Node
|
||||
|
||||
|
||||
def generate_launch_description():
|
||||
def generate_launch_description() -> LaunchDescription:
|
||||
"""生成启动描述:FibonacciActionServer。"""
|
||||
return LaunchDescription([
|
||||
Node(
|
||||
package='py_action_demo',
|
||||
executable='fibonacci_server',
|
||||
name='fibonacci_action_server_py',
|
||||
executable='fibonacci_action_server',
|
||||
name='fibonacci_action_server',
|
||||
output='screen',
|
||||
),
|
||||
])
|
||||
Reference in New Issue
Block a user