Commit 2e3234f9 authored by Roque's avatar Roque

erp5_drone_simulator: get rid of rescue swarm dependency

- move log to web page module
parent dfdc82bc
......@@ -303,10 +303,11 @@
})
.push(function (parameters_doc) {
game_parameters_json = JSON.parse(parameters_doc.text_content);
return gadget.jio_get("rescue_swarm_script_module/" + "log_loiter");
var query = '(portal_type:"Web Manifest") AND (reference:"loiter_flight_log")';
return gadget.jio_allDocs({query: query, select_list: ["text_content"]});
})
.push(function (log) {
log_content = log.text_content;
.push(function (result) {
log_content = result.data.rows[0].value.text_content;
gadget.runGame({
logic_url: parameter_gamelogic,
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1003.18656.63783.5546</string> </value>
<value> <string>1003.18668.38123.54476</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1664461530.27</float>
<float>1664462231.88</float>
<string>UTC</string>
</tuple>
</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