kkvishal / wlan-pos

Automatically exported from code.google.com/p/wlan-pos
0 stars 0 forks source link

Scheduled Task

1.offline.updateAlgoData periodically. (wpp)[root@localhost wlan-pos]# crontab -l /1 * /opt/wpp/src/wlan-pos/tool/cron/updateAlgoData

Data Specification

1.raw data with 14/16 columns(fields).

FIELD 14col,16col

# IMEI      0, 3
# IMSI      1, 4
# UA        2, 5
# MCC       3, 6
# MNC       4, 7
# LAC       5, 8
# CI        6, 9
# rss       7, 10
# lat       8, 11
# lon       9, 12
# h         10,13
# wlanmacs  11,14
# wlanrsss  12,15
# Time      13,2
  1. columns definition for reqreterr data file and addcols structure.

    reqreterr format: whole addcols

    macs 0,

    rsss 1,

    ref(lat,lon) 2,3,

    cpp(lat,lon,err) 4,5,6,

    ecpp 7, 0,

    ee_cpp 8, 1,

    py(lat,lon,err) 9,10,11, 2,3,4,

    epy 12, 5,

    ee_py 13, 6,

    e_cpp_py 14, 7,

    ee_cpp_py 15, 8,

    google(lat,lon,err) 16,17,18, 9,10,11

    err_google 19, 12,

    ee_google 20, 13,

Known Issues

  1. visAPs = [ ['00:19:E0:E3:85:D0','-92'] ], cid = 1304, timestamp=20101013-152014
  2. visAPs = [ ['00:17:7B:0F:85:F0','-68'] ], cid = 1304, timestamp=20101013-095222
  3. sum_rss = [ 0, 0, 0, ... ], when issue 1 happens.

Quick Start

1.offline 1) fingerprints calibration. a) ./tool/bt-dev-con && xgps & b) ./run -n -r c) ./offline.py -c dat/.rmp d) ./offline.py -u 1 2) Dumbtest for stability. ./run -d 3) Compile all .py to .pyc. ./run -m

2.online 1) Pure fingerprinting. sudo ./online.py -v 2) Accuracy evaluation(GPS available). sudo ./test.py -v

SP id assignment

borq: floor 8: 1-12
floor 1-8: 100-899
dacheng floor 12: 1200-1299,  e.g. 1203:door1203.
home yjl: 90-99
home neighborhood: 30-89