1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00

Fixed printing of version string

This commit is contained in:
Thomas Timm Andersen
2015-09-17 10:00:26 +02:00
parent 848a1b5a8a
commit 22d51874e5

View File

@@ -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