IMU and sensors frequency

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IMU and sensors frequency

flavio_just
Hello guys!
I'm having a hard time understanding at which frequencies some components of the system are running.
For example, the euler complementary filter estimator is called every 1/512 s right?

What about the IMU?
And, more speficic, the frequency of the gyro, accel and mag individually? Where are the configuration of these frequencies?


Thank you so much for your help!

Best regards,
Flávio Justino
Reply | Threaded
Open this post in threaded view
|

Re: IMU and sensors frequency

flixr
Administrator
Hi Flavio,

The AHRS filters are normally not called at a fixed frequency, but on each new IMU measurement. Hence it depends on your IMU frequency.
For some AHRS filters you can also set AHRS_PROPAGATE_FREQUENCY to use a fixed dt value instead of the time between two gyro measurements.

The (usually not recommended) euler complementary filter is also called on each new gyro measurement (see gyro_cb() in ahrs_int_cmpl_euler_wrapper.c), but the implementation itself assumed this is 512Hz (as defined in F_UPDATE).

So to sum up: In most cases the AHRS freq depends on the frequency your IMU driver publishes new measurements via ABI

Cheers, Felix


On Fri, May 13, 2016 at 2:11 AM, flavio_just <[hidden email]> wrote:
Hello guys!
I'm having a hard time understanding at which frequencies some components of
the system are running.
For example, the euler complementary filter estimator is called every 1/512
s right?

What about the IMU?
And, more speficic, the frequency of the gyro, accel and mag individually?
Where are the configuration of these frequencies?


Thank you so much for your help!

Best regards,
Flávio Justino



--
View this message in context: http://lists.paparazziuav.org/IMU-and-sensors-frequency-tp17980.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel