From 22d51874e580dd2efdbd41b3269bba2e53c526dd Mon Sep 17 00:00:00 2001 From: Thomas Timm Andersen Date: Thu, 17 Sep 2015 10:00:26 +0200 Subject: [PATCH] Fixed printing of version string --- src/ur_communication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ur_communication.cpp b/src/ur_communication.cpp index c39cc2f..a9ba0fb 100644 --- a/src/ur_communication.cpp +++ b/src/ur_communication.cpp @@ -98,7 +98,7 @@ void UrCommunication::start() { //wait for some traffic so the UR socket doesn't die in version 3.1. std::this_thread::sleep_for(std::chrono::milliseconds(500)); #ifdef ROS_BUILD - ROS_INFO("Firmware version detected: %f", robot_state_->getVersion()); + ROS_INFO("Firmware version detected: %1.7f", robot_state_->getVersion()); #else printf("Firmware version detected: %f\n", robot_state_->getVersion()); #endif