Consider a rclnodejs tools package #756
Replies: 3 comments 9 replies
-
Some comments:
|
Beta Was this translation helpful? Give feedback.
-
Hi @minggangw and @wayneparrott, I have got @minggangw's email and let him have the full authority of organization to expand RWT ros2 projects. So feel free to move on as you discussed. Sorry for noticing the situation late. ;) And Hello @mvollrath! Sorry for staying in silence for a long time and thank you for keeping RWT active. I have been dragged away from the robotics projects due to the life of working in non-robotics company. 😢 I just wanted to let you know that @minggangw is now promoted as another owner to expand rclnodejs project. As you have been seeing the organization, he has been developing and maintaining the project more than 2 years already and it seems like he needs more access to the organization. Thanks you all and let me know if you need me. Recently, it became really hard to follow up the all issues. So, it would be great if you can reach me via e-mail. Best, |
Beta Was this translation helpful? Give feedback.
-
We have created the rclnodejs-cli project. Please direct future discussions there. |
Beta Was this translation helpful? Give feedback.
-
After working with rclnodejs for the past 12 months I believe the project should consider creating a companion tools project. Two candidate tools for this package are message-generation and a ros2 package creation/configuration similar to https://github.com/ros2jsguy/ros2pkg_configure_nodejs.
I mention message-generation as a separate tool, as I can see benefit of message-generation as a global cli tool, e.g.,
While rclnodejs includes a message generation script it is not simple to use for users that lack a deep knowledge of the rclnodejs architecture. With a tools package installed globally the user could quickly access the message-generation script when needed (e.g., user uses rcl.createMessageObject('myfoomsg') which has not yet been installed from a ros2 pkg). Presently issue #750 recommends improving message-generation documentation and proposes a node package-script. But for the package-script to be simple to use it is best installed as a global binary which is counter to how rclnodejs will typically be installed (i.e., installed as a package dependency).
The 2nd tool mentioned scaffolds a node package on top of a ROS2 package. I'm not advocating directly integrating such a tool but rather to consider a similar tool that will simplify the creation of proper ROS2 nodejs packages that can participate in the ROS2 ecosystem. The benefits would include the ability to include a ROS2 nodejs package in a general ROS2 workspace, traditional ROS2 package distribution and installation, and the ability to be executed from single and multi-node launch descriptions.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions