Commit 4d81077b authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

component/qjs-wrapper: v↑ qjs-wrapper (2.2 -> 2.3)

parent 4bb5a804
...@@ -9,7 +9,7 @@ parts = qjs-wrapper ...@@ -9,7 +9,7 @@ parts = qjs-wrapper
[qjs-wrapper-source] [qjs-wrapper-source]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/qjs-wrapper.git repository = https://lab.nexedi.com/nexedi/qjs-wrapper.git
revision = v2.2 revision = v2.3
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
[qjs-wrapper] [qjs-wrapper]
......
...@@ -46,4 +46,4 @@ md5sum = 3bbb0f80b644d86784aab99b03e88c2f ...@@ -46,4 +46,4 @@ md5sum = 3bbb0f80b644d86784aab99b03e88c2f
[worker] [worker]
_update_hash_filename_ = drone-scripts/worker.js.jinja2 _update_hash_filename_ = drone-scripts/worker.js.jinja2
md5sum = f4e21f22719347c8a22d6a82f0782eba md5sum = 2afbc5c18a453404f6c60e874f592577
/*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80 */ /*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80 */
{% if isADrone -%} {% if isADrone -%}
/*global console, execUserScript, getAltitude, getClimbRate, getInitialAltitude, /*global console, execUserScript, getAltitude, getClimbRate, getInitialAltitude,
gpsIsOk, getPosition, getSpeed, getYaw, initPubsub, isLanding, isReadyToFly, gpsIsOk, getMaxCommandFrequency, getPosition, getSpeed, getYaw, initPubsub,
land, loiter, setMessage, setTargetCoordinates, std, takeOff, isLanding, isReadyToFly, land, loiter, setMessage, setTargetCoordinates, std,
updateLogAndProjection, ArrayBuffer, Drone, Uint8Array, Worker*/ takeOff, updateLogAndProjection, ArrayBuffer, Drone, Uint8Array, Worker*/
{% else -%} {% else -%}
/*global console, execUserScript, initPubsub, setMessage, setTargetCoordinates, /*global console, execUserScript, initPubsub, setMessage, setTargetCoordinates,
std, updateLogAndProjection, Drone, Worker*/ std, updateLogAndProjection, Drone, Worker*/
...@@ -15,6 +15,7 @@ import { ...@@ -15,6 +15,7 @@ import {
getClimbRate, getClimbRate,
getInitialAltitude, getInitialAltitude,
gpsIsOk, gpsIsOk,
getMaxCommandFrequency,
getPosition, getPosition,
getSpeed, getSpeed,
getYaw, getYaw,
...@@ -48,10 +49,10 @@ import { evalScript, fdopen, loadFile, open } from "std"; ...@@ -48,10 +49,10 @@ import { evalScript, fdopen, loadFile, open } from "std";
{% if isADrone -%} {% if isADrone -%}
(function (Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec, (function (Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec,
fdopen, getAltitude, getInitialAltitude, gpsIsOk, getPosition, fdopen, getAltitude, getInitialAltitude, gpsIsOk,
getYaw, initPubsub, isLanding, kill, loadFile, loiter, open, getMaxCommandFrequency, getPosition, getYaw, initPubsub, isLanding,
pipe, setMessage, setReadHandler, setTargetCoordinates, kill, loadFile, loiter, open, pipe, setMessage, setReadHandler,
land, updateLogAndProjection, waitpid) { setTargetCoordinates, land, updateLogAndProjection, waitpid) {
{% else -%} {% else -%}
(function (Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec, (function (Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec,
fdopen, initPubsub, kill, loadFile, open, pipe, setMessage, fdopen, initPubsub, kill, loadFile, open, pipe, setMessage,
...@@ -82,6 +83,7 @@ import { evalScript, fdopen, loadFile, open } from "std"; ...@@ -82,6 +83,7 @@ import { evalScript, fdopen, loadFile, open } from "std";
getCurrentPosition: getPosition, getCurrentPosition: getPosition,
getInitialAltitude: getInitialAltitude, getInitialAltitude: getInitialAltitude,
gpsIsOk: gpsIsOk, gpsIsOk: gpsIsOk,
getMaxCommandFrequency: getMaxCommandFrequency,
getSpeed: getSpeed, getSpeed: getSpeed,
getYaw: getYaw, getYaw: getYaw,
{% endif -%} {% endif -%}
...@@ -324,9 +326,9 @@ import { evalScript, fdopen, loadFile, open } from "std"; ...@@ -324,9 +326,9 @@ import { evalScript, fdopen, loadFile, open } from "std";
}; };
{% if isADrone -%} {% if isADrone -%}
}(Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec, }(Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec,
fdopen, getAltitude, getInitialAltitude, gpsIsOk, getPosition, getYaw, fdopen, getAltitude, getInitialAltitude, gpsIsOk, getMaxCommandFrequency,
initPubsub, isLanding, kill, loadFile, loiter, open, pipe, setMessage, getPosition, getYaw, initPubsub, isLanding, kill, loadFile, loiter, open,
setReadHandler, setTargetCoordinates, land, pipe, setMessage, setReadHandler, setTargetCoordinates, land,
updateLogAndProjection, waitpid)); updateLogAndProjection, waitpid));
{% else -%} {% else -%}
}(Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec, }(Drone, SIGTERM, WNOHANG, Worker, close, console, evalScript, exec,
......
...@@ -17,8 +17,8 @@ pre-configure += ...@@ -17,8 +17,8 @@ pre-configure +=
[c-astral-wrapper] [c-astral-wrapper]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
configure-command = true configure-command = true
url = https://lab.nexedi.com/nexedi/c-astral-wrapper/-/archive/v2.2/c-astral-wrapper-v2.2.tar.gz url = https://lab.nexedi.com/nexedi/c-astral-wrapper/-/archive/v2.3/c-astral-wrapper-v2.3.tar.gz
md5sum = 08cb41102f87475af0b6ec19e0c2965b md5sum = c08dafb84d7cffecb1faf5450d5cc650
environment = environment =
CPLUS_INCLUDE_PATH=${qjs-wrapper-source:location}/include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk CPLUS_INCLUDE_PATH=${qjs-wrapper-source:location}/include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk
LDFLAGS=-L${mavsdk:location}/lib -Wl,-rpath=${mavsdk:location}/lib LDFLAGS=-L${mavsdk:location}/lib -Wl,-rpath=${mavsdk:location}/lib
......
...@@ -5,7 +5,7 @@ extends = ...@@ -5,7 +5,7 @@ extends =
[sqdr-source] [sqdr-source]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/slaposdrone/squadrone.git repository = https://lab.nexedi.com/slaposdrone/squadrone.git
revision = v2.2 revision = v2.3
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
[sqdr-wrapper] [sqdr-wrapper]
......
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