(output)
| 519 | return self.vioOutputQueue.pop(0) if vioOutputTime < mapperOutputTime else self.mapperOutputQueue.pop(0) |
| 520 | |
| 521 | def processVioOutput(output): |
| 522 | nonlocal vioOutput, prevVioOutput, wasTracking |
| 523 | vioOutput = output |
| 524 | if vioOutput['isTracking']: |
| 525 | wasTracking = True |
| 526 | cameraPose = vioOutput["cameraPose"] |
| 527 | self.poseTrail.append(cameraPose.getPosition()) |
| 528 | else: |
| 529 | vioOutput = None |
| 530 | if wasTracking: |
| 531 | self.__resetAfterLost() |
| 532 | wasTracking = False |
| 533 | |
| 534 | def processMapperOutput(output): |
| 535 | nonlocal vioOutput, prevVioOutput, wasTracking |
nothing calls this directly
no test coverage detected