Caught a possible ancient bug in the loop logic for calculating state of camera and projector backwards movements.
This commit is contained in:
parent
b29478cb58
commit
3ec1373f08
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.7.0",
|
||||
"version": "1.7.1",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
@ -179,12 +179,12 @@
|
|||
"camera_projectors_identifier": "5",
|
||||
"cameras_projector_identifier": "6",
|
||||
"cameras_projectors_identifier": "7",
|
||||
"capper_identifier" : "C",
|
||||
"camera_capper_identifier" : "8",
|
||||
"camera_capper_projector_identifier" : "9",
|
||||
"camera_capper_projectors_identifier" : "0",
|
||||
"capper_on" : "A",
|
||||
"capper_off" : "B"
|
||||
"capper_identifier": "C",
|
||||
"camera_capper_identifier": "8",
|
||||
"camera_capper_projector_identifier": "9",
|
||||
"camera_capper_projectors_identifier": "0",
|
||||
"capper_on": "A",
|
||||
"capper_off": "B"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -679,7 +679,7 @@ class Mscript {
|
|||
this.cam -= val;
|
||||
}
|
||||
else {
|
||||
this.loops[this.rec].cam--;
|
||||
this.loops[this.rec].cam -= val;
|
||||
}
|
||||
}
|
||||
else if (cmd === 'PF') {
|
||||
|
@ -695,7 +695,7 @@ class Mscript {
|
|||
this.proj -= val;
|
||||
}
|
||||
else {
|
||||
this.loops[this.rec].proj--;
|
||||
this.loops[this.rec].proj -= val;
|
||||
}
|
||||
}
|
||||
else if (cmd === 'BF') {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.7.0",
|
||||
"version": "1.7.1",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
@ -179,12 +179,12 @@
|
|||
"camera_projectors_identifier": "5",
|
||||
"cameras_projector_identifier": "6",
|
||||
"cameras_projectors_identifier": "7",
|
||||
"capper_identifier" : "C",
|
||||
"camera_capper_identifier" : "8",
|
||||
"camera_capper_projector_identifier" : "9",
|
||||
"camera_capper_projectors_identifier" : "0",
|
||||
"capper_on" : "A",
|
||||
"capper_off" : "B"
|
||||
"capper_identifier": "C",
|
||||
"camera_capper_identifier": "8",
|
||||
"camera_capper_projector_identifier": "9",
|
||||
"camera_capper_projectors_identifier": "0",
|
||||
"capper_on": "A",
|
||||
"capper_off": "B"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -700,7 +700,7 @@ class Mscript {
|
|||
if (this.rec === -1) {
|
||||
this.cam -= val;
|
||||
} else {
|
||||
this.loops[this.rec].cam--;
|
||||
this.loops[this.rec].cam -= val;
|
||||
}
|
||||
} else if (cmd === 'PF') {
|
||||
if (this.rec === -1) {
|
||||
|
@ -712,7 +712,7 @@ class Mscript {
|
|||
if (this.rec === -1) {
|
||||
this.proj -= val;
|
||||
} else {
|
||||
this.loops[this.rec].proj--;
|
||||
this.loops[this.rec].proj -= val;
|
||||
}
|
||||
} else if (cmd === 'BF') {
|
||||
if (this.rec === -1) {
|
||||
|
|
Loading…
Reference in New Issue