Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use the low-pass filter feature #336

Open
ozeryeden opened this issue Jun 3, 2024 · 1 comment
Open

Can't use the low-pass filter feature #336

ozeryeden opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working New This issue is new, and should not be marked as stale

Comments

@ozeryeden
Copy link

hi,

We have configured the cutoff frequency of the low-pass filter in the SensorConnect software as follows:
low_pass_filter_sensorconnect

Below are the results of the acceleration data (published in '/imu/data' topic) with the cutoff frequency set to 500 Hz (default) and 1 Hz, using the most updated ros-driver (https://github.com/LORD-MicroStrain/microstrain_inertial).

500 Hz:
500hz_results

1 Hz:
1hz_results

As you can see, there appears to be no change in the data.
Important to note that in the MIP software, the low-pass filter does seem to have an affect on the output data.

Am I using this feature correctly? if not could you please provide more details on how to correctly use it?

Thank you,
Eden

@ozeryeden ozeryeden added the bug Something isn't working label Jun 3, 2024
@github-actions github-actions bot added the New This issue is new, and should not be marked as stale label Jun 3, 2024
@robbiefish
Copy link

Hi @ozeryeden,

Apologies for the delay. you appear to be using the feature correctly, the issue is in how the ROS driver publishes data.

It is noted in the wiki that the linear_acceleration and angular_velocity fields are populated by DeltaVelocity and DeltaTheta divided by time since they were last sampled.

As such, the low pass filter will have no effect on the data in that message, since it is only applied to the "Scaled" fields such as "ScaledAccel", "ScaledGyro", etc.

I am not sure exactly what your use-case is for using the low pass filter, but if you simply want to remove noise, you can reduce the imu_data_rate in the driver for now.

I will be adding the ability to use the scaled measurements and configure the low pass filter in the coming days though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working New This issue is new, and should not be marked as stale
Projects
None yet
Development

No branches or pull requests

2 participants