Merge branch 'capper'

:w
ls
This commit is contained in:
Matt McWilliams 2023-02-19 00:29:40 -05:00
commit d7baa4d17b
5 changed files with 18 additions and 3 deletions

View File

@ -184,7 +184,9 @@
"camera_capper_projector_identifier": "9",
"camera_capper_projectors_identifier": "0",
"capper_on": "A",
"capper_off": "B"
"capper_off": "B",
"takeup_forward" : "D",
"takeup_backward" : "E"
}
}
}

View File

@ -11,8 +11,11 @@ class Commands {
* @param {object} proj Projector 1
* @param {object} cam Camera 1
* @param {object} light Light source
* @param {object} alert Alert object
* @param {object} cam2 (optional) Camera 2
* @param {object} proj2 (optional) Projector 2
* @param {object} capper Capper object
*
**/
constructor(cfg, proj, cam, light, alert, cam2 = null, proj2 = null, capper = null) {
this.cfg = cfg;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
/**
* Delay in an async/await function
*
* @param {integer} ms Milliseconds to delay for
*
* @returns {Promise} Promise to resolve after timeout
**/
declare function delay(ms: number): Promise<unknown>;

View File

@ -184,7 +184,9 @@
"camera_capper_projector_identifier": "9",
"camera_capper_projectors_identifier": "0",
"capper_on": "A",
"capper_off": "B"
"capper_off": "B",
"takeup_forward" : "D",
"takeup_backward" : "E"
}
}
}