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

Running a node on one computer with a link to another computer running the ROS master

asked 2015-08-02 18:58:45 -0500

Ben12345 gravatar image

Hi all,

I'm curious if anyone has attempted to run a ROS node on one computer, and have it pass messages through some form of link to another computer that runs the master. Pretty much what the ROS arduino packages do, but with a computer in place of the raspberry pi.

I've only dabbled in ROS so forgive me if this is a question with an obvious answer.

Having just got a neat little SPI screen for my raspberry pi 2, i'm keen to play with some ROS stuff with it, but as i'm sure you're all aware, getting ROS to run Raspbian is an absolute nightmare. I can't use the screen with Arm Ubuntu since as though it requires a custom kernel.

Food for thought.

edit retag flag offensive close merge delete

Comments

I have used laptops and there process seemed easier.

Vinh K gravatar image Vinh K  ( 2015-08-02 20:30:58 -0500 )edit

Helpful. Yes, i invested in several x64 based single board computers to run full linux to avoid installing ROS on the Pi work wise, this is a curiosity.

Ben12345 gravatar image Ben12345  ( 2015-08-02 20:50:48 -0500 )edit

well Ben, hopefully someone will be able to help you this since I am using Asus laptop on my turtlebots. Good luck :)

Vinh K gravatar image Vinh K  ( 2015-08-02 21:19:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-08-03 01:38:33 -0500

gvdhoorn gravatar image

updated 2015-08-03 01:39:42 -0500

If by some form of link you mean ethernet and TCP/IP, then yes (any other transport could also work, but would require (much) more work). This would simply be a matter of setting the ROS_MASTER_URI and ROS_HOSTNAME / ROS_IP variables correctly. See ROS/Tutorials/MultipleMachines for more info.

Also, be sure to have a working network before attempting to do anything more than simple tests (diagnosing network issues can become quite complex if you're running a full application). See ROS/NetworkSetup and make sure all tests pass and return valid results.

An alternative to a single master would be to run a multi-master setup. This is much more involved though, and if all your CPUs are on the same physical network, not wireless and connected by reliable links, a single master setup probably makes more sense. In any case, see wiki/sig/Multimaster, multimaster_fkie (just one example) and rocon (robotics in concert) for a start.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-08-02 18:58:45 -0500

Seen: 3,026 times

Last updated: Aug 03 '15