Contenido principal

UAV Scenario Get Transform

R2026b

Get transforms from UAV scenario platforms

  • UAV Scenario Get Transform block

Libraries:
UAV Toolbox / UAV Scenario and Sensor Modeling

Description

This block outputs a 4-by-4 transformation matrix that maps points in source frame to target frame in a UAV Scenario.

To use this block, ensure that UAV Scenario Configuration block is in your model.

This block uses the sample time specified in the UAV Scenario Configuration block.

Examples

Limitations

The UAV Scenario blocks do not support:

In addition, the execution order is important when using these blocks in a closed loop simulation. The UAV Scenario Configuration block must execute first. The UAV Scenario Motion Write block must execute before the UAV Scenario Motion Read, UAV Scenario Lidar, and UAV Scenario Scope blocks.

Ports

Output

expand all

Output transformation specified as a 4-by-4 transformation matrix.

Parameters

expand all

Use Select to choose a global coordinate source frame from the UAV Scenario loaded in your model. Select either North-East-Down ('NED'), or East-North-Up ('ENU').

Use Select to choose a global coordinate source frame from the UAV Scenario loaded in your model. Select either North-East-Down ('NED'), or East-North-Up ('ENU').

Programmatic Use: Add Block

To add the block programmatically, use the add_block function with one of these library block paths as the source.

"uavsimlib/UAV Scenario Get Transform"

Example: add_block("uavsimlib/UAV Scenario Get Transform","myModel/myBlock",MakeNameUnique="on")

Version History

Introduced in R2021b