utiasASRL / pyboreas

Devkit for the Boreas autonomous driving dataset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

questions about the imu.csv

Kailthen opened this issue · comments

Thanks for your work, i have 3 questions about the imu.csv:
1 IMU data formart is [GPSTime,angvel_z,angvel_y,angvel_x,accelz,accely,accelx], are the units [rad s^-1] and [m s^-2] ?
2 It seems that gravitational acceleration has been substructed from [accelz] ,right ?
3 From pyboreas/tutorials/intro.ipynb, T_camera_applanix = np.matmul(T_camera_lidar, get_inverse_tf(T_applanix_camera)), is it right ?

I am trying to run ORBSLAM3 with boreas dataset, do you have any tutorials for VIO?

Hi Kailthen,

Apologies for the delayed response.

  1. Yes.
  2. Yes.
  3. No, that's not correct. Note that we define transformations as T_b_a where this represents the the pose from a to b, alternatively this matrix transforms data in frame a into frame b. In your provided code, np.matmul(T_camera_lidar, get_inverse_tf(T_applanix_camera)) is wrong because this multiplies: T_c_l * T_c_a, the inner indices (l, c) don't match so this isn't allowed. Have a look at section 7.3 from this book for a more detailed explanation.

If you want T_camera_applanix, you can get this from the calibration using the following:

import numpy.linalg as npla
bd = BoreasDataset(root, split=split, verbose=True)
seq = bd.sequences[0]
calib = seq.calib
T_camera_applanix = calib.T_camera_lidar @ npla.inv(calib.T_applanix_lidar)

We don't have any tutorials for doing VIO with the boreas dataset, unfortunately.

Hopefully that answers your questions. Let me know if there is anything else I can help with.