ori-drs / allan_variance_ros

ROS compatible tool to generate Allan Deviation plots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How long should this take to run?

seajayshore opened this issue · comments

Not complaining - trying to plan - but approx. how long should the allan_variance computation process take for say ~3hr long data?

I have a rosbag ~3hrs (11214s) long being processed.
The message Computed X averages for period Y is progressing through 1-unit of "period" every ~3.5s real-time.
If I take "period" to mean the seconds in the rosbag it looks like my computer will take >10hrs to process... Is just how it is or am I missing something?

Obviously this is dependant on my hardware. I'm on a Ryzen 3600X based machine 16GB if that helps.

Solved!
I bothered to read the code (shame on me being lazy).

The program iterates 10,000 times (going from "period" = 0.0 -> 1000.0). So when you look at this message in the terminial don't think it refers to the time / duration in your bag file.

On my system, with my ~3hr bag, it took 3924s (just over 1hr) to complete. 👍

It'd still be great to know if that's similar to other people. :-)

If you build with Release it's much faster.

I processed a 8h bag in 215seconds on a 3950X.