mirror of
https://forge.apps.education.fr/blender-edutech/ropy.git
synced 2024-01-27 08:23:20 +01:00
Ajout du relais : télécommande -> ropy
This commit is contained in:
parent
f9336f9610
commit
4ad737e635
BIN
ropy-29.blend
BIN
ropy-29.blend
Binary file not shown.
BIN
ropy-29.blend1
Normal file
BIN
ropy-29.blend1
Normal file
Binary file not shown.
21
rp_cmd.py
21
rp_cmd.py
@ -28,25 +28,8 @@ from rp_lib import * # Bibliothèque Ropy
|
|||||||
|
|
||||||
def commandes():
|
def commandes():
|
||||||
|
|
||||||
rp_jumeau('/dev/ttyACM1', 115200)
|
# Ecrire votre code ici ...
|
||||||
rp_avancer()
|
|
||||||
rp_gauche()
|
|
||||||
|
|
||||||
# while True :
|
|
||||||
# ordre = rp_serie_rcpt()
|
|
||||||
# print (ordre)
|
|
||||||
# if "AV" in ordre :
|
|
||||||
# rp_avancer()
|
|
||||||
# rp_marquer()
|
|
||||||
# if "RE" in ordre :
|
|
||||||
# rp_reculer()
|
|
||||||
# if "GA" in ordre :
|
|
||||||
# rp_gauche()
|
|
||||||
# if "DR" in ordre :
|
|
||||||
# rp_droite()
|
|
||||||
# if "ST" in ordre :
|
|
||||||
# break
|
|
||||||
|
|
||||||
rp_fin() # A garder
|
rp_fin() # A garder
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user