Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

LocFromFile Element Documentation

NAME

LocFromFile — Click element;

SYNOPSIS

LocFromFile(filename)

Drivers: userlevel

DESCRIPTION

Pretends to be a GridLocationInfo element, but actually reads the locations from a file. Each line of the file looks like

 interval lat lon

This means means "spend interval seconds moving to lat/lon."

Here's a reasonable test file that keeps the node more or less within 250 meters of 0,0:

1 0 0 10 .002 .002 20 0 .003 30 0 0

SEE ALSO

GridLocationInfo

Generated by click-elem2man from ../elements/grid/locfromfile.hh:4 on 2017/10/17.

Clone this wiki locally