Using Rosserial with odyssey X86J4105

Hi, I have bought an odyssey X86J4105.
I just want to use the following package:

https://github.com/ros-drivers/rosserial using the current board.

I have try to use it, the arduino code compiles and loads to arduino.

But, when using rosserial_python in order to link the arduino with ROS, creating the socket between ubuntu and its arduino, it stucks:

[INFO] [1601023770.823577]: Requesting topics…
[ERROR] [1601023776.848834]: Write timeout: Write timeout
[ERROR] [1601023785.829126]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

Do you know what could be the problem? It’s true that the communication via usb in the arduino uno and the arduino zero it’s different, but I do not know what exactly needs to be changed.

Best Regards

Does this need to burn code in Arduino Zero? @Marsi

Hello Baozhu,
The microcontroller is a SAMD21G18. The arduino ide detects it as seeeduino zero.

Regards,

Marsi

Hi Marsi,

Got same problem here, fixed using this at the top of Arduino Code, before #include’s

#define Serial SerialUSB
#define USE_USBCON 1