Rclnodejs Versions Save

Node.js version of ROS 2.0 client

0.18.2

3 years ago

Bug Fix

Others

  • Adds new README section to rclnodejs-cli. #786

0.18.1

3 years ago

Bug Fix

  • Run rclnodejs with Node.js (>= 10 and <=12) on appveyor #773
  • Improve UX of msg generation process #759 Developers can run npm run generate-messages manually to generate all the JavaScript messages.
  • Use null-terminated string in the tests when sending a raw topic #771

Others

  • Complete the contributors list #770
  • Reduce README length by dividing into smaller documents #769

0.18.0

3 years ago

Feature

  • Propose making Node extendable (i.e, create Node subclasses) #753 e.g.
class MyNode extends Node {
  constructor(
    nodeName,
    namespace = '',
    context = Context.defaultContext(),
    options = NodeOptions.defaultOptions
  ) {
    super(nodeName, namespace, context, options);
    this.init();
  }

Bug Fix

  • Find ros packages from ament index #747
  • benchmark code does not build on foxy #739
  • High CPU load if there are no registered handles #752

Others

  • [AppVeyor] Update to Visual Studio 2019 #755
  • Adding configuration for prettier #738
  • Mitigate docker hub rate limiting #766
  • remove test.js #748
  • Improve RclHandle ptr free() strategy #728
  • Remove the redundant test-rate.js #762

0.17.0

3 years ago

Feature

  • ROS2 Lifecycle Node (managed node) #722
  async init() {
    await rclnodejs.init();

    this._count = COUNTD_DOWN;
    this._node = rclnodejs.createLifecycleNode(NODE_NAME);
    this._node.registerOnConfigure((prevState)=>this.onConfigure(prevState));
    this._node.registerOnActivate((prevState)=>this.onActivate(prevState));
    this._node.registerOnDeactivate((prevState)=>this.onDeactivate(prevState));
    this._node.registerOnShutdown((prevState)=>this.onShutdown(prevState));
    this._StateInterface = rclnodejs.createMessage('lifecycle_msgs/msg/State').constructor;

    rclnodejs.spin(this._node);
  }

Bug Fix

  • Problem with space in path #711
  • Shuts down all contexts on sigint; remove g_sigint_gc #720
  • Fix action support to interface_loader.loadInterfaceByPath() #730
  • Fix some compilation warnings generated by: node-gyp rebuild (#734)
  • Removed unused vars #741

Others

  • Improve the docs & shutdown behavior when the node process is terminated #721
  • Cleanup Message Generation #726
  • Clean up some tests #725
  • Simplify rclnodejs/index.js #737

0.16.0

3 years ago

Feature

  • Improve typing support for services #708
  • Support to publish/subscribe serialized messages #646
  • Update typings to support pub-sub of serialized messages #706

Bug Fix

  • Segfault during generate_messages script #699

Others

  • Add TypeScript syntax highlighting to README #701
  • Upgrade the macOS to 10.15.5 on CircleCI #702

0.15.3

3 years ago

Bug Fix

  • Error in TimeSource subscription to /clock topic #696
  • Upgrade ref-napi to 3.0.0

0.15.2

3 years ago

Note: v0.15.2 is a hotfix version and verified by 04b14939c124252b459e2d8642e53ba09b768cc0. (2020-8-7)

Bug Fix

  • Add missing type declarations for action server/client destroy methods #690
  • Improve tsd generation resilency. #691
  • fix: electron (#685)
  • Correct the description of sendGoal function #692

0.15.1

3 years ago

Note: v0.15.1 is a hotfix version, which fixed an urgent memory leak problem in rclnodejs and is verified by 17b9c6699fe68b372454e2e5f79e2e4aa5e91fbf. (2020-7-30)

Bug Fix

  • memory leaks in RclHandle and ref-napi #674

0.15.0

3 years ago

Note: v0.15.0 has been tested against ROS 2 Foxy Fitzroy Patch Release 1 by 3071feac8fab76191ba619cd0f6d29cd2beb80d1 (2020-7-21)

Feature

  • multiple context support #668 #669

Bug Fix

  • Use Read-write locks to protect the data shared between threads #662
  • Gen 'number[] | typed-array' union in tsd files #658 #665
  • fix compatibility for eloquent #666
  • Align with the basic types which can be typed-arrays #670
  • Fix compiling error when using Node.js v10.12.0 #678
  • Fix double-free when using typed array #679
  • fix use-after-free in subscription callbacks #680

0.14.1

3 years ago

Note: v0.14.1 has been tested against ROS 2 Foxy Fitzroy by 142b97042d26a3d582964744052188ba5e07f2ce (2020-6-10)

Bug Fix

  • Rename rosidl_generator_c to rosidl_runtime_c #650
  • Call rcl_logging_configure/rcl_logging_fini when init/shutdown #652