Beispiel #1
0
    def test_set_heading2(self):
        orb = Sphero(MyTestCase.SPHERO)
        orb.connect()

        for angle in range(0,360,90):

            orb.roll(30,90)
            time.sleep(3)
            orb.set_heading(angle)
            time.sleep(1)
            orb.roll(30, 90)
            time.sleep(3)
Beispiel #2
0
    def test_roll(self):
        orb = Sphero(MyTestCase.SPHERO)
        orb.connect()

        orb.roll(10,0)