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
99 stars 84 forks source link

Running the driver with verboseLevel 1 causes problems #204

Closed Kaju-Bubanja closed 1 year ago

Kaju-Bubanja commented 1 year ago

When running the lms5xx.launch file with the argument verboseLevel set to 1 it generates more logs and data files in the /tmp folder. So far so good, but it fills up the complete harddisk in a matter of minutes. Then when I tried to reboot the system it got stuck in following condition: https://serverfault.com/questions/987488/boot-stuck-at-a-start-job-is-running-for-create-volatile-files-and-directories now I can't boot anymore and have to use a recovery stick to delete these heaps of tmp files from the driver.

It would be nice if the driver would maybe store only every x seconds or minutes a data file and/or if it stops before filling the disk completely

rostest commented 1 year ago

Thank you for this valuable hint. Creating data dump files was meant for low level debugging only. We will remove the argument verboseLevel or restrict the total file size in a future version.

rostest commented 1 year ago

The number and size of dumpfiles in case of verboseLevel>0 will be restricted in the next release. Thanks again!