ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Where to store calibration data?

asked 2017-05-28 21:28:03 -0500

Cerin gravatar image

I have a list of integers, returned from my IMU, that represent calibration settings. I need to load these into the IMU on every power-up. Since the settings are unique to my IMU, I don't want to commit them to version control. Is there some standard ROS location for storing small data files, such as calibration values, where I can store these values?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-29 02:37:44 -0500

gvdhoorn gravatar image

I typically do store these things in a VCS, but then in a special package that only contains that (those) file(s).

If you then include the serial nr (or something similar) in the name of the file, it's clear that those parameters are for that particular device.

The only thing you have to do now is add something to your launch file (fi) that loads the file and initialises your IMU with the parameters.

As an example: in my lab we have a package specifically for Kinect (v2) calibrations, called iai_kinect2_$labname_calibration_data, which contains the calibration for several of our Kinects. The launch files that tie our setups together then load the appropriate one.

edit flag offensive delete link more


How do you handle 2d cameras with a lense that require a new calibration after e.g. a refocus?

PickBot gravatar image PickBot  ( 2017-05-29 02:50:05 -0500 )edit

We've only very few of those, and if the device supports profiles with such settings we store those with the calibration data. If not, then we don't have a procedure, as manual focus adjustments will never be exact enough.

I've seen people fork the calibration pkgs then and manage their own data.

gvdhoorn gravatar image gvdhoorn  ( 2017-05-29 02:56:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-05-28 21:28:03 -0500

Seen: 284 times

Last updated: May 29 '17