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.

findEdgeID

Package: robotics

Find edge ID of edge

Syntax

edgeID = findEdgeID(poseGraph,edge)

Description

edgeID = findEdgeID(poseGraph,edge) finds the edge ID for a specified edge. Edges are defined by the IDs of the two nodes that connect them.

Input Arguments

collapse all

Pose graph, specified as a PoseGraph or PoseGraph3D object.

Edge in pose graph, specified as a two-element vector that lists the IDs of the two nodes that the edge connects.

Output Arguments

collapse all

Edge IDs, returned as a positive integer.

Extended Capabilities

Introduced in R2018a