Update
This commit is contained in:
parent
d1e385a2a1
commit
1d91792c56
35 changed files with 2275 additions and 237 deletions
24
client_s2/dev01.py
Normal file
24
client_s2/dev01.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
import time
|
||||
|
||||
from compLib.CompLibClient import CompLibClient
|
||||
|
||||
|
||||
def main():
|
||||
from compLib.Motor import Motor
|
||||
|
||||
# Motor.speed(0, -50)
|
||||
# Motor.speed(3, 50)
|
||||
|
||||
Motor.power(0, 50)
|
||||
Motor.power(3, -50)
|
||||
|
||||
time.sleep(2)
|
||||
|
||||
Motor.power(0, 0)
|
||||
Motor.power(3, -0)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
CompLibClient.use_tcp_socket("dev01.local")
|
||||
# follow()
|
||||
main()
|
Reference in a new issue