This PR proposes a minor change to the default port settings specified in xspublic/xscontroller/iointerface.h. I have changed the default setting specified in this file to PO_OneStopBit instead of PO_TwoStopBits.
As mentioned in this tutorial for Raspberry Pi, most UART port uses 8N1 (1 stop bit), and Xsens has only some old devices that use 2 stop bits so it makes sense for the default behaviour to be 1 stop bit instead of 2 stop bits.
Without this change interfacing the MTi device via UART inevitably fails and results in "No Mti device found. Verify port and baudrate" error.
I have tested this change successfully with the IMU connected via both UART and USB interface to a board carrying a Jetson Orin NX using an MTi-1 device.
This PR proposes a minor change to the default port settings specified in
xspublic/xscontroller/iointerface.h
. I have changed the default setting specified in this file toPO_OneStopBit
instead ofPO_TwoStopBits
.As mentioned in this tutorial for Raspberry Pi, most UART port uses 8N1 (1 stop bit), and Xsens has only some old devices that use 2 stop bits so it makes sense for the default behaviour to be 1 stop bit instead of 2 stop bits.
Without this change interfacing the MTi device via UART inevitably fails and results in "No Mti device found. Verify port and baudrate" error.
I have tested this change successfully with the IMU connected via both UART and USB interface to a board carrying a Jetson Orin NX using an MTi-1 device.