Failed run the example of Core Functions - “Hello World” of Replicator in Isaacsim5.0.0

Note: For any Isaac Lab topics, please submit your topic to its GitHub repo (GitHub - isaac-sim/IsaacLab: Unified framework for robot learning built on NVIDIA Isaac Sim) following the instructions provided on Isaac Lab’s Contributing Guidelines (Contribution Guidelines — Isaac Lab Documentation).

Please provide all relevant details below before submitting your post. This will help the community provide more accurate and timely assistance. After submitting, you can check the appropriate boxes. Remember, you can always edit your post later to include additional information if needed.

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify): 5.0.0

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: RTX5880ada
  • Driver Version: 550.144.03

Topic Description

Detailed Description

(Describe the issue in detail, including what you were trying to do, what you expected to happen, and what actually happened)
I ran the example code from Core Functions - “Hello World” of Replicator — Omniverse Extensions. But there are no valid outputs in the output dictionary and the saved image is nothing but black. And also in the scene of the windowed app, the created objects are separated from each other.

Steps to Reproduce

(Add more steps as needed)

Error Messages

(If applicable, copy and paste any error messages you received)

No Error Message, which is weird.

Screenshots or Videos

(If applicable, add screenshots or links to videos that demonstrate the issue)

Additional Information

What I’ve Tried

(Describe any troubleshooting steps you’ve already taken)

Related Issues

(If you’re aware of any related issues or forum posts, please link them here)

Additional Context

(Add any other context about the problem here)

@ZZJzhou could you try this snippet and see if it anything changes?

import omni.replicator.core as rep

with rep.new_layer():

    camera = rep.create.camera(position=(0, 0, 1000), rotation=(0,-90,0))

    render_product = rep.create.render_product(camera, (1024, 1024))

    torus = rep.create.torus(semantics=[('class', 'torus')] , position=(0, -200 , 100))

    sphere = rep.create.sphere(semantics=[('class', 'sphere')], position=(0, 100, 100))

    cube = rep.create.cube(semantics=[('class', 'cube')],  position=(100, -200 , 100) )

    with rep.trigger.on_frame(num_frames=10):
        with rep.create.group([torus, sphere, cube]):
            rep.modify.pose(
                position=rep.distribution.uniform((-100, -100, -100), (200, 200, 200)),
                scale=rep.distribution.uniform(30, 50))

    # Initialize and attach writer
    writer = rep.WriterRegistry.get("BasicWriter")

    writer.initialize( output_dir="_output", rgb=True, bounding_box_2d_tight=True)

    writer.attach([render_product])

    rep.orchestrator.preview()

if you are able to see the objects with this snippet, all i did was adding camera orientation so it’s pointing down towards the objects that are getting randomized and also made the objects bigger. or, you could consider lowering the camera height from 1000 unit and reduce objects’ scatter distances so they aren’t out of output frame.

the other possibility could be related to the viewport display - make sure you do not have Lights Off selected (you won’t be able to see anything in the rgb otherwise)

1 Like

Making the object bigger solved the problem, thanks

1 Like

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