Commit 41f48cbe authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾 Committed by Roque

erp5_officejs_drone_simulator: comply with Jslint

parent 4f630a54
...@@ -43,9 +43,8 @@ var DroneLogAPI = /** @class */ (function () { ...@@ -43,9 +43,8 @@ var DroneLogAPI = /** @class */ (function () {
return log_entry_list; return log_entry_list;
} }
var log = this._drone_info.log_content, entry_1, entry_2, interval, var log = this._drone_info.log_content, entry_1, entry_2, interval,
map_dict = this._mapManager.getMapInfo(),
min_height = 15, converted_log_point_list = [], min_height = 15, converted_log_point_list = [],
i, splitted_log_entry, x, y, position, lat, lon, height, timestamp, i, splitted_log_entry, position, lat, lon, height, timestamp,
time_offset = 1, log_entry_list = getLogEntries(log); time_offset = 1, log_entry_list = getLogEntries(log);
//XXX: Patch to determine log time format (if this is standarized, drop it) //XXX: Patch to determine log time format (if this is standarized, drop it)
if (log_entry_list[0] && log_entry_list[1]) { if (log_entry_list[0] && log_entry_list[1]) {
......
...@@ -246,11 +246,7 @@ ...@@ -246,11 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<<<<<<< HEAD <value> <string>1009.38419.20212.62293</string> </value>
<value> <string>1006.43901.65103.9898</string> </value>
=======
<value> <string>1009.27112.31386.24968</string> </value>
>>>>>>> 928ec4f23a (erp5_officejs_drone_simulator: update API)
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -270,11 +266,7 @@ ...@@ -270,11 +266,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<<<<<<< HEAD <float>1688635412.87</float>
<float>1677599947.8</float>
=======
<float>1688043479.22</float>
>>>>>>> 928ec4f23a (erp5_officejs_drone_simulator: update API)
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -310,7 +310,7 @@ var FixedWingDroneAPI = /** @class */ (function () { ...@@ -310,7 +310,7 @@ var FixedWingDroneAPI = /** @class */ (function () {
} else { } else {
this._loiter_mode = false; this._loiter_mode = false;
} }
} };
FixedWingDroneAPI.prototype.sendMsg = function (msg, to) { FixedWingDroneAPI.prototype.sendMsg = function (msg, to) {
var _this = this, var _this = this,
......
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1009.36979.17507.53811</string> </value> <value> <string>1009.38408.26347.58350</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1688549051.54</float> <float>1688634921.8</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1688549052.81</float> <float>1688635184.98</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment