|
|
|
@ -2,22 +2,19 @@ const { getConnection, writeData } = require('./pav-client');
|
|
|
|
|
const { getCoordsFormBetweenCoord, dumyData } = require('./pav-utils'); |
|
|
|
|
|
|
|
|
|
// const host = '192.168.0.30';
|
|
|
|
|
// const host = 'localhost';
|
|
|
|
|
// const host = '192.168.100.101';
|
|
|
|
|
const host = '121.190.193.50'; |
|
|
|
|
const host = 'localhost'; |
|
|
|
|
// const host = '211.253.11.189';
|
|
|
|
|
// const port = 8082;
|
|
|
|
|
const port = 6083; |
|
|
|
|
const port = 8082; |
|
|
|
|
|
|
|
|
|
// 기본정보
|
|
|
|
|
const prefix = 'PALUTM-'; |
|
|
|
|
|
|
|
|
|
const pathSampleCoord = [ |
|
|
|
|
[37.523771, 126.720982], |
|
|
|
|
[37.524841, 126.723106], |
|
|
|
|
[37.524337, 126.72333], |
|
|
|
|
[37.524841, 126.723106], |
|
|
|
|
[37.523771, 126.720982] |
|
|
|
|
[37.571954, 126.775258], |
|
|
|
|
[37.566375, 126.781266], |
|
|
|
|
[37.562361, 126.783584], |
|
|
|
|
[37.558143, 126.785987], |
|
|
|
|
[37.553039, 126.788819] |
|
|
|
|
]; |
|
|
|
|
// const pathSampleCoord = [
|
|
|
|
|
// [42.5515, 126.655],
|
|
|
|
|