Error with Launching node remotely on a raspberrry pi

asked 2021-02-03 14:12:22 -0500

shirshak gravatar image

I have a package called conveyor_control that works perfectly on raspberry pi when I launch it locally. I wanted to launch it remotely from my master pc using this launch file

<launch> <machine name="Waffle_bot" address="Wbot-cc" env-loader="/opt/ros/kinetic/env.sh" user="pi"/>
 <node machine="Waffle_bot" name = "conveyor_control" pkg="conveyor_control" type="conv_sensor.py" output="screen"/> </launch>

I followed the instruction from : http://wiki.ros.org/roslaunch/XML/mac...

I launched the package and it gives me following error:

started roslaunch server http://192.168.0.100:40259/
**remote[192.168.0.111-0] starting roslaunch
remote[192.168.0.111-0]: creating ssh connection to 192.168.0.111:22, user[pi]
/home/adam/.local/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
launching remote roslaunch child with command: [env ROS_MASTER_URI=http://192.168.0.100:11311 /opt/ros/kinetic/env.sh roslaunch -c 192.168.0.111-0 -u http://192.168.0.100:40259/ --run_id 22ac1dca-663c-11eb-957e-180373c0bf19]
remote[192.168.0.111-0]: ssh connection created**


[192.168.0.111-0]: launching nodes...
[192.168.0.111-0]: ROS_MASTER_URI=http://192.168.0.100:11311
[192.168.0.111-0]: ERROR: cannot launch node of type [conveyor_control/conv_sensor.py]: conveyor_control
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/opt/ros/kinetic/share
[192.168.0.111-0]: ... done launching nodes

It says that its has done launching the node, but the node conveyor_control does not get launched. I doubt that it has something to do with my launch file. Details:

My master PC: NAME="Ubuntu" VERSION="16.04.7 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian /rosdistro: kinetic /rosversion: 1.12.16

Raspberryy pi B+ NAME="Raspbian GNU/Linux" VERSION_ID="9" /rosdistro: kinetic /rosversion: 1.12.14

Please help me figure out this error.

edit retag flag offensive close merge delete