How to execute ROS commands on remote host via application?

asked 2018-06-29 17:42:01 -0500

BuxBleed gravatar image

Hello everyone,

I am newbie in ROS environment and I have problem, I have a master node on my Raspberry Pi which is connected to the same local network. I communicate with RPI using SSH client like PuTTY or just in terminal in order to run ROS commands on it.

But I want to do the same thing using my own written application, I mean by clicking one button on GUI I want to establish ssh connection, login to system, set camera param, switch between different cameras, run cv_camera node on remote host and subscriber node on my local computer to display camera frames.

How to implement it? (I use Python and PyQt ) I thought about calling the shell script after clicking the button that would do all these tasks automatically. But maybe there is a simpler way to do it...

edit retag flag offensive close merge delete

Comments

Just to clarify, when you say 'run ROS commands' do you mean launch and kill nodes?

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-06-30 18:07:16 -0500 )edit