ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

ROS2 Node.js client with Action support

Hi all,

rclnodejs, as the Node.js client library for ROS2, has released v0.14.0 which starts to support Action feature on the latest Eloquent patch release!

A simple example

rclnodejs
  .init()
  .then(() => {
    const node = rclnodejs.createNode('action_client_example_node');
    const client = new FibonacciActionClient(node);

    client.sendGoal();
    rclnodejs.spin(node);
  })
  .catch(err => {
    console.error(err);
  });

Please check more https://github.com/RobotWebTools/rclnodejs/tree/develop/example

Special thanks to Wayne Parrott and Matt Richard for their great work to achieve this!

5 Likes

Now we have the v0.14.1 release which can support Foxy Fitzroy! Enjoy!

2 Likes