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

krl101's profile - activity

2021-01-24 04:26:36 -0500 received badge  Famous Question (source)
2021-01-24 04:26:36 -0500 received badge  Notable Question (source)
2021-01-24 04:26:36 -0500 received badge  Popular Question (source)
2020-09-10 08:40:05 -0500 received badge  Famous Question (source)
2019-12-04 01:36:46 -0500 marked best answer launchfile remote machines: Temporary failures

Hi community!

Setup:

  • Ubuntu 16 with ROS-kinetic, LAN, static ip
  • Raspberry Pi 2 with ROS-kinetic, LAN, static ip

Each one is with the beginner_tutorials ready to rock... It works if i start roscore and talker/listener node on the corresponding machine. As minimum lanuchfile, i tried to start the beginners_tutorial/talker on my Pi from PC with:

<launch>
      <machine name="TCG" address="TCG" user="user" env-loader="/home/pi/catkin_ws/devel/env.sh"/>
      <node machine="TCG" pkg="beginner_tutorials" name="talker" type="talker"/>
</launch>

Result:

......
remote[TCG4-1008-0]: ssh connection created
SUMMARY
========
PARAMETERS
* /rosdistro: kinetic
* /rosversion: 1.12.14

MACHINES
* TCG

NODES
/talkerTCG4 (beginner_tutorials/talker)

