No Serial connection

Hello there,

i want to connect ROS with Core2, so that i can publish and subscribe to topics.
I want to use the hFramework. I also downloaded the new image.

But at this tutorial i cant get the connection to the port. I also have no ros-client at this path “/opt/husarion/tools/rpi-linux/ros-core2-client”.
I downloaded it manually from "husarion-tools" at the CORE2 quick start.

When i try to run the client with /dev/ttyS0 i get the error:

[ERROR] [1597395482.216263]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

when i try it with /dev/serial0 i get endlessly:

[INFO] [1597395881.285538]: Connecting to /dev/serial0 at 57600 baud

I tried a lot of things to fix it but did not get the connection work.

Is there anyone who can help me with this ?

Thanks!

1 Like

Hi hobbyCORE2,

If you want to use hFramework you cannot use the newest image because this framework is no longer supported, so as you seen doesn’t include required pkgs. Please check one of deprecated image.

You should also use tutorials from github from this branch. It’s copy of tutorials before we changed default firmware for Mbed.

Nevertheless, I recommend you to create your firmware using Mbed because in case of any problem with hFramewor we won’t be able to help you.

Best regards,
Hubert