Closed newcanopies closed 3 years ago
Because rclnodejs needs the support of Node.js, if you want to integrate it into the browser, you have to support Node.js, e.g. Electron or NW.js, or you can use ros2-web-bridge to run a ROS2 app in a common browser, e.g chrome
Sorry for missing your previous comments, I will comment on them together
does that mean ros2-web-bridge would still need to be wrapped in Electron/NW.js?
Actually, you have to depend on roslibjs (as front-end running in the browser) + ros2-web-bridge (as back-end) and you will not need Electron any more, just Chrome/Edge will work well. Please check out some examples https://github.com/RobotWebTools/ros2-web-bridge/blob/develop/examples/html
can rclnodejs be wrapped in a react-app ?
If you are using roslibjs, of course, you can wrap it.
.