Can't get transform from other machine on network

asked 2017-06-30 12:26:03 -0600

sterlingm gravatar image


I have some code that calls lookupTransform, and my node crashes on that line. The TF I am getting is being published on a different machine that the one calling lookupTransform. When I run the node calling lookupTransform on the same machine that publishes the TF, then everything works fine. But when I run the node calling lookupTransform on a different machine, it crashes on lookupTransform with a segmentation fault. What is more weird is that waitForTransform returns true on both machines.

Is this a known issue with lookupTransform? Does anyone else have this problem? Any help is appreciated.

edit retag flag offensive close merge delete


Something to check (but it definitely shouldn't lead to a SEGFAULT): make sure the clocks on all involved hosts are sufficiently synchronised. TF is very much tied to time, so any skew or desync will lead to trouble.

gvdhoorn gravatar imagegvdhoorn ( 2017-06-30 13:36:38 -0600 )edit