From b1734183bf1e8118ae0bacf2fbbd4b5f68db449b Mon Sep 17 00:00:00 2001 From: BennyRe Date: Mon, 14 Sep 2015 16:01:44 +0200 Subject: [PATCH] Use right TF server in temporary TF client With [PR 197 from roslib.js](https://github.com/RobotWebTools/roslibjs/pull/197) the TFClient got the serverName member to allow custom tf2_web_republisher topics or namespaces. This edit adapts the InteractiveMarkerControl to this feature. --- src/interactivemarkers/InteractiveMarkerControl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interactivemarkers/InteractiveMarkerControl.js b/src/interactivemarkers/InteractiveMarkerControl.js index 44824656..2605d3b6 100644 --- a/src/interactivemarkers/InteractiveMarkerControl.js +++ b/src/interactivemarkers/InteractiveMarkerControl.js @@ -174,6 +174,7 @@ ROS3D.InteractiveMarkerControl = function(options) { var localTfClient = new ROSLIB.TFClient({ ros : handle.tfClient.ros, fixedFrame : handle.message.header.frame_id, + serverName : handle.tfClient.serverName }); // create visuals (markers)