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

results interpret #25

Open
zoldaten opened this issue Oct 3, 2022 · 7 comments
Open

results interpret #25

zoldaten opened this issue Oct 3, 2022 · 7 comments

Comments

@zoldaten
Copy link

zoldaten commented Oct 3, 2022

hi!
i got calibration papers:
acceleration
gyro

this is cheap mpu-650 (GY-521).
how to understand is it good or not ?
what "stars", "circles", "triangles" mean ?

@raabuchanan
Copy link
Collaborator

Hi @zoldaten
I think something is going wrong in generating the Allan Deviation plot. There should not be such large spike after 100s sampling time. Can you confirm all the parameters in the config file are correct? Also, did you re-organize the bag using
rosrun allan_variance_ros cookbag.py --input original_rosbag --output cooked_rosbag ?

@raabuchanan
Copy link
Collaborator

The circles indicate the T=1s intercept for white noise
The triangles are the lowest point which is the bias instability
The starts are the T=3s intercept for random walk

@zoldaten
Copy link
Author

hi @raabuchanan
1.here is my config:

imu_topic: "/imu/data"
imu_rate: 200
measure_rate: 200 # Rate to which imu data is subsampled
sequence_time: 10800 # 3 hours in seconds
  1. i did re-organize using cooked_rosbag.

i will try with another mpu.

@silviazpi
Copy link

Hey!
First of everything thank you very much for your work.
Secondly, Im trying to understand the results and I dont get how the conversion from rad/s to rad/s/sqrt(hz) is done to get white noise of gyro and accel.
Thirdly, are 3h of data REALLY necessary? And also, do they have to be in a really quiet environment?
Also I wonder if this could be run in ros2 appart from the rosbag format.
Thanks!

@raabuchanan
Copy link
Collaborator

Hi @silviazpi
The units come from how Allan Deviation is computed. You can read about it in this paper or directly from the IEEE standard

@raabuchanan
Copy link
Collaborator

raabuchanan commented Nov 8, 2022

And yes, 3 hours is the minimum for good accuracy. If you look at the x axis of the example plot, we need up to 10^3 seconds sampling time. So 3 hours gives about 10 samples.
edit:
And I'm not sure about ROS2. I developed this specifically for ROS1 and rosbags. I might work on a ROS2 version in the future.

@silviazpi
Copy link

@raabuchanan thank you very much for your quick response. The paper was really useful! Secondly, I found out that the /imu data can be published and recorded with ROS2 as long as you convert it afterwards using this library (really easy to use) https://gitlab.com/ternaris/rosbags. I thought that you might be interested in adding it to your README. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants