Skip to content

Releases: RobotWebTools/rclnodejs

rclnodejs Beta 1 release

15 Dec 07:50
Compare
Choose a tag to compare
Pre-release

Release Note

Features

All RCL features are present in rclnodejs except life cycle, intra-process communication, and node-specific parameters.

  • Publish/Subscribe
  • Clients and Services
  • Timers
  • ROS IDL code generation
  • Validation utilities
  • RMW QoS

New Features Since Last Release:

  • Use TypedArray to encapsulate the message of primitive array, which will improve the performance and reduce the memory usage dramatically, when receiving large amount of date, e.g. an array of uint8 with length of one million.

npmjs.com

This project is also released on npmjs.com

npm install rclnodejs

Others:

  • Fix copying of array message problem.

rclnodejs Alpha 2 release

01 Dec 03:55
Compare
Choose a tag to compare
Pre-release

Release Note

Features

All RCL features are present in rclnodejs except memory allocator (which should not be handled in JavaScript)

  • Publish/Subscribe
  • Clients and Services
  • Timers
  • ROS IDL code generation
  • Validation utilities
  • RMW QoS

New Features Since Last Release:

  • The generator can update the JavaScript code from .msg files on the basis of the version.
  • Implemented 5 methods in Node interfaces: destroyPublisher/destroySubscription/destroyClient/destroyService/destroyTimer.
  • Add a new approach to require a specific message type, e.g.
const String = rclnodejs.require('std_msgs/msg/String'); 

or

let String = rclnodejs.require({package: 'std_msgs', type: 'msg', message: 'String'});
  • Support to pass a plain JavaScript object to construct the ROS message, which make it so convenient either to write code or dubug, e.g.
    // Publish a JointState of sensor_msgs package.
    publisher.publish({
      header: {
        stamp: {
          sec: 123456,
          nanosec: 789,
        },
        frame_id: 'main frame',
      },
      name: ['Tom', 'Jerry'],
      position: [1, 2],
      velocity: [2, 3],
      effort: [4, 5, 6],
    });

npmjs.com

This project is also released on npmjs.com

npm install rclnodejs

Others:

  • Add more unit tests to enhance the robustness.
  • Leverage the coveralls.io to count up the coverage of unit test.
  • Target the Node.js version on LTS Carbon.

rclnodejs Alpha 1 Release

03 Nov 06:40
c19b976
Compare
Choose a tag to compare
Pre-release

Release Note

This alpha release includes the Node.js version of ROS 2.0 client, features, which have been implemented, are :

  • Publish/Subscribe over topics
  • Clients and Services
  • Timers
  • ROS IDL code generation
  • Validation utilities

Now we have the same functionality compared with rclpy, we call this release as alpha because we may change some interfaces when we get the feedback.

Examples

Locates at /path/to/rclnodejs/example

API Specs

Locates at /path/to/rclnodejs/docs

More information, please read the README