ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I don't know if it's somehow possible using only launch
files but it should be possible with bash scripts and ssh. Assuming we have local_bash.sh
, remote_bash.sh
scripts with local.launch
and remote.launch
launch files. To run local.launch
on local and at the same time remote.launch
on remote machine I would do something like this.
local_bash.sh:
roslaunch ros_package local.launch
ssh user@hostname 'bash -s' < remote_bash.sh
This will run remote_bash.sh
script on your local host.
remote_bash.sh would then look like this:
roslaunch ros_package remote.launch
2 | No.2 Revision |
I don't know if it's somehow possible using only launch
files but it should be possible with bash scripts and ssh. Assuming we have local_bash.sh
, remote_bash.sh
scripts with local.launch
and remote.launch
launch files. To run local.launch
on local and at the same time remote.launch
on remote machine I would do something like this.
this.
local_bash.sh:
roslaunch ros_package local.launch
ssh user@hostname 'bash -s' < remote_bash.sh
This will run remote_bash.sh
script on your local host.
remote_bash.sh would then look like this:
roslaunch ros_package remote.launch