SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
100 stars 84 forks source link

How to change the device name by windows without ROS ? #389

Open sjeffreydong opened 15 hours ago

sjeffreydong commented 15 hours ago

Dear

How to change the device name by windows without ROS ? Please share the method.

rostest commented 15 hours ago

Thank you for your feedback. We recommend to use SOPAS ET or SOPAS Air to change the device name and store it in the EEPROM of the lidar.

Alternatively you can use the SOPAS command sWN LocationName to set a device name:

image See the telegram listing for details.

Without ROS, SOPAS commands can be sent using the SickScanApiSendSOPAS API function:

image See the API description for details.

sjeffreydong commented 14 hours ago

I used SOPAS TO change the name but have the error : “status_code:2, status_message Error unexpected Sopas answer for request sWN EIHstCola 0x01 CRC:<0x09>, giving up after 1 unexpected answers.” should i eidt the launch file?

rostest commented 14 hours ago

Thank you for your reply. Which lidar are you using?

The SOPAS command sWN EIHstCola 1 changes the SOPAS Cola dialect to Cola binary. This is the communication mode used by the sick_scan_xd driver for most lidars. If the lidar is initially in Cola-A mode (ASCII telegrams), the driver will switch to Cola-B (binary telegrams) and restart. This should happen automatically and the lidar initialisation should work after this restart.

Please post a complete logfile of the initialisation phase after startup.