create_camera
Add a camera sensor to an Isaac Sim scene by specifying its path, position, rotation, resolution, or a target point to aim at.
Instructions
Add a camera sensor to the scene.
Prefer target= over rotation= for aiming: cameras look down their local -Z and carry a built-in orientation, so hand-computed euler angles are easy to get wrong and give you a picture of the sky. The response echoes the rotation that was applied under "rotation" and the point under "aimed_at".
Args: prim_path: Prim path for the camera. position: [x, y, z] world position. rotation: [rx, ry, rz] rotation in degrees. Ignored if target is given. resolution: [width, height] image resolution. Default 1280x720. target: [x, y, z] world point to look at, using +Z as up. Needs a position — either passed here or already on the prim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| position | No | ||
| rotation | No | ||
| prim_path | No | /World/Camera | |
| resolution | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |