tesseract-robotics / tesseract_python

This contains python wrappers for both Tesseract and Tesseract Planning packages
https://tesseract-robotics.github.io/tesseract_python/
28 stars 13 forks source link

Updating to support Node JS #61

Open Levi-Armstrong opened 12 months ago

Levi-Armstrong commented 12 months ago

@johnwason I am not familiar with SWIG, but noticed that it supports converting to Node JS. I am interested to hear your thoughts on what it might take to updated this to support Node JS?

johnwason commented 12 months ago

I haven’t worked with the JS swig generator but it should be possible. I think a better approach would be to use Robot Raconteur which has a JS client library. JS users are typically not going to need low level interface. There is very little analysis work done in JS robotics it is typically front-end work.

Levi-Armstrong commented 12 months ago

The architecture is that you have a separate process running which communicates using Robot Raconteur to the JavaScript UI?

johnwason commented 12 months ago

Typically yes, but it is sometimes possible to run the RR service in the same process. With nodejs there are often multiple processes even with relatively simple programs. For instance electron which is the common ui library runs things in multiple separate processes.