Replicator Writer: Specify different annotators for different prims

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):

Operating System

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

Topic Description

Detailed Description

I have a complex scene with semantic data assigned to a lot of prims. For example, I have

  • rail tracks tagged like “class”: “track”
  • buffer stops like “class”: “buffer_stop”

I need Replicator to output different types of annotations for each class, for example

  • 3D bounding boxes for tracks
  • 2D bounding boxes for buffer stops

If I configure the writer to have both annotators for 2D and 3D bounding boxes, I will get both for all classes.

How can I specify for each class which annotator to use to produce annotations?

Any help appreciated!

Best,
Bruno