auto-starting new master
process[master]: started with pid [13173]
ROS_MASTER_URI=http://10.42.0.1:11311
setting /run_id to 89e119632c594e
process[rosout-1]: started with pid [13186]
started core service [/rosout]
error launching on [TCG-0, uri http://TCG:42313/]: Temporary failure in name resolution
Launch of the following nodes most likely failed: beginner_tutorials/talker
^C[TCG] killing on exit
remote[TCG-0]: unable to contact [TCG] to shutdown remote processes!
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

I followed Network Setup, and every thing works, pinging, ssh, ROS_MASTER_URI, ROS_IP, and so on.

Question From Temporary failure in name resolution there is a problem with the names, have i mixed-up some name (etc/hosts, hostname, launch-file parameter)

I am grateful for every advice!

2019-12-04 01:36:46 -0500 received badge  Scholar (source)
2019-11-18 21:07:41 -0500 received badge  Famous Question (source)
2019-09-25 02:29:10 -0500 commented answer How to display the ROS message in the terminal?

@Delb yes, you are completely right. I just corrected it. OP tried this command without success

2019-09-25 02:21:18 -0500 commented question How to display the ROS message in the terminal?

Hi, can you please narrow down your question a little? Instead of: ros run repo_name_hw2 it should be (without blank

2019-09-25 01:29:53 -0500 commented question How to display the ROS message in the terminal?

Hi, can you please narrow down your question a little? Instead of: ros run repo_name_hw2 it should be (without blank

2019-09-25 01:28:56 -0500 commented question How to display the ROS message in the terminal?

Hi, can you please narrow down your question a little? ros run repo_name_hw2 should be (without blank between ros and

2019-09-23 04:21:47 -0500 received badge  Famous Question (source)
2019-09-23 04:21:41 -0500 received badge  Notable Question (source)
2019-09-23 04:21:41 -0500 received badge  Popular Question (source)
2019-08-14 01:22:30 -0500 edited answer How can I run rosserial without errors?

First welcome to ROS and this forum! If you are using the arduino micro, please add to your Arduino code: #define USE_

2019-08-14 01:21:57 -0500 answered a question How can I run rosserial without errors?

First welcome to ROS and this forum! If you are using the arduino micro, please add to your Arduino code add: #define

2019-08-14 01:21:57 -0500 received badge  Rapid Responder (source)
2019-08-13 07:40:11 -0500 answered a question Trying to have publisher and subscriber in same node.

So you are basically locking for a publisher & subscriber in one single node for your PC. Actually is is a mixture o

2019-08-13 07:40:11 -0500 received badge  Rapid Responder (source)
2019-08-13 04:18:01 -0500 commented answer ROS Multiple machines /Slave setup joy control,

in your ~/.bashrc you can add: source /opt/ros/<ros-version>/setup.bash source /<catkin_ws>/devel/setup.bas

2019-08-13 04:18:01 -0500 received badge  Commentator
2019-08-12 05:45:24 -0500 commented question ROS Multiple machines /Slave setup joy control,

Communication is bidirectional, with source/sink aka. Publisher/Subscriber in depth. Apart from ROS_MASTER_URI (the same

2019-08-12 04:16:19 -0500 commented question ROS Multiple machines /Slave setup joy control,

Are you sure to have set ROS_MASTER_URI and ROS_IP on both machines?

2019-07-16 04:16:25 -0500 received badge  Notable Question (source)
2019-07-16 04:16:25 -0500 received badge  Popular Question (source)
2019-06-23 13:05:31 -0500 received badge  Famous Question (source)
2019-06-19 03:34:24 -0500 received badge  Notable Question (source)
2019-05-08 02:48:18 -0500 received badge  Popular Question (source)
2019-02-15 04:04:03 -0500 edited question launchfile remote machines: Temporary failures

launchfile remote machines: Temporary failures Hi community! Setup: Ubuntu 16 with ROS-kinetic, LAN, static ip Raspbe

2019-02-14 10:48:08 -0500 asked a question launchfile remote machines: Temporary failures

launchfile remote machines: Temporary failures Hi community! Setup: Ubuntu 16 with ROS-kinetic, LAN, static ip Raspbe

2019-01-28 11:00:35 -0500 asked a question rosserial embedded - tf to Publish an Odometry transform cause Segmentation fault

rosserial embedded - tf to Publish an Odometry transform cause Segmentation fault Hi Community, i'm trying to include o

2018-12-14 04:21:49 -0500 asked a question rosserial embedded tcp custom port fail

rosserial embedded tcp custom port fail Hi there! i just played around with rosserial and an tcp connection to my tiny

2018-12-14 04:03:55 -0500 answered a question changing the port on rosserial_embeddedlinux node results in segmentation fault?

I think your port number is to big, as far as i know port is an 16 bit number and will stop at 65535.

2018-12-14 01:40:26 -0500 commented answer ROS on an Intel Aero/Yocto

Well, this means you have to build them from source. Maybe your Yocto can build them for you. If you say Yocto, i guess

2018-12-10 08:52:57 -0500 answered a question ROS on an Intel Aero/Yocto

If you stick to build ros from source on your devboard, you use the command line option --os=debian:stretch to tell rosd

2018-12-07 01:38:48 -0500 commented answer Couldn't find executable named gscam below /home/my_pc/ros/gscam

I am not very firm with ROS_PACKAGE_PATH, but should it be: export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/my_pc/ros

2018-12-06 08:37:16 -0500 answered a question Couldn't find executable named gscam below /home/my_pc/ros/gscam

Hi there! assuming your workspace have been build successfully, inclusive the add_executable(...) / target_link_librari

2018-12-04 02:44:36 -0500 received badge  Enthusiast
2018-11-28 09:40:22 -0500 answered a question Unable to run rqt_console

only as a suspicion because you said pyqt: link text unter Section 1.1: Also if you're on Ubuntu and like to know th

2018-11-27 09:56:30 -0500 commented question how to publish mav_msgs/Actuators from terminal

I have also seen this behavior before too. left/right arrow key for navigate through did it for me. Normally values are

2018-11-27 09:42:44 -0500 asked a question Reestablish rosserial-connection

Reestablish rosserial-connection Hi Community, following setup: PC with roscore and rosserial_embedded serial_node tcp

2018-08-08 01:58:52 -0500 marked best answer roslaunch can not launch node on remote machine

Hi community!!

Following setup: one Ubuntu 16.04 PC with ros-kinetic and one Raspberry Pi with Ubuntu Mate and ros-kinetic.

On each machine there is a lauch-file for some nodes, they are configured to work together. As long as i launch them manually everything is fine :)

Problem: Now i merged the two separate launch-file and added the "machine"-tag.... For simplification and debuging, i tried it with the talker and listener from ros-tuorial. My approach looks like this:

<launch>
    <machine name="alice" address="alice.emma.lab" env-loader="/opt/ros/kinetic/env.sh" />
    <machine name="rosPi" address="rosPi.emma.lab"  env-loader="/opt/ros/kinetic/env.sh" />
    <node machine="alice" pkg="dummy" name="talker-alice" type="talker"/>
    <node machine="rosPi" pkg="delault_pkg" name="listener-pi" output="screen" type="listener" /> 
 </launch>

But all i get is:

....
remote[rosPi.emma.lab-0]: ssh connection created
....
MACHINES
* alice
* rosPi
....
process[talker-alice-6]: started with pid [4155]
[rosPi.emma.lab-0]: launching nodes...
[rosPi.emma.lab-0]: ROS_MASTER_URI=http://10.42.0.1:11311/
[rosPi.emma.lab-0]: ERROR: cannot launch node of type [delault_pkg/listener-pi]: delault_pkg
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/opt/ros/kinetic/share
[rosPi.emma.lab-0]: ... done launching nodes

So i checked: http://wiki.ros.org/ROS/NetworkSetup. Result: ssh-login with keys, ping, netcat and name resolution works, ROS_HOSTNAME & ROS_MASTER_URI are correct. On both PCs the firewall is down.

But still no chance with the given launch-file :/ Have i missed anything?? Any config, tag or somesing? I am grateful for any hint!

EDIT and Solution:

With the exact path to env-loader for the remote package:

<machine name="rosPi" address="ros-rasp-mate.emma.lab"  env-loader="/home/labh/plattform-ros/devel/env.sh" />

It works :)

2018-07-18 12:31:30 -0500 received badge  Famous Question (source)
2018-03-27 10:37:43 -0500 received badge  Notable Question (source)
2018-03-27 08:34:42 -0500 edited question roslaunch can not launch node on remote machine

roslaunch can not launch node on remote machine Hi community!! Following setup: one Ubuntu 16.04 PC with ros-kinetic an

2018-03-27 08:34:42 -0500 received badge  Editor (source)
2018-03-27 08:34:12 -0500 commented answer roslaunch can not launch node on remote machine

Checked!!! Thank you very much!!