findEdgeID

Find edge ID of 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 R2019b