AI Habitat · JSON Structure

Ai Habitat Sensor Spec Structure

Specification for a simulated sensor

Type: object Properties: 6
Artificial IntelligenceSimulationEmbodied AIRoboticsComputer VisionReinforcement LearningMachine LearningOpen SourceResearch

SensorSpec is a JSON Structure definition published by AI Habitat, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

uuid sensor_type resolution position orientation hfov

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

ai-habitat-sensor-spec-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ai-habitat/refs/heads/main/json-structure/ai-habitat-sensor-spec-structure.json",
  "name": "SensorSpec",
  "description": "Specification for a simulated sensor",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "description": "Unique sensor identifier",
      "example": "rgb"
    },
    "sensor_type": {
      "type": "string",
      "description": "Sensor type: COLOR, DEPTH, SEMANTIC, EQUIRECTANGULAR",
      "example": "COLOR"
    },
    "resolution": {
      "type": "array",
      "description": "[height, width] in pixels",
      "items": {
        "type": "int32"
      },
      "example": [
        256,
        256
      ]
    },
    "position": {
      "type": "array",
      "description": "Sensor position [x, y, z] relative to agent",
      "items": {
        "type": "double"
      }
    },
    "orientation": {
      "type": "array",
      "description": "Sensor orientation quaternion",
      "items": {
        "type": "double"
      }
    },
    "hfov": {
      "type": "double",
      "description": "Horizontal field of view in degrees",
      "example": 90
    }
  }
}