Skip to content

Releases: RobotWebTools/rclnodejs

rclnodejs v0.21.2

16 Jun 16:28
Compare
Choose a tag to compare

This is the first version of rclnodejs starts to support ROS 2 Humble Hawksbill

Bug Fix

We fixed several known issues in this release, special thanks to @wayneparrott @ejalaa12 @imcelroy for their great contributions!

  • bool and bool_array should not be converted to strings in parameter msg #850
  • Client only saves one callback at a time #858
  • Accomodate TS 4.7's new union order in dtslint tests #847
  • Fix issues when using parameters of type array #855

CI improvement

We dropped the previous CI used for Linux/Windows/macOS platforms and migrated to Actions with Humble support, thanks for @wayneparrott 's effort to make it happen!

  • humble port #853
  • Replace appveyor with Github action/workflow for Windows builds #854
  • Remove cases that depends on test/rclnodejs_test_msgs under \test #856

rclnodejs v0.21.1

02 Apr 09:37
Compare
Choose a tag to compare

Bug Fix

  • fix: action server ExecuteCallback and GoalCallback definitions #831
  • fix: ActionServer CancelCallback type definition #831
  • Support Node#spinning properly #837
  • Free memory allocated for typed arrays #842

rclnodejs v0.21.0

06 Jan 07:30
Compare
Choose a tag to compare

This release starts to support Node.js version >= 12, special thanks to @wayneparrott for his hard work to make this happen finally!

rclnodejs v0.20.1

02 Nov 05:56
Compare
Choose a tag to compare

Bug Fix

Fixes action ClientGoalHandler getResult() and status update bug, #813

Others

Fix typo in README.md #808

rclnodejs v0.20.0

21 Jul 04:57
Compare
Choose a tag to compare

Feature

  • LifecycleNode constructor missing enableCommunicationInterface parameter added in ROS2 Galactic #799
  • add new example: ros-graph-example #803

Bug Fix

  • Fixes gcc 'unused variable warning' on lifecycle_bindings.cpp #806

Others

  • Hide npm warnings during installation; set loglevel='error' #807
  • Efficiency tips doc #804
  • Improved jsdoc for Node ros graph methods, eg. getServiceNamesAndTypes() #802
  • add .gitattributes to project #801
  • Wrong format of npmjs-readme.md #797

rclnodejs v0.19.0

24 May 09:24
Compare
Choose a tag to compare

Bug Fix

  • rcl lifecycle api changes in post-foxy rolling distro #781
  • Errors reported by eslint #788

rclnodejs v0.18.2

27 Apr 08:54
Compare
Choose a tag to compare

Bug Fix

  • Add rolling info when checking the ROS distro 64ff43d
  • Additional generate-messages improvements #776
  • Fixes GCC 8.X compiler warnings. #780

Others

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

rclnodejs v0.18.1

10 Feb 03:23
Compare
Choose a tag to compare

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

rclnodejs v0.18.0

08 Jan 07:01
Compare
Choose a tag to compare

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

rclnodejs v0.17.0

27 Nov 03:29
Compare
Choose a tag to compare

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