Skip to content
Snippets Groups Projects
Commit c10f9a5b authored by Christoph Jähne's avatar Christoph Jähne
Browse files

added arm_id on error print when catchinh control exception

parent 5bc0683a
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ void FrankaCombinableHW::controlLoop() {
control();
} catch (const franka::ControlException& e) {
// Reflex could be caught and it needs to wait for automatic error recovery
ROS_ERROR("%s", e.what());
ROS_ERROR("%s: %s", arm_id_.c_str(), e.what());
has_error_ = true;
publishErrorState(has_error_);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment