ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
So after a while me and my friend figured this out. It wasn't thread related problem at all. I had in my class tf::Vector3
object which I initialized only after callbackCarrotPose
was called. And because tf::Vector3
has an empty constructor and it's member variable is some array, it never had any values before callbackCarrotPose
was called, therefore those strange values occurred.