mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 08:47:07 +00:00
Remove logging statements
This commit is contained in:
@@ -16,7 +16,6 @@ module.exports = async function (req, res, next) {
|
||||
|
||||
if (json.length) {
|
||||
const data = bundle(json, {type});
|
||||
console.log("bundle", data);
|
||||
res.status(200).send(Buffer.from(data));
|
||||
} else {
|
||||
res.status(404).send();
|
||||
|
||||
@@ -8,8 +8,6 @@ function bundle (json, opts = {}) {
|
||||
const deltas = [];
|
||||
const values = [];
|
||||
|
||||
// console.log("JSON LENGTH", json.length);
|
||||
// console.log("OPTS", geometries, payload);
|
||||
|
||||
if (type == 0) {
|
||||
/* Preplot information – sail line points
|
||||
@@ -74,7 +72,6 @@ function bundle (json, opts = {}) {
|
||||
type: Uint16Array
|
||||
});
|
||||
|
||||
console.log("JSON", json[0]);
|
||||
return encode.sequential(json, el => el.line, el => el.point, deltas, values, type)
|
||||
|
||||
} else if (type == 2) {
|
||||
@@ -222,9 +219,6 @@ function bundle (json, opts = {}) {
|
||||
type: Uint8Array
|
||||
});
|
||||
|
||||
console.log("DELTAS", deltas);
|
||||
console.log("VALUES", values);
|
||||
|
||||
return encode.sequential(json, el => el.sequence, el => el.point, deltas, values, type)
|
||||
} else if (type == 3) {
|
||||
/* Final positions and raw vs final errors:
|
||||
|
||||
Reference in New Issue
Block a user