Remove unused code.
This commit is contained in:
parent
60f0aa2a6c
commit
b673c8a3d4
@ -26,11 +26,11 @@ gps_lng_start_point = 24.776126
|
|||||||
# 10 units
|
# 10 units
|
||||||
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037] # colinde 0-10
|
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037] # colinde 0-10
|
||||||
# 20 units
|
# 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
|
# 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]
|
# 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
|
# 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
|
#GPS
|
||||||
# 10 units
|
# 10 units
|
||||||
|
@ -11,8 +11,6 @@ class Simulator {
|
|||||||
|
|
||||||
this.configs = configs;
|
this.configs = configs;
|
||||||
|
|
||||||
this.assets = {};
|
|
||||||
|
|
||||||
// Read assets ids from configs
|
// Read assets ids from configs
|
||||||
this.assetIds = configs.assets.ids;
|
this.assetIds = configs.assets.ids;
|
||||||
|
|
||||||
@ -34,7 +32,7 @@ class Simulator {
|
|||||||
|
|
||||||
_start() {
|
_start() {
|
||||||
this.assetIds.forEach(id => {
|
this.assetIds.forEach(id => {
|
||||||
this.assets[id] = new Asset(id, this.configs);
|
new Asset(id, this.configs);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user