From 4b2de03ebd34d441c0949e447ade01117fd616f2 Mon Sep 17 00:00:00 2001
From: Hoop77 <p.badenhoop@gmx.de>
Date: Tue, 24 Apr 2018 22:46:34 +0200
Subject: [PATCH] -

---
 modules/catkin_ws/src/VeloxProtocolLib/test/Main.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/catkin_ws/src/VeloxProtocolLib/test/Main.cpp b/modules/catkin_ws/src/VeloxProtocolLib/test/Main.cpp
index 77dca787..765cd0b0 100644
--- a/modules/catkin_ws/src/VeloxProtocolLib/test/Main.cpp
+++ b/modules/catkin_ws/src/VeloxProtocolLib/test/Main.cpp
@@ -12,8 +12,11 @@ int main(int argc, char ** argv)
     auto conn = Connection::create(net);
     conn->open(
         "/dev/ttySAC0",
-        []
-        { std::cout << "Update received!\n"; },
+        [conn]
+        {
+            std::cout << "[Update]\nSpeed=" << conn->getMeasuredSpeed().get()
+                      << "\nSteering Angle: " << conn->getMeasuredSteeringAngle().get();
+        },
         []
         { std::cout << "Connection closed!\n"; });
 
-- 
GitLab