rsasaki0109 / lidarslam_ros2

ROS 2 package of 3D lidar slam using ndt/gicp registration and pose-optimization
BSD 2-Clause "Simplified" License
511 stars 121 forks source link

__init__() missing 1 required keyword-only argument: 'node_executable' #19

Closed CAKGOD closed 4 years ago

CAKGOD commented 4 years ago

Excuse me. I build the lidarslam_ros2 done. A problem occured when i run the command $ ros2 launch lidarslam lidarslam.launch.py. The information is as followed.

[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught exception when trying to load file of format [py]: init() missing 1 required keyword-only argument: 'node_executable'

System: ubuntu 18.04 ros version: ros1 melodic + ros2 eloquent

How can i solve this problem? Thank u~

rsasaki0109 commented 4 years ago

Perhaps changing the "executable" part of the lidarslam.launch.py file to "node_executable" will fix the problem? From eloquent to foxy, "node_executable" has been renamed to "executable" and "node_executable" is now deprecated in foxy.

CAKGOD commented 4 years ago

thank u ~ i will make a try.

CAKGOD commented 4 years ago

It works for me. Thanks! And i will close this issue.