Welcome to 10-axis IMU Navigation Module repository
RDK X3 tutorial
RDK X3 course
RDK X3 course1.Hardware connection2.Programming3. Install serial port driver library4. Experimental effect
Need prepared: Win10 computer, IMU module, Type-C data cable, X3 development kit.
1.Hardware connection
Connect the IMU module to the USB port of RDK X3 using a Type-C data cable.

2.Programming
About code,check code file.
If there is more than one USB device connected to the current computer, please check and confirm the USB device number of the IMU module and modify the port value.
The baud rate of USB has been set to 9600 in the program. Modify the baud value based on the baud rate of the IMU module.

3. Install serial port driver library
If the serial port driver library is not installed in Python 3, please run the following command to install it.
pip3 install pyserial4. Experimental effect
Import the imu-usb.py file into the system, open the terminal, enter the corresponding folder, and then run the following command.
xxxxxxxxxxsudo python3 imu_usb.pyEntering the password again (the password is the login password, default is: sunrise)
You can see that the terminal keeps printing the data of the IMU module, and when the posture of the IMU module is changed, the data will change accordingly.
