Open VineetTambe opened 4 weeks ago
It is currently not possible with the VisualizationMarker class [link], which is based on the UsdGeom.PointInstancer class. The change-log, which you mentioned basically means that you can add distinct visualization markers (e.g.sphere) at specific articulations of the robot (e.g. endeffector). You can load specific usd files as markers, but not articulate the USD through the API.
Thank you for posting this. Let us know if you still need a workaround. I will tag this for the team to review as a possible improvement in upcoming releases.
Question
Hey,
I am trying to setup a visualization in isaac-sim in order to visualize the target joint pose configuration being applied to the robot. I see in the documentation that I can create a VisualizationMarker from a robot usd file. But after going through the source code I see that I can only set the position and orientation of the root link via the API's available. How do I go about setting the joint_positions or other attributes for the VisualizationMarker the way I can do for an Articulation object?
I see the following message in the change-log provided in the docs:
I followed the following Nvidia doc for implementing Visualization Markers [link]
Here is the code snippet for instantiating the VisualizationMarker:
And here is I call it in the simulation loop:
VisualizationMarker class only provides the .visualize() method which only takes in a Mx3 position matrix and Mx4 quaternion orientation matrix as inputs.