foxglove.ArrowPrimitive

A primitive representing an arrow

RoboticsObservabilityVisualizationData PlatformPhysical AIAutonomyFleet ManagementDeveloper ToolsMCAPROS

Properties

Name Type Description
pose object Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
shaft_length number Length of the arrow shaft
shaft_diameter number Diameter of the arrow shaft
head_length number Length of the arrow head
head_diameter number Diameter of the arrow head
color object Color of the arrow
View JSON Schema on GitHub

JSON Schema

foxglove-technologies-arrowprimitive.json Raw ↑
{
  "title": "foxglove.ArrowPrimitive",
  "description": "A primitive representing an arrow",
  "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
  "type": "object",
  "properties": {
    "pose": {
      "title": "foxglove.Pose",
      "description": "Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.",
      "type": "object",
      "properties": {
        "position": {
          "title": "foxglove.Vector3",
          "description": "Point denoting position in 3D space",
          "type": "object",
          "properties": {
            "x": {
              "type": "number",
              "description": "x component"
            },
            "y": {
              "type": "number",
              "description": "y component"
            },
            "z": {
              "type": "number",
              "description": "z component"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ]
        },
        "orientation": {
          "title": "foxglove.Quaternion",
          "description": "Quaternion denoting orientation in 3D space",
          "type": "object",
          "properties": {
            "x": {
              "type": "number",
              "description": "x value"
            },
            "y": {
              "type": "number",
              "description": "y value"
            },
            "z": {
              "type": "number",
              "description": "z value"
            },
            "w": {
              "type": "number",
              "description": "w value"
            }
          },
          "required": [
            "x",
            "y",
            "z",
            "w"
          ]
        }
      },
      "required": [
        "position",
        "orientation"
      ]
    },
    "shaft_length": {
      "type": "number",
      "description": "Length of the arrow shaft"
    },
    "shaft_diameter": {
      "type": "number",
      "description": "Diameter of the arrow shaft"
    },
    "head_length": {
      "type": "number",
      "description": "Length of the arrow head"
    },
    "head_diameter": {
      "type": "number",
      "description": "Diameter of the arrow head"
    },
    "color": {
      "title": "foxglove.Color",
      "description": "Color of the arrow",
      "type": "object",
      "properties": {
        "r": {
          "type": "number",
          "description": "Red value between 0 and 1"
        },
        "g": {
          "type": "number",
          "description": "Green value between 0 and 1"
        },
        "b": {
          "type": "number",
          "description": "Blue value between 0 and 1"
        },
        "a": {
          "type": "number",
          "description": "Alpha value between 0 and 1"
        }
      },
      "required": [
        "r",
        "g",
        "b",
        "a"
      ]
    }
  },
  "required": [
    "pose",
    "shaft_length",
    "shaft_diameter",
    "head_length",
    "head_diameter",
    "color"
  ]
}