SICKAG / sick_scan_xd

A versatile driver for a wide range of SICK LiDAR and RADAR devices, providing support for both Linux (native, ROS 1, ROS 2) and Windows (native, ROS 2) platforms.
Apache License 2.0
107 stars 87 forks source link

ros2 sick_new_ip.launch not working #162

Closed erikgoldenstein closed 1 year ago

erikgoldenstein commented 1 year ago

Hey, I'm trying to change the IP on the MRS6224R-131001 and always get this error message. I am using the 2.8.15 Release, I installed sick_scan_xd as described in the Instructions on Ros2 Humble. The driver itself works well.

Error Message (saved log is exactly the same):

user@pc:~/project/sick_scan_ws$ ros2 launch sick_scan sick_new_ip.launch hostname:=192.168.0.1 new_IP:=192.168.0.120
[INFO] [launch]: All log files can be found below /home/user/.ros/log/2023-04-14-17-48-30-926731-pc-17682
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught exception when trying to load file of format [launch]: Attribute exec of type <class 'str'> not found in Entity node

Help would be really appreciated

rostest commented 1 year ago

Thanks for your message. Command ros2 launch requires a launch.py file, e.g. ros2 launch sick_scan sick_new_ip.launch.py (instead of ros2 launch sick_scan sick_new_ip.launch). Note that sick_new_ip.launch is only an example (proof of concept) for customization. We recommend to use SOPAS ET for IP address configuration.

michael1309 commented 1 year ago

Close due to inactivity.