UTCoupe / Gobeur

Dependents:   stm32_actuator_gobeur

Files at this revision

API Documentation at this revision

Comitter:
kyxstark
Date:
Thu Jul 08 22:45:59 2021 +0000
Parent:
4:bc5e3a8e3f92
Commit message:
peut de modif;

Changed in this revision

Gobeur.cpp Show annotated file Show diff for this revision Revisions of this file
Gobeur.h Show annotated file Show diff for this revision Revisions of this file
--- a/Gobeur.cpp	Thu Jul 08 16:42:22 2021 +0000
+++ b/Gobeur.cpp	Thu Jul 08 22:45:59 2021 +0000
@@ -21,7 +21,7 @@
     switch(_state)
     {
         case released:
-            if( (_order == suck ) || ((clock_s() - _time) > 2*GOBEUR_PAUSE_TIMEOUT)&&1 )
+            if( (_order == suck ) || ((clock_s() - _time) > 2*GOBEUR_PAUSE_TIMEOUT)&&0 )
             {
                  _state = sucking;
                  //                                                     *_servo = GOBEUR_SERVO_POS_OPEN;
@@ -49,7 +49,7 @@
             }
             break;
         case sucked:
-            if( (_order == release ) || ((clock_s() - _time) > GOBEUR_PAUSE_TIMEOUT)&&1 )
+            if( (_order == release ) || ((clock_s() - _time) > GOBEUR_PAUSE_TIMEOUT)&&0)
             {
                  _state = releasing;
                  *_servo = _servo_open;
--- a/Gobeur.h	Thu Jul 08 16:42:22 2021 +0000
+++ b/Gobeur.h	Thu Jul 08 22:45:59 2021 +0000
@@ -17,7 +17,7 @@
 
 
 
-namespace gobeur_node
+namespace stm32_actuators_node
 {
 
   class Gobeur_msg : public ros::Msg
@@ -54,15 +54,15 @@
             return offset;
         }
     
-        const char * getType(){ return "gobeur_node/Gobeur_msg"; };
-        const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
+        const char * getType(){ return "stm32_actuators/Gobeur_msg"; };
+        const char * getMD5(){ return "02fe53940b821cdd54efe4bd91e2b68b"; };
 
   };
 
 }
 
 
-void gobeur_trait_msg(const gobeur_node::Gobeur_msg& gobeur_msg);
+void gobeur_trait_msg(const stm32_actuators_node::Gobeur_msg& gobeur_msg);