Hi here, I am facing a problem about how to change the direction while using the occupancy map(to get the cross section figure), In the tutorial and API, the direction of occupancy is all set to the Z direction, which I cannot change. However, I prefer to have it work in the X direction, as shown below.
I go through all the examples given, but there is no code for occupancy maps via python, and I also notice there is a command call generate3d but still without example. Can you give me some example about how to rotate it by python?
Dear @rthaker , Thanks for your reply. I went through the web you shared before I asked the question, and I am still confused. The only related function is: set_transform(original point, high boundary, low boundary).
However, no matter how I set that, it still cannot change the direction. I want the slide to go in the X direction, but it still goes for Z direction as shown in figure above. How can I change it?
Our occupancy map generator is generating at a specific height. So I don’t think we provide the capability to generate map at any other directions (tutorial)
You may want to either set up you scene in a way that you can generate the occupancy map from z direction or write your own extension to achieve that. Please refer to Isaac Sim Extension Templates — Omniverse IsaacSim.