![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
action gobeur
Dependencies: ros_messages mbed Servo Manche_a_air Gobeur ros_lib_melodic
Diff: main.cpp
- Revision:
- 5:c38735ab64dc
- Parent:
- 4:851261a9273b
- Child:
- 6:4af07c2de6ba
--- a/main.cpp Mon Jul 05 20:46:35 2021 +0000 +++ b/main.cpp Tue Jul 06 11:59:27 2021 +0000 @@ -26,14 +26,17 @@ void gobeur_initialize() { - gobeur_right_aspire_servo = 0; - gobeur_left_aspire_servo = 0; + gobeur_right_block_servo = 0.0; + gobeur_left_block_servo = 0.0 + + gobeur_right_aspire_servo = 0.0; + gobeur_left_aspire_servo = 0.0; wait(2); gobeur_right_aspire_servo = 1.0; gobeur_left_aspire_servo = 1.0; wait(2); - gobeur_right_aspire_servo = 0; - gobeur_left_aspire_servo = 0; + gobeur_right_aspire_servo = 0.0; + gobeur_left_aspire_servo = 0.0; wait(2); nh.loginfo("Actuators initialised"); }