Intent: I want to make the viewer follow a mobile actor to debug its behaviour from its perspective.
Problem: The line
gym.get_viewer_camera_handle(viewer) results in a crash with the message:
Segmentation fault (core dumped).
- Is this a bug or am I doing something wrong somewhere?
- If the call had succeeded, I would have tried to move the viewer with
gym.set_camera_transform(camera, env, transform), but it seems that
gym.get_actor_joint_transforms(env, actor)is the only call outputting transforms with reference to an actor. Is there a more straightforward way to get the base transform (pose) of an actor?
- Is there a simpler or better way of doing all of this that I have missed?
Thank you for your time and responses.