[Solved] Error opening serial

Hello there,

i walked through this tutorial.
After flashing the ROS code on my CORE2 i get this Error when i want to run the rosserial_python script:

“[ERROR] [1596637530.319359]: Error opening serial: [Errno 2] could not open port /dev/serial0: [Errno 2] No such file or directory: ‘/dev/serial0’”

i have an CORE2 with an Raspberrypi.

I also tried to change the ports but it didn´t work.

What can i do to see the topics and nodes which are running on the CORE2?

kind regarts

Hi hobbyCORE2,

We had a bug in one version of our Raspberrypi image. Please download and flash on your SD card our newest image. After that everything should works fine.

Please let me know in case of any other questions.

Best regards,
Hubert

Hello Hubert,

i updated the firmeware and now i get this error:

[INFO] [1596707757.747921]: ROS Serial Python Node
[INFO] [1596707757.771740]: Connecting to /dev/serial0 at 115200 baud
[INFO] [1596707759.886226]: Requesting topics…
[ERROR] [1596707774.896938]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

But i got everything on the same distro

I fixed this problem…

my serial port was however disabled. i enabled it and now it´s working.

Thanks for your time :slight_smile:

1 Like