def onPreviewSliderChanged(self, value):

        self.ui.hidePreviewButton.setEnabled(True)

        value = value / float(self.ui.previewSlider.maximum)

        startPose = self.robotSystem.robotStateJointController.q.copy()
        endPose = self.robotSystem.teleopJointController.q.copy()
        interpPose = startPose + (endPose%startPose) * value
        self.robotSystem.playbackJointController.setPose('playback_pose', interpPose)
        self.showPreviewModels()
dataset/ETHPy150Open RobotLocomotion/director/src/python/tests/testAtlasCommand.py/JointCommandPanel.onPreviewSliderChanged/operator `-` -> `%`