Remove unused code.

This commit is contained in:
Sergiu Toma 2019-10-02 12:11:42 +03:00
parent 60f0aa2a6c
commit b673c8a3d4
2 changed files with 3 additions and 5 deletions

View File

@ -26,11 +26,11 @@ gps_lng_start_point = 24.776126
# 10 units
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037] # colinde 0-10
# 20 units
ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037,2047,2057,2067,2077,2087,2097,2107,2117,2127,2137]
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037,2047,2057,2067,2077,2087,2097,2107,2117,2127,2137]
# 30 units
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037,2047,2057,2067,2077,2087,2097,2107,2117,2127,2137,2147,2157,2167,2177,2187,2197,2207,2217,2227,2237]
# 50 units
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037,2047,2057,2067,2077,2087,2097,2107,2117,2127,2137,2147,2157,2167,2177,2187,2197,2207,2217,2227,2237,2247,2257,2267,2277,2287,2297,2307,2317,2327,2337,2347,2357,2367,2377,2387,2397,2407,2417,2427,2437]
ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037,2047,2057,2067,2077,2087,2097,2107,2117,2127,2137,2147,2157,2167,2177,2187,2197,2207,2217,2227,2237,2247,2257,2267,2277,2287,2297,2307,2317,2327,2337,2347,2357,2367,2377,2387,2397,2407,2417,2427,2437]
#GPS
# 10 units

View File

@ -11,8 +11,6 @@ class Simulator {
this.configs = configs;
this.assets = {};
// Read assets ids from configs
this.assetIds = configs.assets.ids;
@ -34,7 +32,7 @@ class Simulator {
_start() {
this.assetIds.forEach(id => {
this.assets[id] = new Asset(id, this.configs);
new Asset(id, this.configs);
});
}