ROS Serial library for Mbed platforms for ROS Indigo Igloo. Check http://wiki.ros.org/rosserial_mbed/ for more information

Dependencies:   BufferedSerial

Dependents:   rosserial_mbed_hello_world_publisher rtos_base_control rosserial_mbed_F64MA ROS-RTOS ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GetMapAction.h Source File

GetMapAction.h

00001 #ifndef _ROS_nav_msgs_GetMapAction_h
00002 #define _ROS_nav_msgs_GetMapAction_h
00003 
00004 #include <stdint.h>
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include "ros/msg.h"
00008 #include "nav_msgs/GetMapActionGoal.h"
00009 #include "nav_msgs/GetMapActionResult.h"
00010 #include "nav_msgs/GetMapActionFeedback.h"
00011 
00012 namespace nav_msgs
00013 {
00014 
00015   class GetMapAction : public ros::Msg
00016   {
00017     public:
00018       nav_msgs::GetMapActionGoal action_goal;
00019       nav_msgs::GetMapActionResult action_result;
00020       nav_msgs::GetMapActionFeedback action_feedback;
00021 
00022     GetMapAction():
00023       action_goal(),
00024       action_result(),
00025       action_feedback()
00026     {
00027     }
00028 
00029     virtual int serialize(unsigned char *outbuffer) const
00030     {
00031       int offset = 0;
00032       offset += this->action_goal.serialize(outbuffer + offset);
00033       offset += this->action_result.serialize(outbuffer + offset);
00034       offset += this->action_feedback.serialize(outbuffer + offset);
00035       return offset;
00036     }
00037 
00038     virtual int deserialize(unsigned char *inbuffer)
00039     {
00040       int offset = 0;
00041       offset += this->action_goal.deserialize(inbuffer + offset);
00042       offset += this->action_result.deserialize(inbuffer + offset);
00043       offset += this->action_feedback.deserialize(inbuffer + offset);
00044      return offset;
00045     }
00046 
00047     const char * getType(){ return "nav_msgs/GetMapAction"; };
00048     const char * getMD5(){ return "e611ad23fbf237c031b7536416dc7cd7"; };
00049 
00050   };
00051 
00052 }
00053 #endif