Skip to content
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

Electron support/tutorial #168

Open
ramilmsh opened this issue Nov 11, 2020 · 1 comment
Open

Electron support/tutorial #168

ramilmsh opened this issue Nov 11, 2020 · 1 comment

Comments

@ramilmsh
Copy link

I am trying to integrate rosnodejs into my electron app, however, I've run into a few problems:

  1. I tried importing it into the renderer directly, it failed due to process.env on renderer being void of environment variables. I have made changes accordingly, but the massages ended up empty, due to some serialization error, at which point I gave up

  2. I tried to load the library on the main process side, however, when I try to publish, I get Error: Cannot find module '/opt/ros/kinetic/share/gennodejs/ros/std_msgs/_index.js' (ros is installed, and sourced, and the file most definitely exists).

I was wondering, if it is possible/practical to try and use rosnodejs with electron, and, if so, are there any additional configuration steps?

@chris-smith
Copy link
Collaborator

Unfortunately I don't have any recommendations if these errors are specific to use with electron. I've used the two together but it's been a few years and I don't have any of the code from then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants