New answers tagged

0

The position values look like they're getting to the callback okay, but then you're not doing anything with them in the callback. I can't see where posi.x or posi.y are defined, but what if instead of: def pose_callback(msg): print(msg.x,msg.y,msg.theta) return you had: def pose_callback(msg): posi.x = msg.x posi.y = msg.y print(posi.x,...


Top 50 recent answers are included