Robotics StackExchange | Archived questions

Roslaunch remote processes working no topics

Hello,

I am having an issue with roslaunch that I can't seem to understand.

When I use roslaunch to start up my nodes on the remote machine the

processes are starting because I can see the effects of them running.

(Remote process spins servo and the servos indeed spin.)

The topics they are supposed to publish, however, are not seen.

On the remote machine if I manually set ROSMASTERURI, and ROS_IP to connect to the root machine there is no problem.

My env-loader for the machine is :

#!/usr/bin/env bash

export ROS_IP=192.168.1.2

source /home/usr/code/devel/setup.bash
exec "$@"

I really don't see anything or understand what I am doing wrong with the roslauch file

<launch>
  <node name="yolo2"  pkg="darknet"   type="darknet" />
  <node name="recog"  pkg="test"      type="mytest.py" />
  <node name="server" pkg="web_video_server" type="web_video_server" />
  <machine name="vivi" address="192.168.1.2" env-loader="/home/bmage/setup.bash" user="bmage" />
    <node machine="vivi" name="ez_robo_imgs" pkg="ez-robots" type="imagehandler.py" />

  <node machine="vivi" name="ez_robo_cmdr" pkg="ez-robots" type="commander.py" />
  <!-- <remap from="camera/image_raw" to="cv_camera/image_raw" /> -->
  <include file="$(find rosbridge_server)/launch/rosbridge_websocket.launch" /> 
</launch>

Thanks for any help, being able to skip manually staring the remote nodes

would be really great.

Asked by dvad924 on 2017-01-18 20:51:44 UTC

Comments

Answers