How to input my own IMU data into insfilterErrorState
3 views (last 30 days)
Show older comments
If I defined the RF of insfilterErrorState as 'ENU', how can I transform my own IMU data from real world?
I noticed that, if RF is 'NED', it is needed to format the IMU data as 'x-front, y-right, z-down', and accerlerometer z data should be also inversed because the different g definition in MATLAB.
If RF is 'ENU', how should I processing my IMU input? Thanks a lot. Because I adjust the input, the DR result of insfilterErrorState seems really bad. I think there might be some proplem in my data input.
0 Comments
Answers (1)
Brian Fanous
on 22 Nov 2022
This example may help in understanding how to do this:
You may need to swap and/or invert axes, but, essentially, you want to map your recorded IMU data to the same convention as imuSensor outputs in the imuSensor('ReferneceFrame', 'ENU') setup.
2 Comments
Brian Fanous
on 28 Nov 2022
The combinations of what flips and inversions you'll need will be specific to your IMU. It may be that the accelerometer and gyroscope need different handling.
See Also
Categories
Find more on Automated Driving Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!