carte esclave Petit Robot
Dependencies: mbed Herkulex_Library_2019 actions_Gr ident_crac actions_Pr
Diff: Actionneurs/herkulex_rob.cpp
- Revision:
- 42:a7300d563596
- Parent:
- 26:4a3467da3243
- Child:
- 45:3cb347342a0d
--- a/Actionneurs/herkulex_rob.cpp Fri May 24 19:36:51 2019 +0000 +++ b/Actionneurs/herkulex_rob.cpp Sat May 25 00:59:11 2019 +0000 @@ -103,6 +103,18 @@ setTorque(stockage_D, TORQUE_ON,3); setTorque(stockage_G, TORQUE_ON,1); } +void deverouillage_torque_convoyeurs_gauche(void) +{ + clear(stockage_G,1); + + setTorque(stockage_G, TORQUE_ON,1); +} +void deverouillage_torque_convoyeurs_droit(void) +{ + clear(stockage_D,3); + + setTorque(stockage_D, TORQUE_ON,3); +} void deverouillage_torque_roues(void) {