00001
00002 #ifndef COLLISION_ENVIRONMENT_MSGS_MESSAGE_MAKESTATICCOLLISIONMAPACTION_H
00003 #define COLLISION_ENVIRONMENT_MSGS_MESSAGE_MAKESTATICCOLLISIONMAPACTION_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "collision_environment_msgs/MakeStaticCollisionMapActionGoal.h"
00014 #include "collision_environment_msgs/MakeStaticCollisionMapActionResult.h"
00015 #include "collision_environment_msgs/MakeStaticCollisionMapActionFeedback.h"
00016
00017 namespace collision_environment_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct MakeStaticCollisionMapAction_ : public ros::Message
00021 {
00022 typedef MakeStaticCollisionMapAction_<ContainerAllocator> Type;
00023
00024 MakeStaticCollisionMapAction_()
00025 : action_goal()
00026 , action_result()
00027 , action_feedback()
00028 {
00029 }
00030
00031 MakeStaticCollisionMapAction_(const ContainerAllocator& _alloc)
00032 : action_goal(_alloc)
00033 , action_result(_alloc)
00034 , action_feedback(_alloc)
00035 {
00036 }
00037
00038 typedef ::collision_environment_msgs::MakeStaticCollisionMapActionGoal_<ContainerAllocator> _action_goal_type;
00039 ::collision_environment_msgs::MakeStaticCollisionMapActionGoal_<ContainerAllocator> action_goal;
00040
00041 typedef ::collision_environment_msgs::MakeStaticCollisionMapActionResult_<ContainerAllocator> _action_result_type;
00042 ::collision_environment_msgs::MakeStaticCollisionMapActionResult_<ContainerAllocator> action_result;
00043
00044 typedef ::collision_environment_msgs::MakeStaticCollisionMapActionFeedback_<ContainerAllocator> _action_feedback_type;
00045 ::collision_environment_msgs::MakeStaticCollisionMapActionFeedback_<ContainerAllocator> action_feedback;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "collision_environment_msgs/MakeStaticCollisionMapAction"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00052
00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00054
00055 private:
00056 static const char* __s_getMD5Sum_() { return "aa13998383a2996b29b6fe4862547a17"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00059
00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00061
00062 private:
00063 static const char* __s_getMessageDefinition_() { return "\n\
00064 MakeStaticCollisionMapActionGoal action_goal\n\
00065 MakeStaticCollisionMapActionResult action_result\n\
00066 MakeStaticCollisionMapActionFeedback action_feedback\n\
00067 \n\
00068 ================================================================================\n\
00069 MSG: collision_environment_msgs/MakeStaticCollisionMapActionGoal\n\
00070 \n\
00071 Header header\n\
00072 actionlib_msgs/GoalID goal_id\n\
00073 MakeStaticCollisionMapGoal goal\n\
00074 \n\
00075 ================================================================================\n\
00076 MSG: std_msgs/Header\n\
00077 # Standard metadata for higher-level stamped data types.\n\
00078 # This is generally used to communicate timestamped data \n\
00079 # in a particular coordinate frame.\n\
00080 # \n\
00081 # sequence ID: consecutively increasing ID \n\
00082 uint32 seq\n\
00083 #Two-integer timestamp that is expressed as:\n\
00084 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00085 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00086 # time-handling sugar is provided by the client library\n\
00087 time stamp\n\
00088 #Frame this data is associated with\n\
00089 # 0: no frame\n\
00090 # 1: global frame\n\
00091 string frame_id\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: actionlib_msgs/GoalID\n\
00095 # The stamp should store the time at which this goal was requested.\n\
00096 # It is used by an action server when it tries to preempt all\n\
00097 # goals that were requested before a certain time\n\
00098 time stamp\n\
00099 \n\
00100 # The id provides a way to associate feedback and\n\
00101 # result message with specific goal requests. The id\n\
00102 # specified must be unique.\n\
00103 string id\n\
00104 \n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: collision_environment_msgs/MakeStaticCollisionMapGoal\n\
00108 #The source to use to make the stable map\n\
00109 string cloud_source\n\
00110 \n\
00111 #The number of clouds to compose the stable map\n\
00112 int32 number_of_clouds\n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: collision_environment_msgs/MakeStaticCollisionMapActionResult\n\
00116 \n\
00117 Header header\n\
00118 actionlib_msgs/GoalStatus status\n\
00119 MakeStaticCollisionMapResult result\n\
00120 \n\
00121 ================================================================================\n\
00122 MSG: actionlib_msgs/GoalStatus\n\
00123 GoalID goal_id\n\
00124 uint8 status\n\
00125 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00126 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00127 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00128 # and has since completed its execution (Terminal State)\n\
00129 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00130 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00131 # to some failure (Terminal State)\n\
00132 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00133 # because the goal was unattainable or invalid (Terminal State)\n\
00134 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00135 # and has not yet completed execution\n\
00136 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00137 # but the action server has not yet confirmed that the goal is canceled\n\
00138 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00139 # and was successfully cancelled (Terminal State)\n\
00140 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00141 # sent over the wire by an action server\n\
00142 \n\
00143 #Allow for the user to associate a string with GoalStatus for debugging\n\
00144 string text\n\
00145 \n\
00146 \n\
00147 ================================================================================\n\
00148 MSG: collision_environment_msgs/MakeStaticCollisionMapResult\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: collision_environment_msgs/MakeStaticCollisionMapActionFeedback\n\
00152 \n\
00153 Header header\n\
00154 actionlib_msgs/GoalStatus status\n\
00155 MakeStaticCollisionMapFeedback feedback\n\
00156 \n\
00157 ================================================================================\n\
00158 MSG: collision_environment_msgs/MakeStaticCollisionMapFeedback\n\
00159 \n\
00160 \n\
00161 "; }
00162 public:
00163 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00164
00165 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00166
00167 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00168 {
00169 ros::serialization::OStream stream(write_ptr, 1000000000);
00170 ros::serialization::serialize(stream, action_goal);
00171 ros::serialization::serialize(stream, action_result);
00172 ros::serialization::serialize(stream, action_feedback);
00173 return stream.getData();
00174 }
00175
00176 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00177 {
00178 ros::serialization::IStream stream(read_ptr, 1000000000);
00179 ros::serialization::deserialize(stream, action_goal);
00180 ros::serialization::deserialize(stream, action_result);
00181 ros::serialization::deserialize(stream, action_feedback);
00182 return stream.getData();
00183 }
00184
00185 ROS_DEPRECATED virtual uint32_t serializationLength() const
00186 {
00187 uint32_t size = 0;
00188 size += ros::serialization::serializationLength(action_goal);
00189 size += ros::serialization::serializationLength(action_result);
00190 size += ros::serialization::serializationLength(action_feedback);
00191 return size;
00192 }
00193
00194 typedef boost::shared_ptr< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> > Ptr;
00195 typedef boost::shared_ptr< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> const> ConstPtr;
00196 };
00197 typedef ::collision_environment_msgs::MakeStaticCollisionMapAction_<std::allocator<void> > MakeStaticCollisionMapAction;
00198
00199 typedef boost::shared_ptr< ::collision_environment_msgs::MakeStaticCollisionMapAction> MakeStaticCollisionMapActionPtr;
00200 typedef boost::shared_ptr< ::collision_environment_msgs::MakeStaticCollisionMapAction const> MakeStaticCollisionMapActionConstPtr;
00201
00202
00203 template<typename ContainerAllocator>
00204 std::ostream& operator<<(std::ostream& s, const ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> & v)
00205 {
00206 ros::message_operations::Printer< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> >::stream(s, "", v);
00207 return s;}
00208
00209 }
00210
00211 namespace ros
00212 {
00213 namespace message_traits
00214 {
00215 template<class ContainerAllocator>
00216 struct MD5Sum< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> > {
00217 static const char* value()
00218 {
00219 return "aa13998383a2996b29b6fe4862547a17";
00220 }
00221
00222 static const char* value(const ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> &) { return value(); }
00223 static const uint64_t static_value1 = 0xaa13998383a2996bULL;
00224 static const uint64_t static_value2 = 0x29b6fe4862547a17ULL;
00225 };
00226
00227 template<class ContainerAllocator>
00228 struct DataType< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> > {
00229 static const char* value()
00230 {
00231 return "collision_environment_msgs/MakeStaticCollisionMapAction";
00232 }
00233
00234 static const char* value(const ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> &) { return value(); }
00235 };
00236
00237 template<class ContainerAllocator>
00238 struct Definition< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> > {
00239 static const char* value()
00240 {
00241 return "\n\
00242 MakeStaticCollisionMapActionGoal action_goal\n\
00243 MakeStaticCollisionMapActionResult action_result\n\
00244 MakeStaticCollisionMapActionFeedback action_feedback\n\
00245 \n\
00246 ================================================================================\n\
00247 MSG: collision_environment_msgs/MakeStaticCollisionMapActionGoal\n\
00248 \n\
00249 Header header\n\
00250 actionlib_msgs/GoalID goal_id\n\
00251 MakeStaticCollisionMapGoal goal\n\
00252 \n\
00253 ================================================================================\n\
00254 MSG: std_msgs/Header\n\
00255 # Standard metadata for higher-level stamped data types.\n\
00256 # This is generally used to communicate timestamped data \n\
00257 # in a particular coordinate frame.\n\
00258 # \n\
00259 # sequence ID: consecutively increasing ID \n\
00260 uint32 seq\n\
00261 #Two-integer timestamp that is expressed as:\n\
00262 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00263 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00264 # time-handling sugar is provided by the client library\n\
00265 time stamp\n\
00266 #Frame this data is associated with\n\
00267 # 0: no frame\n\
00268 # 1: global frame\n\
00269 string frame_id\n\
00270 \n\
00271 ================================================================================\n\
00272 MSG: actionlib_msgs/GoalID\n\
00273 # The stamp should store the time at which this goal was requested.\n\
00274 # It is used by an action server when it tries to preempt all\n\
00275 # goals that were requested before a certain time\n\
00276 time stamp\n\
00277 \n\
00278 # The id provides a way to associate feedback and\n\
00279 # result message with specific goal requests. The id\n\
00280 # specified must be unique.\n\
00281 string id\n\
00282 \n\
00283 \n\
00284 ================================================================================\n\
00285 MSG: collision_environment_msgs/MakeStaticCollisionMapGoal\n\
00286 #The source to use to make the stable map\n\
00287 string cloud_source\n\
00288 \n\
00289 #The number of clouds to compose the stable map\n\
00290 int32 number_of_clouds\n\
00291 \n\
00292 ================================================================================\n\
00293 MSG: collision_environment_msgs/MakeStaticCollisionMapActionResult\n\
00294 \n\
00295 Header header\n\
00296 actionlib_msgs/GoalStatus status\n\
00297 MakeStaticCollisionMapResult result\n\
00298 \n\
00299 ================================================================================\n\
00300 MSG: actionlib_msgs/GoalStatus\n\
00301 GoalID goal_id\n\
00302 uint8 status\n\
00303 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00304 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00305 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00306 # and has since completed its execution (Terminal State)\n\
00307 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00308 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00309 # to some failure (Terminal State)\n\
00310 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00311 # because the goal was unattainable or invalid (Terminal State)\n\
00312 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00313 # and has not yet completed execution\n\
00314 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00315 # but the action server has not yet confirmed that the goal is canceled\n\
00316 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00317 # and was successfully cancelled (Terminal State)\n\
00318 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00319 # sent over the wire by an action server\n\
00320 \n\
00321 #Allow for the user to associate a string with GoalStatus for debugging\n\
00322 string text\n\
00323 \n\
00324 \n\
00325 ================================================================================\n\
00326 MSG: collision_environment_msgs/MakeStaticCollisionMapResult\n\
00327 \n\
00328 ================================================================================\n\
00329 MSG: collision_environment_msgs/MakeStaticCollisionMapActionFeedback\n\
00330 \n\
00331 Header header\n\
00332 actionlib_msgs/GoalStatus status\n\
00333 MakeStaticCollisionMapFeedback feedback\n\
00334 \n\
00335 ================================================================================\n\
00336 MSG: collision_environment_msgs/MakeStaticCollisionMapFeedback\n\
00337 \n\
00338 \n\
00339 ";
00340 }
00341
00342 static const char* value(const ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> &) { return value(); }
00343 };
00344
00345 }
00346 }
00347
00348 namespace ros
00349 {
00350 namespace serialization
00351 {
00352
00353 template<class ContainerAllocator> struct Serializer< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> >
00354 {
00355 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00356 {
00357 stream.next(m.action_goal);
00358 stream.next(m.action_result);
00359 stream.next(m.action_feedback);
00360 }
00361
00362 ROS_DECLARE_ALLINONE_SERIALIZER;
00363 };
00364 }
00365 }
00366
00367 namespace ros
00368 {
00369 namespace message_operations
00370 {
00371
00372 template<class ContainerAllocator>
00373 struct Printer< ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> >
00374 {
00375 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::collision_environment_msgs::MakeStaticCollisionMapAction_<ContainerAllocator> & v)
00376 {
00377 s << indent << "action_goal: ";
00378 s << std::endl;
00379 Printer< ::collision_environment_msgs::MakeStaticCollisionMapActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00380 s << indent << "action_result: ";
00381 s << std::endl;
00382 Printer< ::collision_environment_msgs::MakeStaticCollisionMapActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00383 s << indent << "action_feedback: ";
00384 s << std::endl;
00385 Printer< ::collision_environment_msgs::MakeStaticCollisionMapActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00386 }
00387 };
00388
00389
00390 }
00391 }
00392
00393 #endif // COLLISION_ENVIRONMENT_MSGS_MESSAGE_MAKESTATICCOLLISIONMAPACTION_H
00394