Modifying Your Camera

Start this tutorial by loading the pipeline configuration in the "Tutorial Materials" section of this tutorial.

Change Camera Height

The first change we are going to make is to move the camera closer to the floor. In this example, the camera.RoomCamera module has the height set to a range.

In this example, the camera is between 1.2M and 1.8M off the ground.

{
      "module": "camera.RoomCamera",
      "config": {

        "num": 1,
        "height": [1.2, 1.8],
        "default_cam_param": {
          "fov": 1.232202,
        },

        "proximity_checks": {
          "min": 1
        },

        "position_type": "corner",

      }

Let's move the range of heights closer to the floor. Set the height between 0.1M and 1.0M off the floor.

"height": [0.1, 1.0]

Next, we will increase the FOV of the camera. Set your FOV to 2.18. This will set your FOV to approximately 125 degrees. The units are in radians.

        "default_cam_param": {
          "fov": 2.18,
        }

Once these changes are complete save your configuration in YAML format.

Last updated