rosserial library for mbed Inspired by nucho's rosserial library This library is still under development

Dependencies:   MODSERIAL mbed

Dependents:   mbed_roshydro_test

Library still under development!

Revision:
0:30537dec6e0b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pr2_mechanism_msgs/ReloadControllerLibraries.h	Sun Feb 15 10:53:43 2015 +0000
@@ -0,0 +1,105 @@
+#ifndef _ROS_SERVICE_ReloadControllerLibraries_h
+#define _ROS_SERVICE_ReloadControllerLibraries_h
+#include <stdint.h>
+#include <string.h>
+#include <stdlib.h>
+#include "ros/msg.h"
+
+namespace pr2_mechanism_msgs
+{
+
+static const char RELOADCONTROLLERLIBRARIES[] = "pr2_mechanism_msgs/ReloadControllerLibraries";
+
+  class ReloadControllerLibrariesRequest : public ros::Msg
+  {
+    public:
+      bool force_kill;
+
+    ReloadControllerLibrariesRequest():
+      force_kill(0)
+    {
+    }
+
+    virtual int serialize(unsigned char *outbuffer) const
+    {
+      int offset = 0;
+      union {
+        bool real;
+        uint8_t base;
+      } u_force_kill;
+      u_force_kill.real = this->force_kill;
+      *(outbuffer + offset + 0) = (u_force_kill.base >> (8 * 0)) & 0xFF;
+      offset += sizeof(this->force_kill);
+      return offset;
+    }
+
+    virtual int deserialize(unsigned char *inbuffer)
+    {
+      int offset = 0;
+      union {
+        bool real;
+        uint8_t base;
+      } u_force_kill;
+      u_force_kill.base = 0;
+      u_force_kill.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0);
+      this->force_kill = u_force_kill.real;
+      offset += sizeof(this->force_kill);
+     return offset;
+    }
+
+    const char * getType(){ return RELOADCONTROLLERLIBRARIES; };
+    const char * getMD5(){ return "18442b59be9479097f11c543bddbac62"; };
+
+  };
+
+  class ReloadControllerLibrariesResponse : public ros::Msg
+  {
+    public:
+      bool ok;
+
+    ReloadControllerLibrariesResponse():
+      ok(0)
+    {
+    }
+
+    virtual int serialize(unsigned char *outbuffer) const
+    {
+      int offset = 0;
+      union {
+        bool real;
+        uint8_t base;
+      } u_ok;
+      u_ok.real = this->ok;
+      *(outbuffer + offset + 0) = (u_ok.base >> (8 * 0)) & 0xFF;
+      offset += sizeof(this->ok);
+      return offset;
+    }
+
+    virtual int deserialize(unsigned char *inbuffer)
+    {
+      int offset = 0;
+      union {
+        bool real;
+        uint8_t base;
+      } u_ok;
+      u_ok.base = 0;
+      u_ok.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0);
+      this->ok = u_ok.real;
+      offset += sizeof(this->ok);
+     return offset;
+    }
+
+    const char * getType(){ return RELOADCONTROLLERLIBRARIES; };
+    const char * getMD5(){ return "6f6da3883749771fac40d6deb24a8c02"; };
+
+  };
+
+  class ReloadControllerLibraries {
+    public:
+    typedef ReloadControllerLibrariesRequest Request;
+    typedef ReloadControllerLibrariesResponse Response;
+  };
+
+}
+#endif
+