Camera Calibration

Discussion in 'Modeling' started by Xinyi Ren, Nov 6, 2018.

  1. Hi,

    I wonder if there is any way that I can pass in camera intrinsic matrix into the mujoco camera?

    I have a logitech C920 camera. I also have the intrinsic matrix, distortion params, rectification matrix and extrinsic matrix generated using ROS camera calibration. Is there any way that I can manipulate/pass these camera calibration data into the mujoco camera? My goal is creating a mujoco camera instance that takes photo looking exactly the same as the one took by real logitech C920 camera.

    Right now, I am looking at record.cpp and simulate.cpp, but none of them seem to support passing in an mjvGLCamera instance, which is what I think I need. Could you help me with that? Thank you in advance.