小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
请问这是怎么回事
-
ppz@ppz-virtual-machine:~/town_ws$ ros2 run village_li li4_node
Traceback (most recent call last):
File "/home/ppz/town_ws/install/village_li/lib/village_li/li4_node", line 33, in <module>
sys.exit(load_entry_point('village-li==0.0.0', 'console_scripts', 'li4_node')())
File "/home/ppz/town_ws/install/village_li/lib/python3.10/site-packages/village_li/li4.py", line 32, in main
rclpy.init(args=args)
File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/init.py", line 89, in init
return context.init(args, domain_id=domain_id)
File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/context.py", line 72, in init
self.__context = _rclpy.Context(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. rclpy._rclpy_pybind11.Context(arg0: list, arg1: int)Invoked with: <class 'rclpy.node.Node'>, 18446744073709551615
[ros2run]: Process exited with failure 1