pjreed / ssh_machine

Example launch.Machine implementation for launching processes on remote machines via SSH in ROS2
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Does ssh_machine support ComposableNodeContainer and ComposableNode? #1

Open nainaigetuide opened 1 year ago

nainaigetuide commented 1 year ago

Thank you so much for your work. When I use ssh_machine to remotely start ComposableNodeContainer and ComposableNode, it seems that ssh_machine does not work. Does it support ComposableNodeContainer and ComposableNode?

pjreed commented 1 year ago

I haven't tried using it with them, so I can't say for sure.

With that said, I think it might work with the ComposableNodeContainer. That class extends Node, which extends the ExecuteProcess class I modified in my fork of the launch repository, so I would expect the ComposableNodeContainer class to also have a machine argument that you could use to specify a remote host it will run on. Keep in mind that since each ComposableNode is a library that is loaded into a single ComposableNodeContainer, it would not be possible to split them across separate hosts; all of them need to run on the same host as the ComposableNodeContainer.

But like I said, I haven't tried it, so let me know if you give it a try and have any success.