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