We are having trouble switching between pipelines with our code. On the photonvision website, we have two different pipelines. Our first pipeline is for reflective tape and our second is for April Tags. We have tried adding the code below:
camera.setPipelineIndex(1);
However, the pipeline only changes if we manually change it on the photonvision website. We are also unsure of how to get the index of our pipelines. We have looked at documentation about pipelines on the photon vision website but we have not found anything that has worked.