How to input my own IMU data into insfilterErrorState

3 次查看(过去 30 天)
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.

回答(1 个)

Brian Fanous
Brian Fanous 2022-11-22
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 个评论
zipeng li
zipeng li 2022-11-23
Thanks a lot for your reply. I wonder how can I do data alignment for position estimation for insfilter.
I would like to ask, is the coordiante direction the same between accelerometer and gyroscope defined in MATLAB? My imu data is x-right, y-front, z-up. I need to swap data of x y axis in accelerometer and gyroscope. However , I found I need to inverse the measurements of accelerometer (except z direction), but I don't need to inverse the measurements of gyroscope.I am wondering why.
Brian Fanous
Brian Fanous 2022-11-28
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Automated Driving Toolbox 的更多信息

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by