From 8af43e07a34bf915939e4b61cc49dcfd58567c56 Mon Sep 17 00:00:00 2001
From: asantamaria <angel.santamaria.navarro@jpl.nasa.gov>
Date: Tue, 16 Apr 2019 09:02:28 -0700
Subject: [PATCH] Cosmetics. Specify serial number in message while opening

---
 src/lidar_lite.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lidar_lite.cpp b/src/lidar_lite.cpp
index b24a4cb..7dc5e57 100644
--- a/src/lidar_lite.cpp
+++ b/src/lidar_lite.cpp
@@ -47,7 +47,7 @@ CLidarLite::open(void)
     this->adapter_ = new CUSBI2C("adapter");
 
     // open serial port
-    std::cout << "[CLidarLite]: Opening Lidar Lite. " << std::endl;
+    std::cout << "[CLidarLite]: Opening Lidar Lite with serial number: " << this->serial_ << std::endl;
     this->adapter_->open(this->serial_);
     usleep(5000); // Delay to initialize sensor.
 
-- 
GitLab