Comments (10)
Please increase the timeOffsetPadding (https://github.com/ethz-asl/kalibr/blob/master/aslam_offline_calibration/kalibr/python/kalibr_calibrate_imu_camera#L171) and see whether this fixes your issue. In general, this parameter is the margin within the temporal offset is allowed to vary.
from kalibr.
PS: It is possible to use the --timeoffset-padding
argument when running kalibr_calibrate_imu_camera
.
from kalibr.
Please increase the timeOffsetPadding (https://github.com/ethz-asl/kalibr/blob/master/aslam_offline_calibration/kalibr/python/kalibr_calibrate_imu_camera#L171) and see whether this fixes your issue. In general, this parameter is the margin within the temporal offset is allowed to vary.
thanks, solved it with changing to 100ms
from kalibr.
Yes, it fixes. Is there any rule of setting this parameter, or just increase it when the same issue occurs.
from kalibr.
It is a trade-off between computation time and robustness: If you set the margins conservatively large, it will result in increased computation time, if you set it too low, the estimate might travel across knot boundaries in an unpredicted manner, violating the precomputed sparsity pattern. Please see the implementation section in Paul's paper for details on that (https://3234f89137bccf2ede29cc86e315c75116020d70.googledrive.com/host/0B64GJ60h3Ai1MVVwWTZwekhtcFU/publications/bib/furgale_iros13.pdf).
The "trajectory" of your estimate of the temporal offset during optimization will depend on the shape of the cost surface which in turn is related to the very motion you performed. Hence, it is difficult to provide a rule of thumb here.
from kalibr.
Got it, thank you Joern
from kalibr.
@francescoli Out of curiosity (actually facing this problem myself) what value did you increase the temporal offset to?
from kalibr.
While this parameter might need some adaptation, repeated problems setting the margins correctly often hint to issues in the data, for example due to spurious measurements, incorrect scaling or incorrect timestamping.
Please consider running the calibration with the --verbose
option (https://github.com/ethz-asl/kalibr/blob/master/aslam_offline_calibration/kalibr/python/kalibr_calibrate_imu_camera#L92), which will plot the cross correlation used for finding an initial estimate (https://github.com/ethz-asl/kalibr/blob/master/aslam_offline_calibration/kalibr/python/kalibr_imu_camera_calibration/IccSensors.py#L217-L229). If the plot does not exhibit a distinct peak, please specifically check your gyroscope data, since this is being used here.
from kalibr.
Hello,rehderj , I also met this problem, I want to know the value timeOffsetPadding should be what value?
maybe 100?1000? or whatever?
from kalibr.
@gethubwy I've been using a value of 0.1 (100 ms), as per this issue. Note, however, that this is simply a buffer margin for the timestamps. Oftentimes, it might be helpful to review your dataset and ensure that there are no problems there instead of changing this value.
from kalibr.
Related Issues (20)
- Sample rosbag dataset is not working HOT 2
- Some issue about reprojection error and imu error HOT 2
- Error: No module named wx
- An error about running a camera calibration HOT 3
- The Calibration Targets in the Wiki are all missing. HOT 3
- My calibrated translation vector is not quite right caused by incorrect scaling of accelerometer measurements HOT 2
- Influence of IMU sampling interval on the IMU-camera calibration HOT 1
- Calibration tag pdf and config url are not working HOT 2
- Dynamic calibration completed way faster than expected HOT 1
- CHOLMOD warning: matrix not positive definite. file: ../Supernodal/t_cholmod_super_numeric.c line: 911
- camera extrinsic and re projection matrix HOT 2
- Reprojecction Error Range Clarification HOT 2
- Wrong tangential distortion in visualizer
- Visual-inertial calibration on a ground robot HOT 1
- Cannot download the muti-cam ros bag file in https://github.com/ethz-asl/kalibr/wiki/downloads HOT 2
- Why can't I install ros? HOT 1
- bad IMU timestamps HOT 1
- StereoCameras Vins Fusion HOT 1
- How to only build a specific package?
- IsValid() for pinhole camera seems wrong HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kalibr.