SfmLearner-Pytorch icon indicating copy to clipboard operation
SfmLearner-Pytorch copied to clipboard

Question about using oxts data

Open myalos opened this issue 3 years ago • 0 comments

Thanks for great work! ` if scale is None: scale = np.cos(lat * np.pi / 180.)

pose_matrix = pose_from_oxts_packet(metadata[:6], scale) if origin is None: origin = pose_matrix odo_pose = imu2cam @ np.linalg.inv(origin) @ pose_matrix @ np.linalg.inv(imu2cam) ` I am curious about this part of the code which is not shown in the original sfmlearner. Could you tell me how this works(about math detail),or what book or reference should i read. Concretely

  1. what is the effect of the scale
  2. why ty = lat * np.pi * er / 180. different from the original implementation in https://github.com/utiasSTARS/pykitti
  3. the math detail about the transformation from (lat lon alt) to translation
  4. pose_matrix convert ? coordinate system to ? coordinate system,the effect of np.linalg.inv(origin) @ pose_matrix

myalos avatar Mar 07 '22 14:03 myalos