---
url: /dyad/stable/stdlib/MultibodyComponents/types/PlanarMechanics.PartialTwoFrameSensor.md
description: >-
  Dyad PlanarMechanics.PartialTwoFrameSensor docs.  Partial model for sensors
  with two frames, displayed as an analog dial gauge.
---

# `PlanarMechanics.PartialTwoFrameSensor` {#PlanarMechanics.PartialTwoFrameSensor}

Partial model for sensors with two frames, displayed as an analog dial gauge.

This component extends from [`PartialTwoFrames`](PartialTwoFrames.md)

## Usage {#Usage}

`MultibodyComponents.PlanarMechanics.PartialTwoFrameSensor()`

## Connectors {#Connectors}

* `frame_a` - Coordinate system (2-dim.) fixed to the component with one cut-force and cut-torque.

All variables are resolved in the planar world frame. ([`Frame2D`](/stdlib/Dyad/connectors/Frame2D#Frame2D))

* `frame_b` - Coordinate system (2-dim.) fixed to the component with one cut-force and cut-torque.

All variables are resolved in the planar world frame. ([`Frame2D`](/stdlib/Dyad/connectors/Frame2D#Frame2D))

## Source {#Source}

```dyad
"Partial model for sensors with two frames, displayed as an analog dial gauge."
partial component PartialTwoFrameSensor
  extends PartialTwoFrames
relations
metadata {
  "Dyad": {"icons": {"default": "dyad://MultibodyComponents/TwoFrameSensor.svg"}}
}
end
```

```dyad
"Partial model for sensors with two frames, displayed as an analog dial gauge."
partial component PartialTwoFrameSensor
  frame_a = Frame2D() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 50, "y1": 450, "x2": 150, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  frame_b = Frame2D() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 850, "y1": 450, "x2": 950, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
metadata {
  "Dyad": {"icons": {"default": "dyad://MultibodyComponents/TwoFrameSensor.svg"}}
}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
