Get Edge Cost VI
- Updated2023-02-21
- 3 minute(s) read
Get Edge Cost VI
Owning Palette: Directed Graph Map VIs
Requires: Robotics Module
Returns the cost of traversing the edge, or area, of the directed graph map between start node and end node.
You define the cost of an edge with the Enqueue Change to Edge Cost VI.

![]() |
map reference in is a reference to the map that represents the robot environment. Use the Create Directed Graph Map VI to generate this LabVIEW class object. | ||
![]() |
start node specifies the name of the node at which to begin defining an area of the map.
|
||
![]() |
end node specifies the name of the last node in the area of the map you define. | ||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||
![]() |
map reference out is a reference to the map that represents the robot environment. You can wire this output to other Path Planning VIs. | ||
![]() |
cost returns the cost of traversing the area of the map you specify. | ||
![]() |
found? indicates whether the map defines the position of the node you specify. If the map does not define the node, LabVIEW does not return an error. | ||
![]() |
error out contains error information. This output provides standard error out functionality. |







