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