M5Stack core2 communicate with ROS

  • Hi,

    I am trying to use M4Stack core2 to communicate with the ROS,
    to be detailed, core2 sends and receives data through serial port with ROS.

    but it seems to fail to 'shake hand' with ROS, errors are like

    ~/catkin_ws$ rosrun rosserial_python serial_node.py /dev/ttyACM0
    [INFO] [1652882151.845943]: ROS Serial Python Node
    [INFO] [1652882151.860072]: Connecting to /dev/ttyACM0 at 57600 baud
    [INFO] [1652882153.969811]: Requesting topics...
    [ERROR] [1652882168.974206]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
    [INFO] [1652882168.978350]: Requesting topics...

    anyone has clues on this, eny examples or demos on this?

    thank you in advance.

  • @lishengkkk Hi there, please check if the baud rate of both sides match (you can also try to change the baud rate, such as the common 115200). If it's a UART via separate wiring. Please make sure TX RX is connected correctly.