Edges in pose graph


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 R2019b