Robotics StackExchange | Archived questions

send a Transform with roslibjs

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.

Asked by Patrick9702 on 2019-12-01 21:06:12 UTC

Comments

Answers