The use case is to place fixed obstacles in RL environments where the positions of the obstacles vary in different episodes. I fixed the rigid body by adding a fixed joint. However, RigidPrimView.set_world_poses raises no error/warning but has no effect here.
I think it is because the fixed joint would pull the object back to where it was created. Is there any solution to this?
Here you could get the localpos0/1 attributes and change the positions, this is something that you can do in the runtime and it would move the cube to the desired position.
However if you dont really need a dynamic actor, I would suggest to create a static body and move it around. If its something you want to move around with say animation, then I would recommend to create a dynamic body and raise the kinematic enabled flag. Then just update the position of the body.
It seems that we cannot create RigidPrimView for bodies with only ColliderAPI. Creating the view is necessary for a large-scale RL setting since we can not use a for loop to set their positions.