Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Get Edge Cost VI

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

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.
Note  LabVIEW ignores the request to change cost if start node and end node are the same string.
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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit