Giter VIP home page Giter VIP logo

Comments (9)

goldbattle avatar goldbattle commented on May 30, 2024

It also doesn't seem to export the IMU file when you specify it.

rosrun kalibr kalibr_maplab_config --label testing --cam camchain-imucam-2017-11-15-11-05-41_0.yaml --out ncamera.yaml --imu imu-2017-11-15-11-05-41_0.yaml --imu-out imu.yaml 

IMU file is attached.
imu-2017-11-15-11-05-41_0.txt

from maplab.

fabianbl avatar fabianbl commented on May 30, 2024

@goldbattle Thanks for the report, I will have a look.

from maplab.

fabianbl avatar fabianbl commented on May 30, 2024

Will be fixed here: ethz-asl/kalibr#145.

Regarding the IMU file, you don't need to pass it to the converter. This is used for a different calibration format.

from maplab.

goldbattle avatar goldbattle commented on May 30, 2024

I ended up being able to just not specify the --to-ncamera so it generated a single file with both the IMU and camera information. Needed to get the properly generated ID md5 hash and label (which I didn't realize that the label was the topic that the sensor is on).

from maplab.

fabianbl avatar fabianbl commented on May 30, 2024

Actually you should provide separate calibration files for the IMU when using rovioli, see here: https://github.com/ethz-asl/maplab/wiki/Running-ROVIOLI-in-VIO-mode

from maplab.

goldbattle avatar goldbattle commented on May 30, 2024

Yep, but to generate the IMU file I used the command above and copied the resulted combo file into the two separate files that are needed. Just tested the pull request and that fixed the radtan issue for me.

I still get errors on processing the IMU file.
Seems that the IMU parser is unable to handle the current kalibr IMU format output (multi-imu).
I fixed by simply ensuring that the first IMU is always selected

def parse_from_kalibr_format(self, imu_dict):
        imu_dict = imu_dict['imu0'] #added this line since camchain is relative to imu0
        self.rostopic = imu_dict['rostopic']

Not the cleanest way to do things, but it worked for me.
tempconfig.txt

from maplab.

dymczykm avatar dymczykm commented on May 30, 2024

@goldbattle I just successfully used the command from wiki to calibrate a new sensor, I used:

rosrun kalibr kalibr_maplab_config --to-ncamera --label zr300 --cam camchain-imucam-2017-12-05-10-52-08.yaml

from maplab.

goldbattle avatar goldbattle commented on May 30, 2024

Yep, I was just noting that the kalibr IMU config (not the camera one) to maplab doesn't work as is, and requires copying the contents of the generated file (generated without the --to-ncamera) into the two separate files, along with the change I noted above.

from maplab.

SYSUHPK avatar SYSUHPK commented on May 30, 2024

@dymczykm
can this:rosrun kalibr kalibr_maplab_config --to-ncamera --label zr300 --cam camchain-imucam-2017-12-05-10-52-08.yaml generate three yaml files that we need?
imu-zr300-maplab.yaml imu-zr300-rovio.yaml ncamera.yaml

from maplab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.