[Olsr-dev] NameService plug-in

Sven-Ola Tuecke (spam-protected)
Mon Mar 15 23:11:04 CET 2010


Stefano,

that stuff was included by me - as you may have noticed that "latlon.js" 
output is basically (java|shell)script compatible. The "plink" aka. "Position 
know on both sides" statements makes it easy writing scripts, because you 
simply can draw your lines from these statements. 

Try a live example, e.g http://modersohn77.dyndns.org/cgi-bin-map.html and you 
may be interested in http://modersohn77.dyndns.org/cgi-bin-map.kml which 
converts the plugin's output to KML, source is here: 
http://ff-firmware.cvs.sourceforge.net/viewvc/*checkout*/ff-firmware/ff-devel/webadmin/work/freifunk/cgi-bin-map.kml

// Sven-Ola

Am Montag 15 März 2010 22:20:28 schrieb Pilla Stefano:
> Hello everyone,
> I introduce myself ..
> I'm Stefano from Ninux.org and this is the first time I write here.
> Last year I participated with Freifunk to Google Summer of Code and I
> wrote a DataSource for Freimap (wiki.freifunk.net/Freimap ).
> I have fully recovered coding from scratch and I noticed that
> NameService plugin can give me some information about the position of
> the nodes (if properly configured on each node). From the README file of
> the plugin I read that 3 values are used in the generate file (latlon.js):
>
> Self ( 'mainip', lat, lon, defhna? 1:0, 'DEFROUTE', 'name');
> Node ( 'mainip', lat, lon, this-node-defhna? 1:0, 'DEFROUTE', 'name');
> Link ( 'fromip', 'ToIP', LQ, NLQ, ETX);
>
> but in the generated file I find another value that is not in the readme
> ... plink ....
>
> Plink ('104 .128.30.22 ', '104 .128.30.21',
> 1.000,0.408,2.452,52.525982,13.314444,0,52.525925,13.314374,0);
>
> What are the values? the first 5 values should be: fromip, ToIP, LQ,
> NLQ, ETX ... right?
> The readme is also missing another value that is "mid" indicating the
> other interfaces of a node...
>
> Thank you all in advance ..
>
> Hellooo






More information about the Olsr-dev mailing list