ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

pioneer3-at I dont wnt to use ssh to remotely control robot

asked 2014-03-27 06:50:22 -0600

Fei_Liu gravatar image

updated 2016-10-24 09:01:22 -0600

ngrennan gravatar image

"pioneer3-at I dont wnt to use ssh to remotely control robot"

Hi everyone, I have a problem like this:

Every time I want to operate my Pioneer 3at robot, I need to use "ssh" command to access the on board computer on a remote laptop. And then I can run "RosAria" to connect the robot (rosrun rosaria RosAria _port:=/dev/ttyS0). If I want to control the robot to move, I already know how to control it remotely by running another program that publishes "vel_cmd" [by setting ROS_MASTER_URI].

so, the question is: I don't want to control the robot by the method above, it is not convenient to access onboard computer or set ROS_MASTER_URI etc. I want to remotely run rosrun rosaria RosAria _port:=/dev/ttyS0 and control the robot. but it doesn't work, since the hardware is connected to onboard computer by serial port directly. Actually, I plan to control multiple robots (e.g.,5), If I use "ssh"..., I will at least open 5 terminals, that will cost much time and is not convenient.

Thus, is anyone know how to solve this problem? just open one terminal, and run RosAria on remote laptop and can connect to and control the robots...

Or do you think this cannot be realized?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-27 07:18:56 -0600

ahendrix gravatar image

There are a few ways you can solve this:

  • Use a roslaunch file to do remote launches on all of your robots. With this method, you would have a roslaunch file that you run locally, which will automatically ssh to all robots and run the rosaria driver. Take a look at the roslaunch machine tag and the machine argument to the node tag. You'll need to set up ssh keys for passwordless login to all of your robots.
  • Set up the rosaria node and a ROS master to run at startup on each robot. This works well for a singe robot, but won't work well if you want all robots to connect to the same ROS master.
edit flag offensive delete link more

Comments

thanks for your suggestion. I will try that and post the result later.

Fei_Liu gravatar image Fei_Liu  ( 2014-03-27 07:37:04 -0600 )edit

RosAria works like a charm, I'm using it on my telepresence robot. At least with a Pioneer 3-DX it does. Don't know about the AT, though.

Hendrik Wiese gravatar image Hendrik Wiese  ( 2014-03-27 09:47:32 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-27 06:50:22 -0600

Seen: 446 times

Last updated: Mar 27 '14