Skip to content

Commit 64f1a48

Browse files
committed
fix: rclpy.callback_group → callback_groups(Humble 兼容)
rclpy 在所有 ROS 2 发行版中模块名为 callback_groups(复数)。 E2E Docker 测试发现此 import 错误导致 Node 无法启动。
1 parent c97dacc commit 64f1a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robotmem_ros/robotmem_ros/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from functools import wraps
1717

1818
import rclpy
19-
from rclpy.callback_group import MutuallyExclusiveCallbackGroup, ReentrantCallbackGroup
19+
from rclpy.callback_groups import MutuallyExclusiveCallbackGroup, ReentrantCallbackGroup
2020
from rclpy.executors import MultiThreadedExecutor
2121
from rclpy.node import Node
2222
from rclpy.qos import (

0 commit comments

Comments
 (0)