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

dvad924's profile - activity

2020-09-24 11:58:01 -0500 received badge  Famous Question (source)
2017-08-08 20:59:09 -0500 received badge  Popular Question (source)
2017-08-08 20:59:09 -0500 received badge  Notable Question (source)
2017-01-18 20:53:08 -0500 asked a question 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 ROS_MASTER_URI, 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.