This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

edges

Package: robotics

Edges in pose graph

Syntax

edges = edges(poseGraph)
edges = edges(poseGraph,edgeIDs)

Description

edges = edges(poseGraph) returns all edges in the specified pose graph as a list of node ID pairs.

edges = edges(poseGraph,edgeIDs) returns edges corresponding to the specified edge IDs.

Input Arguments

collapse all

Pose graph, specified as a PoseGraph or PoseGraph3D object.

Edge IDs, specified as a vector of positive integers.

Output Arguments

collapse all

Edges in pose graph, returned as n-by-2 matrix that lists the IDs of the two nodes that each edge connects.

Extended Capabilities

Introduced in R2018a