diff --git a/src/node.cpp b/src/node.cpp index e7670beebe4aedef786474d7ce66a54f698a6134..c7f4da49a57d855c124d696d73ab6004defc26d2 100644 --- a/src/node.cpp +++ b/src/node.cpp @@ -122,7 +122,7 @@ bool WolfRosNode::updateTf() tf::Transform T_map2base; if (current_state.count("P") == 0 or current_state.count("O") == 0 or - loc_ts.ok()) + !loc_ts.ok()) { if (state_available_) {