Skip to content
Snippets Groups Projects
Commit 880c1c16 authored by Fabian Reister's avatar Fabian Reister
Browse files

armem_robot_state: more meaningful warning message

parent 8167340d
No related branches found
No related tags found
No related merge requests found
......@@ -149,14 +149,14 @@ namespace armarx::armem::robot_state
const auto jointMap = queryJointState(description, timestamp);
if (not jointMap)
{
ARMARX_WARNING << "Failed to query joint state";
ARMARX_WARNING << "Failed to query joint state for robot " << description.name;
return std::nullopt;
}
const auto globalPose = queryGlobalPose(description, timestamp);
if (not globalPose)
{
ARMARX_WARNING << "Failed to query global pose";
ARMARX_WARNING << "Failed to query global pose for robot " << description.name;
return std::nullopt;
}
......
......@@ -42,7 +42,7 @@ namespace armarx::armem::robot_state
const auto robotState = queryState(robotDescription, timestamp);
if (not robotState)
{
ARMARX_WARNING << "Querying robot state failed!";
ARMARX_WARNING << "Querying robot state failed for robot `" << robot.getName() << " / " << robot.getType() << "`!";
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment