Skip to content

ros2-web-bridge v0.2.6

Compare
Choose a tag to compare
@minggangw minggangw released this 12 Apr 02:54
· 22 commits to develop since this release

Release Note

Changes

  • Since this release, ros2-web-bridge starts to support the latest ROS2 stable release by default, see details.

  • The parameter of a service type is not necessary any longer when sending a request, e.g.

  // Create a Service client with details of the service's name and service type.
  var addTwoInts = new ROSLIB.Service({
    ros : ros,
    name : '/add_two_ints',
    serviceType : 'example_interfaces/AddTwoInts'
  });

  // Send the request
  addTwoInts.callService({a: 1, b: 2}, function(result) {
    console.log('Result for service call on ' + addTwoInts.name + ': ' + result.sum);
  });