mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
Fixed printing of version string
This commit is contained in:
@@ -98,7 +98,7 @@ void UrCommunication::start() {
|
|||||||
//wait for some traffic so the UR socket doesn't die in version 3.1.
|
//wait for some traffic so the UR socket doesn't die in version 3.1.
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||||
#ifdef ROS_BUILD
|
#ifdef ROS_BUILD
|
||||||
ROS_INFO("Firmware version detected: %f", robot_state_->getVersion());
|
ROS_INFO("Firmware version detected: %1.7f", robot_state_->getVersion());
|
||||||
#else
|
#else
|
||||||
printf("Firmware version detected: %f\n", robot_state_->getVersion());
|
printf("Firmware version detected: %f\n", robot_state_->getVersion());
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user