Error with Launching node remotely on a raspberrry pi

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

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/" user="pi"/>
 <node machine="Waffle_bot" name = "conveyor_control" pkg="conveyor_control" type="" output="screen"/> </launch>

I followed the instruction from :

I launched the package and it gives me following error:

started roslaunch server
**remote[] starting roslaunch
remote[]: creating ssh connection to, user[pi]
/home/adam/.local/lib/python2.7/site-packages/paramiko/ 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= /opt/ros/kinetic/ roslaunch -c -u --run_id 22ac1dca-663c-11eb-957e-180373c0bf19]
remote[]: ssh connection created**

[]: launching nodes...
[]: ERROR: cannot launch node of type [conveyor_control/]: conveyor_control
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/opt/ros/kinetic/share
[]: ... 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