Skip to content

[Question] Differences in camera image in Isaac Lab and Isaac Sim for the same settings #2972

@hritik-roy-chowdhury

Description

@hritik-roy-chowdhury

I have a certain project where I am creating a camera in Isaac Lab. I have another project where I am creating the same camera in an Isaac Sim Replicator script. The camera settings are identical as shown in the code below:

Isaac Sim:

cam = rep.create.camera(focal_length=1.93, focus_distance=0.8, horizontal_aperture=3.896, clipping_range=(0.1, 1000000))
with cam:
  rep.modify.pose(
      position=(1, 0, 1.85)
  )

Isaac Lab:

camera = TiledCameraCfg(
    prim_path="{ENV_REGEX_NS}/camera",
    data_types=["rgb"],
    spawn=sim_utils.PinholeCameraCfg(
        focal_length=1.93, focus_distance=0.8, horizontal_aperture=3.896,
    ),
    width=1280,
    height=960,
    update_period=1/20,
    offset=CameraCfg.OffsetCfg(
        pos=(1.0, 0.0, 1.85), 
        rot=(-0.24184, 0.66446, 0.66446, -0.24184),
    ),
)

The orientations and positions of the cameras are the same. And, I have created scenes in both the Isaac Sim and Isaac Lab projects which are identical too (apart from the configuration of the robot and the number of objects on the tray of course). The comparison between these can be seen in the photos below.

My question: Why are these two cameras showing different views in terms of zoom, viewport etc? All camera properties seem to be the same, and the image dimensions too.

Note: The vertical apertures are not the same, but I saw and changing them makes no difference to the view.

Isaac Lab:
Image

Isaac Sim: (replicator script)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions