catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Revision:
0:803105042c95
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ros_lib/ros_lib/octomap_msgs/OctomapWithPose.h	Mon Sep 26 13:45:05 2022 +0000
@@ -0,0 +1,56 @@
+#ifndef _ROS_octomap_msgs_OctomapWithPose_h
+#define _ROS_octomap_msgs_OctomapWithPose_h
+
+#include <stdint.h>
+#include <string.h>
+#include <stdlib.h>
+#include "ros/msg.h"
+#include "std_msgs/Header.h"
+#include "geometry_msgs/Pose.h"
+#include "octomap_msgs/Octomap.h"
+
+namespace octomap_msgs
+{
+
+  class OctomapWithPose : public ros::Msg
+  {
+    public:
+      typedef std_msgs::Header _header_type;
+      _header_type header;
+      typedef geometry_msgs::Pose _origin_type;
+      _origin_type origin;
+      typedef octomap_msgs::Octomap _octomap_type;
+      _octomap_type octomap;
+
+    OctomapWithPose():
+      header(),
+      origin(),
+      octomap()
+    {
+    }
+
+    virtual int serialize(unsigned char *outbuffer) const
+    {
+      int offset = 0;
+      offset += this->header.serialize(outbuffer + offset);
+      offset += this->origin.serialize(outbuffer + offset);
+      offset += this->octomap.serialize(outbuffer + offset);
+      return offset;
+    }
+
+    virtual int deserialize(unsigned char *inbuffer)
+    {
+      int offset = 0;
+      offset += this->header.deserialize(inbuffer + offset);
+      offset += this->origin.deserialize(inbuffer + offset);
+      offset += this->octomap.deserialize(inbuffer + offset);
+     return offset;
+    }
+
+    virtual const char * getType(){ return "octomap_msgs/OctomapWithPose"; };
+    virtual const char * getMD5(){ return "20b380aca6a508a657e95526cddaf618"; };
+
+  };
+
+}
+#endif