Scale Transformation Inverse Transformation navigation bar

Table of Contents

Translation Transformation

This block multiplies a homogeneous transformation matrix by a translation matrix. The block can be configured to have either a fixed or variable translation.

Library

QUARC Targets/Math Operations/Homogeneous Transformations

Description

Translation Transformation

This block multiplies an input homogeneous transformation matrix by a translation matrix. The block can be configured to have either a fixed or variable translation by double clicking on the block and setting the appropriate parameters. The homogeneous translation matrix is as follows:

  output = [1 0 0 x
            0 1 0 y
            0 0 1 z
            0 0 0 1];

where x, y, and z are the translation relative to the current frame. The input homogeneous transformation matrix is post-multiplied by this matrix.

Input Ports

4x4

This input takes the previous output from a homogeneous transformation block. If there are no prior transformation blocks then this input must be driven by a Identity Transformation block.

vec

If the block is configured to drive the translation externally, then this port will be visible. The input should be a 3 element vector defining the translation relative to the current frame.

Output Ports

4x4

Outputs a 4x4 tranformation matrix.

Parameters and Dialog Box

Translation Transformation

Source of translation vector

Selects between internal and external sources for the translation vector. If internal is selected, set the vector in the Translation field. If external is selected, you can connect a 3 element vector to the input port.

Translation

Sets the translation to the fixed value entered in this field if the Source of translation vector is set to use the internal input.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar