Lib for Gobeur action

Dependents:  

Files at this revision

API Documentation at this revision

Comitter:
mondiaye
Date:
Mon Jul 05 19:50:05 2021 +0000
Parent:
1:f18f5b34eece
Commit message:
logs added and loops fixed

Changed in this revision

Gobeur.h Show annotated file Show diff for this revision Revisions of this file
gobeur_lib.h Show annotated file Show diff for this revision Revisions of this file
--- a/Gobeur.h	Mon Jul 05 17:29:10 2021 +0000
+++ b/Gobeur.h	Mon Jul 05 19:50:05 2021 +0000
@@ -6,7 +6,7 @@
 #include <stdlib.h>
 #include "ros/msg.h"
 
-namespace stm32_gobeur
+namespace gobeur_node
 {
 
   class Gobeur : public ros::Msg
@@ -71,8 +71,8 @@
      return offset;
     }
 
-    const char * getType(){ return "stm32_gobeur/Gobeur"; };
-    const char * getMD5(){ return "5e6d8a0a49a30fe003418b63e30ef455"; };
+    const char * getType(){ return "gobeur_node/Gobeur"; };
+    const char * getMD5(){ return "a815ad8e99f7afa3407df9769a024935"; };
 
   };
 
--- a/gobeur_lib.h	Mon Jul 05 17:29:10 2021 +0000
+++ b/gobeur_lib.h	Mon Jul 05 19:50:05 2021 +0000
@@ -27,4 +27,5 @@
 int aspirateur_off(uint8_t gobeur_id) ; 
 int block_gobelet(uint8_t gobeur_id) ; 
 int unblock_gobelet(uint8_t gobeur_id) ; 
+void gobeur_action(const gobeur_node::Gobeur& gobeur_msg);