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

Merge pull request #1 from TAMS-Group/fork_master

Fix runtime issues
This commit is contained in:
Simon Rasmussen
2017-07-24 18:49:45 +02:00
committed by GitHub
5 changed files with 27 additions and 14 deletions

View File

@@ -75,7 +75,7 @@ public:
if (!packet->parseWith(sbp))
{
LOG_ERROR("Sub-package parsing of type %d failed!", type);
LOG_ERROR("Sub-package parsing of type %d failed!", static_cast<int>(type));
return false;
}
@@ -83,7 +83,7 @@ public:
if (!sbp.empty())
{
LOG_ERROR("Sub-package of type %d was not parsed completely!", type);
LOG_ERROR("Sub-package of type %d was not parsed completely!", static_cast<int>(type));
sbp.debug();
return false;
}
@@ -95,4 +95,4 @@ public:
typedef URStateParser<RobotModeData_V1_X, MasterBoardData_V1_X> URStateParser_V1_X;
typedef URStateParser<RobotModeData_V3_0__1, MasterBoardData_V3_0__1> URStateParser_V3_0__1;
typedef URStateParser<RobotModeData_V3_2, MasterBoardData_V3_2> URStateParser_V3_2;
typedef URStateParser<RobotModeData_V3_2, MasterBoardData_V3_2> URStateParser_V3_2;