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

Revision history [back]

click to hide/show revision 1
initial version

ERROR: cannot launch node of type [ros_arduino_python/arduino_node.py]: can't locate node [arduino_node.py] in package [ros_arduino_python]

I'm by no means an RPI wizard, but have you made sure you've got the ros_arduino_python package installed on your RPI? If so, check that it has the arduino_node.py Python script in there somewhere. That is basically what the error is telling you: it cannot find the requested executable (in this case a Python script) in the package specified (in this case ros_arduino_python).

ERROR: cannot launch node of type [ros_arduino_python/arduino_node.py]: can't locate node [arduino_node.py] in package [ros_arduino_python]

I'm by no means an RPI wizard, but have you made sure you've got the ros_arduino_python package installed on your RPI? If so, check that it has the arduino_node.py Python script in there somewhere. That is basically what the error is telling you: it cannot find the requested executable (in this case a Python script) in the package specified (in this case ros_arduino_python).

Finally, make sure you've sourced the appropriate setup.bash. If you have the ros_arduino_bridge packages in ~/catkin_ws, then you should, after catkin_make-ing, source ~/catkin_ws/devel/setup.bash. If you fail to do this, ROS won't be able to find the packages in your catkin workspace.

If you installed ros_arduino_bridge using Debians, then sourcing the normal setup.bash in /opt/ros/DISTRO/ should work for you.