Main Content

getGraph

Graph object representing tree structure

Description

g = getGraph(frames) returns a MATLAB® graph object showing the child-parent relationships between frames at the last timestamp in the frames transformTree object.

g = getGraph(frames,timestamp) returns a MATLAB graph object showing the child-parent relationships between frames at the specified timestamp.

Input Arguments

collapse all

Transform tree defining the child-parent frame relationship at given timestamps, specified as a transformTree object.

Time for querying the frames, specified as a scalar in seconds.

Output Arguments

collapse all

MATLAB graph, specified as a graph object. This graph reflects the parent-child relationship of the transforms defined in the transform tree object, frames.

Introduced in R2020b