Pushing the code for Automatic AP placement
This commit is contained in:
192
floor_plans/floorplantest.json
Normal file
192
floor_plans/floorplantest.json
Normal file
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"image_path": "D:\\Projects\\wifi-signal-prediction-main\\floor_plans\\tes1.png",
|
||||
"width_meters": 50.0,
|
||||
"height_meters": 7.0,
|
||||
"resolution": 0.2,
|
||||
"use_custom_boundary": false,
|
||||
"building_boundary": [
|
||||
[
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
50.0,
|
||||
0
|
||||
],
|
||||
[
|
||||
50.0,
|
||||
7.0
|
||||
],
|
||||
[
|
||||
0,
|
||||
7.0
|
||||
],
|
||||
[
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"regions": [
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 7.031484257871064,
|
||||
"width": 50.25125628140703,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "brick"
|
||||
},
|
||||
{
|
||||
"x": 50.25125628140703,
|
||||
"y": 0.0,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 7.031484257871064,
|
||||
"material": "brick"
|
||||
},
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 7.031484257871064,
|
||||
"material": "brick"
|
||||
},
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 50.25125628140703,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "brick"
|
||||
},
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 0.7346326836581709,
|
||||
"width": 50.25125628140703,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 11.306532663316583,
|
||||
"y": 0.0,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.7346326836581709,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 20.938023450586265,
|
||||
"y": 0.0,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.7346326836581709,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 37.68844221105528,
|
||||
"y": 0.0,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.7346326836581709,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 1.7841079460269866,
|
||||
"width": 20.100502512562816,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 2.623688155922039,
|
||||
"width": 20.100502512562816,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 4.1876046901172534,
|
||||
"y": 1.7841079460269866,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.3148425787106447,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 8.375209380234507,
|
||||
"y": 1.7841079460269866,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.3148425787106447,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 16.750418760469014,
|
||||
"y": 1.4692653673163418,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.3148425787106447,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 33.50083752093803,
|
||||
"y": 6.401799100449775,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.5247376311844079,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 33.50083752093803,
|
||||
"y": 6.401799100449775,
|
||||
"width": 16.750418760469014,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 0.0,
|
||||
"y": 6.401799100449775,
|
||||
"width": 19.262981574539364,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 20.938023450586265,
|
||||
"y": 1.5742128935532234,
|
||||
"width": 20.938023450586265,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 41.87604690117253,
|
||||
"y": 3.673163418290854,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.5247376311844079,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 41.87604690117253,
|
||||
"y": 1.5742128935532234,
|
||||
"width": 0.33500837520938026,
|
||||
"height": 0.8395802098950524,
|
||||
"material": "drywall"
|
||||
},
|
||||
{
|
||||
"x": 41.87604690117253,
|
||||
"y": 2.0989505247376314,
|
||||
"width": 7.537688442211055,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "glass"
|
||||
},
|
||||
{
|
||||
"x": 21.775544388609717,
|
||||
"y": 2.623688155922039,
|
||||
"width": 6.700167504187604,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "plastic"
|
||||
},
|
||||
{
|
||||
"x": 21.775544388609717,
|
||||
"y": 3.1484257871064467,
|
||||
"width": 6.700167504187604,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "plastic"
|
||||
},
|
||||
{
|
||||
"x": 16.750418760469014,
|
||||
"y": 4.197901049475263,
|
||||
"width": 6.700167504187604,
|
||||
"height": 0.041979010494752625,
|
||||
"material": "drywall"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user