There is a bug the new Camera class in omni.isaac.sensor

in the function get_vertical_aperture() the vertical_aperture is calculated:

aperture = (self.prim.GetAttribute(“horizontalAperture”).Get() / 10.0) * (float(width) / height)

this is wrong. the fix is:
aperture = (self.prim.GetAttribute(“horizontalAperture”).Get() / 10.0) * (float(height) / width)

Another bug:

in function set_matching_fisheye_polynomial_properties:

instead of:
camera_matrix = np.array([[fx, 0.0, cx], [0.0, fy, cy], [0.0, 0.0, 0.0]])

Thanks for reporting and providing the fix, will be in our release next month

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.