ubuntu22.04+humble+vscode。
运行第一个node_helloworld.py 就这样,复制的learning_node包。
setup.py 里有加:
entry_points={
'console_scripts': [
'node_helloworld = learning_node.node_helloworld:main',
'node_helloworld_class = learning_node.node_helloworld_class:main',
'node_object = learning_node.node_object:main',
'node_object_webcam = learning_node.node_object_webcam:main',
],
setup.cfg:
[develop]
script_dir=$base/lib/learning_node
[install]
install_scripts=$base/lib/learning_node
都是原版的没改,colcon build编译,然后,source ./install/setup.sh ,再ros2 run learning_node node_helloworld.py , 也不报其他错,就一个No executable found。
chmod 改了文件权限也不行。
为啥呢?
第三方账号登入
QQ 微博 微信