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

[rosrun] Couldn't find executable named serial_node.py below /opt/ros/noetic/share/rosserial_python

asked 2023-01-27 19:25:00 -0600

I try to connect Arduino to ros master noetic. I already install the following packages

sudo apt install ros-noetic-rosserial*

sudo pip install pyserial

after that I run the command

rosrun rosserial_python serial_node.py /dev/ttyACM0 and get the the following error
[rosrun] Couldn't find executable named serial_node.py below /opt/ros/noetic/share/rosserial_python

edit retag flag offensive close merge delete

Comments

What Operating System are you running, and what cpu type (x86 or arm)?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-01-28 06:46:07 -0600 )edit

Ubuntu 20. and my CPU type is x86_64

Mubashir alam gravatar image Mubashir alam  ( 2023-01-29 06:02:33 -0600 )edit

Please show us the output of this Terminal command: python --version

Does this file exist on your system? /opt/ros/noetic/lib/rosserial_python/serial_node.py

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-01-29 07:59:23 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-23 13:38:22 -0600

Davies Ogunsina gravatar image

Check if the rosserial package is installed . rospack list | grep rosserial_python

If not install the package: Install with this command:

sudo apt install ros-noetic-rosserial-arduino

Then run the node again .

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2023-01-27 19:25:00 -0600

Seen: 259 times

Last updated: Feb 23 '23