lookupTransform("map", "odom", ros::Time(0), ros::Duration(1)); } Persistence Service connections are persistent for performance reasons. You can use the wait_for_server method with a timeout in case the connection was lost, it reestablishes a persistent connection if possible. Installation...