-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ros2webbridge crashing after a period of time #173
Comments
The crash that happens on nodejs 14.x is a known issue, and it was caused by the dependency of rclnodejs, ref-napi. We haven't fixed it yet.
The crash that happens on nodejs 12.19.0 was caused by nodejs, please see here and it's fixed by the higher version of nodejs. So, the solution is to use the latest Erbium nodejs, v12.20.1 |
Hi @minggangw Thanks for the quick reply. That seems to be working perfectly now. I would suggest this information should be put in the README.md as currently there is no indication of which version of node.js is required:
|
Thanks for your suggestion, we have put the requirement of nodejs into rclnodejs README and will add it for the ros2-web-bridge, thanks! |
OS: Windows 10
Ros: Ros2 Eloquent
Node.js: 14.15.4
I've been trying to get this working as part of RosSharp but I am running into an issue where the web bridge is crashing after a period of time:
or sometimes:
I created a simple publisher in python using rclpy which publishes a string "/topic" at 100hz.
I edited the example subscription.html to subscribe to this topic. It connects shows the messages then after a few seconds the server crashes with one of the above errors.
While testing with RosSharp, I tested an older version of Node.js 12.19.0, it seemed to last a lot longer but still eventually crashed (with no error message).
The text was updated successfully, but these errors were encountered: