Help CenterHelp Center
Get node type of node in factor graph
Since R2022a
type = nodeType(graph,nodeID)
type = nodeType(graph,nodeID) returns the type type of the specified node nodeID, in the factor graph graph.
type
graph
nodeID
collapse all
factorGraph
Factor graph, specified as a factorGraph object.
ID of node to check, specified as a nonnegative integer.
Type of the node, returned as one of these node types:
"POSE_SE2" — Pose in SE(2) state space
"POSE_SE2"
"POSE_SE3" — Pose in SE(3) state space
"POSE_SE3"
"VEL3" — 3-D velocity
"VEL3"
"POINT_XY" — 2-D point
"POINT_XY"
"POINT_XYZ" — 3-D point
"POINT_XYZ"
"IMU_BIAS" — IMU gyroscope and accelerometer bias
"IMU_BIAS"
Introduced in R2022a
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office