WOLFRAM SYSTEM MODELER
TranslationTranslation of frame_b with respect to frame_a |
SystemModel["DocumentationExamples.Control.BallAndBeam.Translation"]
Component for a translation of frame_b with respect to frame_a, i.e., the relationship between connectors frame_a and frame_b is given by r and frame_a is always parallel to frame_b.
By default, this component is visualized by a cylinder connecting frame_a and frame_b. Note, that the two visualized frames are not part of the component animation and that the animation may be switched off via parameter animation = false.
animation |
Value: true Type: Boolean Description: = true, if animation shall be enabled |
---|---|
shapeType |
Value: "cylinder" Type: ShapeType Description: Type of shape |
r_shape |
Value: {0, 0, 0} Type: Position[3] (m) Description: Vector from frame_a to shape origin, resolved in frame_a |
widthDirection |
Value: {0, 1, 0} Type: Axis Description: Vector in width direction of shape, resolved in frame_a |
extra |
Value: 0 Type: ShapeExtra Description: Additional parameter depending on shapeType (see docu of Visualizers.Advanced.Shape) |
r |
Type: Position[3] (m) Description: Vector from frame_a to frame_b resolved in frame_a |
---|---|
color |
Default Value: Modelica.Mechanics.MultiBody.Types.Defaults.RodColor Type: Color Description: Color of shape |
specularCoefficient |
Default Value: world.defaultSpecularCoefficient Type: SpecularCoefficient Description: Reflection of ambient light (= 0: light is completely absorbed) |
DocumentationExamples.Control Simple model of a ball on a beam, rolling without slipping |