mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 18:10:47 +02:00
Fix type warning in log output
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
|||||||
|
|
||||||
if (!packet->parseWith(sbp))
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ public:
|
|||||||
|
|
||||||
if (!sbp.empty())
|
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();
|
sbp.debug();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -95,4 +95,4 @@ public:
|
|||||||
|
|
||||||
typedef URStateParser<RobotModeData_V1_X, MasterBoardData_V1_X> URStateParser_V1_X;
|
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_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;
|
||||||
|
|||||||
Reference in New Issue
Block a user