How to get IMU values using CAN from OpenIMU300RI out-of-the-box ?

4 Sept 2020, 12:15

Hello,
I am about to use the OpenIMU300RI with the NVIDIA Jetson XAVIER.

What is the shortest/simplest way to get the IMU (accelerometer and gyroscope) values form the device to the XAVIER using CAN bus ?

Is there any tutorial on it ?

Thanks and Regards,
Pedro 🙂

7 Sept 2020, 05:48

https://openimu.readthedocs.io/en/latest/software/CAN/CAN_J1939_DataPacketMessages.html#can-j1939-data-messages
pls check the data msg of 300RI. any questions pls let me know.

15 Sept 2020, 21:50

Those messages are sent from all of the apps? I'm using INS_J1939 1.0.4 but I'm not getting anything on CAN (not even a status light on my Kvaser).

15 Sept 2020, 21:54

Ah! Solved it. I needed to change the bitrate to 250000. Now we're cooking...

15 Sept 2020, 21:57

Is there a CAN version of main.py/server.py?

16 Sept 2020, 02:13

thanks a lot for your information.
About CAN communication, pls refer to one example on RaspBerry wiht CAN_HAT:
Basic CAN communication code example: https://github.com/Aceinna/python-mtlt
300RI CAN testing process: https://github.com/erkuo521/OPENIMU300RI_Firmware_Verification/tree/master/CAN_Interface
This is not like server.py, but it is good example for you to know how to communicate with unit by CAN.

Log in to reply