send a Transform with roslibjs

asked 2019-12-01 20:06:12 -0600

updated 2019-12-01 20:50:32 -0600

jayess gravatar image

Hello everyone. I'm a using the universal robots series on a web simulator my team and I are building actually.

Here is how the code looks like:

// Setup a client to listen to TFs.

var tfClient = new ROSLIB.TFClient({ 
        ros: ros,
        fixedFrame : 'world',
        angularThres: 0.01,
        transThres: 0.01,
        rate: 10.0
    });

 // Subscribing to the transform going from the world to the base_link

tfClient.subscribe('base_link', function(tf) {
        console.log(tf);
      });

Question : How can I send a new transform going from the world to the base_link? I made researches on Internet and even on the official roslibjs.TFClient's homepage but didn't find anithing talking about it.

edit retag flag offensive close merge delete