Commits d016fcc336a0c4e49423c966aa3acc0477848644 and 15771a42cf91ffaa946846174c639edf1056b693 in combination turned packet timeouts into an error that stops the node from responding. This patch restores the original behavior.
Changed getPacket() to return 0 on timeout and 1 on success.
Updated VelodyneDriver::poll() accordingly.
Commits d016fcc336a0c4e49423c966aa3acc0477848644 and 15771a42cf91ffaa946846174c639edf1056b693 in combination turned packet timeouts into an error that stops the node from responding. This patch restores the original behavior.
Changed getPacket() to return 0 on timeout and 1 on success. Updated VelodyneDriver::poll() accordingly.