Pin 7 of IMU300ZI is SPI/UART Interface selector, could you please check you have selected UART by pin 7 already on your customer board?
Posts made by ysong
Yes, you need to provide an external power (4.9 V – 32 V) , please refer to Table 3 in page 7, thank you!
Hi @SeppW ,
I find 300RI can't do mag align via serial port in current version, but can do mag align via CAN, so I have 2 suggestions(ways) for you:
- Implement 'mag align via serial port' function for 300RI. You can find how 300ZI to implement 'mag align via serial port' by searching key word 'ProcessMagAlignCmds' in 300ZI VG_AHRS project source code, and follow the steps of the implementation in 300ZI VG_AHRS. This is a 'DIY' way that play with 300RI. Welcome your coming contribution!
- Run mag align via CAN, please refer to: https://openimu.readthedocs.io/en/latest/software/CAN/CAN_J1939_SetCommandMessages.html?highlight=align#can-j1939-set-request-messages
Hi @SeppW ,
We are in holiday this days, I will back to office this Sunday and find a 300RI to try by then. If this is urgent for you, you also can post a new topic of this question to see if other guys knows how to fix it.
Function "RunUserNavAlgorithm" is invoked at 200 Hz indeed, just output results data via CAN with 100Hz, so I think this should be okay for you.
I think the "mag alignment" is your requirement of "calibrate the sensor", you could have a look at:
BTW, magnetic sensor is sensitive, so for your car application, I think the iron part (such as engine, car frame) of your car maybe interference for magnetic sensor, so it it necessary to evaluate only use magnetic sensor to get heading is stable enough for your car application.
Glad to know you have got the linear acceleration!
Do you mean you need a 200 Hz output data rate via CAN? I just know how to modify source code to get 200Hz data output via serial port but not CAN, maybe you need to read and modify the open source code to find a way to achieve that, or post a new topic of this question, maybe other guys knows.
Please run OpenIMU python driver and run mag alignment here: https://developers.aceinna.com/devices/record-next
Hi @robert-jir ,
You can flash Aceinna apps of OpenIMU300RI via the app center . Brief steps are:
- run OpenIMU Python Drivers (reference: https://openimu.readthedocs.io/en/latest/driver-python.html#openimu-python-drivers)
- open App center (https://developers.aceinna.com/code/apps), choose your favorite app then click button 'UPGRADE', and wait for the process done. Please do NOT power off until the process is done.
You also can follow this (https://developers.aceinna.com/docs/install) to develop your own app based on Aceinna open sourced algorithm, then flash your app and run it on your 300RI.
Hi @SeppW ,
Linear acceleration is calculated in INS but not VG_AHRS framework, as linear acceleration is not necessary for VG/AHRS algorithm. If you need linear acceleration in your application, you can follow and implement below approach in your VG_AHRS framework: