Add program to perform action group at node.
This commit is contained in:
17
prog/nodeaction.ks
Normal file
17
prog/nodeaction.ks
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
// Perform some action (AG1) at the maneuver node.
|
||||||
|
|
||||||
|
@lazyglobal off.
|
||||||
|
|
||||||
|
set done to false.
|
||||||
|
|
||||||
|
if not HASNODE {
|
||||||
|
print "Create a node to initiate NodeAction mode.".
|
||||||
|
wait until HASNODE.
|
||||||
|
}
|
||||||
|
|
||||||
|
when NEXTNODE:ETA < 1 then {
|
||||||
|
AG1.
|
||||||
|
set done to true.
|
||||||
|
}
|
||||||
|
|
||||||
|
wait until done.
|
Reference in New Issue
Block a user