ACTIVE_MG.enable/disable on cameras with same name pattern
If I have two cameras named "pcoedge" and "pcoedgehs", doing ACTIVE_MG.enable("pcoedge")
will enable both cameras. Using ACTIVE_MG.disable("pcoedge")
disable also both cameras.
So to enable only the "pcoedge" camera, I have to do:
- ACTIVE_MG.enable("pcoedge")
- ACTIVE_MG.disable("pcoedgehs")
Symetrically, if I have "pcoedge" and "pcoedgehs" enabled, to disable only the "pcoedge", I have to do:
- ACTIVE_MG.disable("pcoedge")
- ACTIVE_MG.enable("pcoedgehs")
Edited by Emmanuel Papillon