I want to be able to set multiple values to the node omni.isaac.ros2_bridge.ROS2PublishTransformTree, in targetPrims field. It clearly supports it as shown in the image below:
However, I can’t seem to find a way to do it through python script, as it takes only one. How can this be done? This is my current code but the last one replaces the others:
keys = og.Controller.Keys (graph_handle, list_of_nodes, _, _) = og.Controller.edit( {"graph_path": "/action_graph", "evaluator_name": "execution"}, { keys.CREATE_NODES: [ ("tick", "omni.graph.action.OnPlaybackTick"), ("sim_time","omni.isaac.core_nodes.IsaacReadSimulationTime"), ("publish_transform", "omni.isaac.ros2_bridge.ROS2PublishTransformTree") ], keys.SET_VALUES: [ ("publish_transform.inputs:parentPrim", "/World"), ("publish_transform.inputs:targetPrims", "/World/Camera"), ("publish_transform.inputs:targetPrims", "/World/Laydown") ], keys.CONNECT: [ ("tick.outputs:tick", "publish_transform.inputs:execIn"), ("sim_time.outputs:simulationTime", "publish_transform.inputs:timeStamp") ], }, )