How can I write a file to nucleus?

I want to create an occupancy map using the Isaac Sim API (Python) and write it as a PNG to Nucleus. Later, I want to read this file programmatically from Nucleus via Python. I have not found any support for writing a file from Python to Nucleus in the API.

Any directions/suggestions appreciated
Bruno

Hi Bruno,
You should be able to write through the Omni Client API
Example: omni.client.write_file(file_name,data_buffer), where file_name is generally in the form of “omniverse://localhost/Projects/test.png”

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