Closed KLelkov closed 1 year ago
Found this bug when running at Ubuntu 21.10, same as @sai5555 https://github.com/Slamtec/rplidar_ros/issues/56#issue-929377173 The error: https://disk.yandex.ru/i/1A5TNNlLATezGA
can be fixed in the line 170 of rplidar_ros/sdk/src/arch/linux/net_socket.cpp return ((uintptr_t)ans)<=0?RESULT_OPERATION_FAIL:RESULT_OK;
return ((uintptr_t)ans)<=0?RESULT_OPERATION_FAIL:RESULT_OK;
Found this bug when running at Ubuntu 21.10, same as @sai5555 https://github.com/Slamtec/rplidar_ros/issues/56#issue-929377173 The error: https://disk.yandex.ru/i/1A5TNNlLATezGA
can be fixed in the line 170 of rplidar_ros/sdk/src/arch/linux/net_socket.cpp
return ((uintptr_t)ans)<=0?RESULT_OPERATION_FAIL:RESULT_OK;