Skip to content
LIBRARY
Fixed.md

Fixed

A component rigidly attached to the world frame with translation r from the world origin. The position vector r is resolved in the world frame. Orientation is fixed to the identity (world frame orientation).

Usage

MultibodyComponents.Fixed(r=[0, 0, 0], render=true)

Parameters:

NameDescriptionUnitsDefault value
rPosition vector from world frame to frame_b, resolved in world framem[0, 0, 0]
renderRender the component in animationstrue

Connectors

  • frame_b - Frame3D is the fundamental 3D connector used for 6DOF motion. Most components have one or several Frame

connectors that can be connected together (Frame3D)

Behavior

Dict{MIME{Symbol("text/plain")}, String} with 1 entry: MIME type text/plain => "Error displaying result"

Source

dyad
"""
A component rigidly attached to the world frame with translation `r`
from the world origin. The position vector `r` is resolved in the world frame.
Orientation is fixed to the identity (world frame orientation).
"""
component Fixed
  frame_b = Frame3D() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 450, "y1": 450, "x2": 550, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  "Position vector from world frame to frame_b, resolved in world frame"
  parameter r::Length[3] = [0, 0, 0]
  "Render the component in animations"
  parameter render::Boolean = true
relations
  frame_b.r_0 = r
  frame_b.R = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
metadata {"Dyad": {"icons": {"default": "dyad://MultibodyComponents/Fixed.svg"}}}
end
Flattened Source
dyad
"""
A component rigidly attached to the world frame with translation `r`
from the world origin. The position vector `r` is resolved in the world frame.
Orientation is fixed to the identity (world frame orientation).
"""
component Fixed
  frame_b = Frame3D() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 450, "y1": 450, "x2": 550, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  "Position vector from world frame to frame_b, resolved in world frame"
  parameter r::Length[3] = [0, 0, 0]
  "Render the component in animations"
  parameter render::Boolean = true
relations
  frame_b.r_0 = r
  frame_b.R = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
metadata {"Dyad": {"icons": {"default": "dyad://MultibodyComponents/Fixed.svg"}}}
end


Test Cases

No test cases defined.