IMU where Accel & Gyro have different sample rate

Hello,
I have an IMU where the Accelerometer has an update rate of 400Hz, and the Gyro of 380Hz.
I would like to use an orientation filter such as the ones by Madgwick or
Mahony, but they expect to get the data from the 2 sensors simultaneously.
What could I do to fix the problem, without introducing complex sample rate converters?
Would duplicate 1 gyro output in every 20 (MCD between 400 and 380) samples work well, or introduce errors that would even accumulate in time? Would add 1 gyro output as "null" 1 in every 20 samples work, or generate jitter?
With best regards, Mike
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.