@lib.api_call
    def test(self):

        # print servo's current position
        print "current servo angle: {}".format(self.position)

        # change servo's position
        self.position = 180
        time.sleep(1)
        self.position = 130
        time.sleep(1)
        self.position = 90
        print "current servo angle: {}".format(self.position)
Predict confidence scores for samples.
dataset/ETHPy150Open IEEERobotics/bot/bot/hardware/servo.py/Servo.test--crossover with--dataset/ETHPy150Open ntucllab/libact/libact/base/interfaces.py/ContinuousModel.predict_real