From ddfaf85ed3fecdd465364d725b235fb7c8f96238 Mon Sep 17 00:00:00 2001
From: Robert Hedman <robert.hedman@mac.com>
Date: Mon, 27 Nov 2017 22:45:56 +0100
Subject: [PATCH] Updated server and mapper to support real lidar messages.

---
 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 715ec1c..6ce8b63 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -43,7 +43,7 @@ fn main() {
                 let mut recording = false;
                 
 
-                for r in stream.try_clone().expect("stream clone failed").bytes() {
+                for r in stream.bytes() {
                     match r {
                         Ok(b) => {
                             if b == 2 {
-- 
GitLab