fake

A fake camera is a camera model for testing. The camera always returns the same image, which is an image of a gradient. This camera also returns a point cloud.

Configuration

{
  "name": "<your-camera-name>",
  "model": "fake",
  "api": "rdk:component:camera",
  "attributes": {
    "width": <int>,
    "height": <int>
  }
}

Attributes

NameTypeRequired?Description
widthintOptionalThe width of the image in pixels. The maximum width is 10000.
Default: 1280
heightintOptionalThe height of the image in pixels. The maximum height is 10000.
Default: 720
animatedboolOptionalIf you want the camera stream visible on the CONTROL tab to be animated.
Default: False
rtp_passthroughboolOptionalIf true, GetImages will ignore width, height, and animated config params. Default: False.
modelboolOptionalIf true, provides IntrinsicParams and DistortionParams for the camera. Default: False.