00001
00002 #ifndef PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTACTIONRESULT_H
00003 #define PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTACTIONRESULT_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 "std_msgs/Header.h"
00014 #include "actionlib_msgs/GoalStatus.h"
00015 #include "pr2_laser_snapshotter/TiltLaserSnapshotResult.h"
00016
00017 namespace pr2_laser_snapshotter
00018 {
00019 template <class ContainerAllocator>
00020 struct TiltLaserSnapshotActionResult_ : public ros::Message
00021 {
00022 typedef TiltLaserSnapshotActionResult_<ContainerAllocator> Type;
00023
00024 TiltLaserSnapshotActionResult_()
00025 : header()
00026 , status()
00027 , result()
00028 {
00029 }
00030
00031 TiltLaserSnapshotActionResult_(const ContainerAllocator& _alloc)
00032 : header(_alloc)
00033 , status(_alloc)
00034 , result(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _status_type;
00042 ::actionlib_msgs::GoalStatus_<ContainerAllocator> status;
00043
00044 typedef ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> _result_type;
00045 ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> result;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "pr2_laser_snapshotter/TiltLaserSnapshotActionResult"; }
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 "ace0030a3097af6fe220872fe01d4e18"; }
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 "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00064 \n\
00065 Header header\n\
00066 actionlib_msgs/GoalStatus status\n\
00067 TiltLaserSnapshotResult result\n\
00068 \n\
00069 ================================================================================\n\
00070 MSG: std_msgs/Header\n\
00071 # Standard metadata for higher-level stamped data types.\n\
00072 # This is generally used to communicate timestamped data \n\
00073 # in a particular coordinate frame.\n\
00074 # \n\
00075 # sequence ID: consecutively increasing ID \n\
00076 uint32 seq\n\
00077 #Two-integer timestamp that is expressed as:\n\
00078 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00079 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00080 # time-handling sugar is provided by the client library\n\
00081 time stamp\n\
00082 #Frame this data is associated with\n\
00083 # 0: no frame\n\
00084 # 1: global frame\n\
00085 string frame_id\n\
00086 \n\
00087 ================================================================================\n\
00088 MSG: actionlib_msgs/GoalStatus\n\
00089 GoalID goal_id\n\
00090 uint8 status\n\
00091 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00092 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00093 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00094 # and has since completed its execution (Terminal State)\n\
00095 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00096 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00097 # to some failure (Terminal State)\n\
00098 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00099 # because the goal was unattainable or invalid (Terminal State)\n\
00100 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00101 # and has not yet completed execution\n\
00102 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00103 # but the action server has not yet confirmed that the goal is canceled\n\
00104 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00105 # and was successfully cancelled (Terminal State)\n\
00106 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00107 # sent over the wire by an action server\n\
00108 \n\
00109 #Allow for the user to associate a string with GoalStatus for debugging\n\
00110 string text\n\
00111 \n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: actionlib_msgs/GoalID\n\
00115 # The stamp should store the time at which this goal was requested.\n\
00116 # It is used by an action server when it tries to preempt all\n\
00117 # goals that were requested before a certain time\n\
00118 time stamp\n\
00119 \n\
00120 # The id provides a way to associate feedback and\n\
00121 # result message with specific goal requests. The id\n\
00122 # specified must be unique.\n\
00123 string id\n\
00124 \n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: pr2_laser_snapshotter/TiltLaserSnapshotResult\n\
00128 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00129 sensor_msgs/PointCloud cloud\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: sensor_msgs/PointCloud\n\
00133 # This message holds a collection of 3d points, plus optional additional\n\
00134 # information about each point.\n\
00135 \n\
00136 # Time of sensor data acquisition, coordinate frame ID.\n\
00137 Header header\n\
00138 \n\
00139 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00140 # in the frame given in the header.\n\
00141 geometry_msgs/Point32[] points\n\
00142 \n\
00143 # Each channel should have the same number of elements as points array,\n\
00144 # and the data in each channel should correspond 1:1 with each point.\n\
00145 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00146 ChannelFloat32[] channels\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Point32\n\
00150 # This contains the position of a point in free space(with 32 bits of precision).\n\
00151 # It is recommeded to use Point wherever possible instead of Point32. \n\
00152 # \n\
00153 # This recommendation is to promote interoperability. \n\
00154 #\n\
00155 # This message is designed to take up less space when sending\n\
00156 # lots of points at once, as in the case of a PointCloud. \n\
00157 \n\
00158 float32 x\n\
00159 float32 y\n\
00160 float32 z\n\
00161 ================================================================================\n\
00162 MSG: sensor_msgs/ChannelFloat32\n\
00163 # This message is used by the PointCloud message to hold optional data\n\
00164 # associated with each point in the cloud. The length of the values\n\
00165 # array should be the same as the length of the points array in the\n\
00166 # PointCloud, and each value should be associated with the corresponding\n\
00167 # point.\n\
00168 \n\
00169 # Channel names in existing practice include:\n\
00170 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00171 # This is opposite to usual conventions but remains for\n\
00172 # historical reasons. The newer PointCloud2 message has no\n\
00173 # such problem.\n\
00174 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00175 # (R,G,B) values packed into the least significant 24 bits,\n\
00176 # in order.\n\
00177 # \"intensity\" - laser or pixel intensity.\n\
00178 # \"distance\"\n\
00179 \n\
00180 # The channel name should give semantics of the channel (e.g.\n\
00181 # \"intensity\" instead of \"value\").\n\
00182 string name\n\
00183 \n\
00184 # The values array should be 1-1 with the elements of the associated\n\
00185 # PointCloud.\n\
00186 float32[] values\n\
00187 \n\
00188 "; }
00189 public:
00190 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00191
00192 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00193
00194 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00195 {
00196 ros::serialization::OStream stream(write_ptr, 1000000000);
00197 ros::serialization::serialize(stream, header);
00198 ros::serialization::serialize(stream, status);
00199 ros::serialization::serialize(stream, result);
00200 return stream.getData();
00201 }
00202
00203 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00204 {
00205 ros::serialization::IStream stream(read_ptr, 1000000000);
00206 ros::serialization::deserialize(stream, header);
00207 ros::serialization::deserialize(stream, status);
00208 ros::serialization::deserialize(stream, result);
00209 return stream.getData();
00210 }
00211
00212 ROS_DEPRECATED virtual uint32_t serializationLength() const
00213 {
00214 uint32_t size = 0;
00215 size += ros::serialization::serializationLength(header);
00216 size += ros::serialization::serializationLength(status);
00217 size += ros::serialization::serializationLength(result);
00218 return size;
00219 }
00220
00221 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> > Ptr;
00222 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> const> ConstPtr;
00223 };
00224 typedef ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<std::allocator<void> > TiltLaserSnapshotActionResult;
00225
00226 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult> TiltLaserSnapshotActionResultPtr;
00227 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult const> TiltLaserSnapshotActionResultConstPtr;
00228
00229
00230 template<typename ContainerAllocator>
00231 std::ostream& operator<<(std::ostream& s, const ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> & v)
00232 {
00233 ros::message_operations::Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> >::stream(s, "", v);
00234 return s;}
00235
00236 }
00237
00238 namespace ros
00239 {
00240 namespace message_traits
00241 {
00242 template<class ContainerAllocator>
00243 struct MD5Sum< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> > {
00244 static const char* value()
00245 {
00246 return "ace0030a3097af6fe220872fe01d4e18";
00247 }
00248
00249 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> &) { return value(); }
00250 static const uint64_t static_value1 = 0xace0030a3097af6fULL;
00251 static const uint64_t static_value2 = 0xe220872fe01d4e18ULL;
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct DataType< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "pr2_laser_snapshotter/TiltLaserSnapshotActionResult";
00259 }
00260
00261 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct Definition< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00269 \n\
00270 Header header\n\
00271 actionlib_msgs/GoalStatus status\n\
00272 TiltLaserSnapshotResult result\n\
00273 \n\
00274 ================================================================================\n\
00275 MSG: std_msgs/Header\n\
00276 # Standard metadata for higher-level stamped data types.\n\
00277 # This is generally used to communicate timestamped data \n\
00278 # in a particular coordinate frame.\n\
00279 # \n\
00280 # sequence ID: consecutively increasing ID \n\
00281 uint32 seq\n\
00282 #Two-integer timestamp that is expressed as:\n\
00283 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00284 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00285 # time-handling sugar is provided by the client library\n\
00286 time stamp\n\
00287 #Frame this data is associated with\n\
00288 # 0: no frame\n\
00289 # 1: global frame\n\
00290 string frame_id\n\
00291 \n\
00292 ================================================================================\n\
00293 MSG: actionlib_msgs/GoalStatus\n\
00294 GoalID goal_id\n\
00295 uint8 status\n\
00296 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00297 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00298 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00299 # and has since completed its execution (Terminal State)\n\
00300 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00301 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00302 # to some failure (Terminal State)\n\
00303 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00304 # because the goal was unattainable or invalid (Terminal State)\n\
00305 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00306 # and has not yet completed execution\n\
00307 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00308 # but the action server has not yet confirmed that the goal is canceled\n\
00309 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00310 # and was successfully cancelled (Terminal State)\n\
00311 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00312 # sent over the wire by an action server\n\
00313 \n\
00314 #Allow for the user to associate a string with GoalStatus for debugging\n\
00315 string text\n\
00316 \n\
00317 \n\
00318 ================================================================================\n\
00319 MSG: actionlib_msgs/GoalID\n\
00320 # The stamp should store the time at which this goal was requested.\n\
00321 # It is used by an action server when it tries to preempt all\n\
00322 # goals that were requested before a certain time\n\
00323 time stamp\n\
00324 \n\
00325 # The id provides a way to associate feedback and\n\
00326 # result message with specific goal requests. The id\n\
00327 # specified must be unique.\n\
00328 string id\n\
00329 \n\
00330 \n\
00331 ================================================================================\n\
00332 MSG: pr2_laser_snapshotter/TiltLaserSnapshotResult\n\
00333 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00334 sensor_msgs/PointCloud cloud\n\
00335 \n\
00336 ================================================================================\n\
00337 MSG: sensor_msgs/PointCloud\n\
00338 # This message holds a collection of 3d points, plus optional additional\n\
00339 # information about each point.\n\
00340 \n\
00341 # Time of sensor data acquisition, coordinate frame ID.\n\
00342 Header header\n\
00343 \n\
00344 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00345 # in the frame given in the header.\n\
00346 geometry_msgs/Point32[] points\n\
00347 \n\
00348 # Each channel should have the same number of elements as points array,\n\
00349 # and the data in each channel should correspond 1:1 with each point.\n\
00350 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00351 ChannelFloat32[] channels\n\
00352 \n\
00353 ================================================================================\n\
00354 MSG: geometry_msgs/Point32\n\
00355 # This contains the position of a point in free space(with 32 bits of precision).\n\
00356 # It is recommeded to use Point wherever possible instead of Point32. \n\
00357 # \n\
00358 # This recommendation is to promote interoperability. \n\
00359 #\n\
00360 # This message is designed to take up less space when sending\n\
00361 # lots of points at once, as in the case of a PointCloud. \n\
00362 \n\
00363 float32 x\n\
00364 float32 y\n\
00365 float32 z\n\
00366 ================================================================================\n\
00367 MSG: sensor_msgs/ChannelFloat32\n\
00368 # This message is used by the PointCloud message to hold optional data\n\
00369 # associated with each point in the cloud. The length of the values\n\
00370 # array should be the same as the length of the points array in the\n\
00371 # PointCloud, and each value should be associated with the corresponding\n\
00372 # point.\n\
00373 \n\
00374 # Channel names in existing practice include:\n\
00375 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00376 # This is opposite to usual conventions but remains for\n\
00377 # historical reasons. The newer PointCloud2 message has no\n\
00378 # such problem.\n\
00379 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00380 # (R,G,B) values packed into the least significant 24 bits,\n\
00381 # in order.\n\
00382 # \"intensity\" - laser or pixel intensity.\n\
00383 # \"distance\"\n\
00384 \n\
00385 # The channel name should give semantics of the channel (e.g.\n\
00386 # \"intensity\" instead of \"value\").\n\
00387 string name\n\
00388 \n\
00389 # The values array should be 1-1 with the elements of the associated\n\
00390 # PointCloud.\n\
00391 float32[] values\n\
00392 \n\
00393 ";
00394 }
00395
00396 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> &) { return value(); }
00397 };
00398
00399 template<class ContainerAllocator> struct HasHeader< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> > : public TrueType {};
00400 template<class ContainerAllocator> struct HasHeader< const ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> > : public TrueType {};
00401 }
00402 }
00403
00404 namespace ros
00405 {
00406 namespace serialization
00407 {
00408
00409 template<class ContainerAllocator> struct Serializer< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> >
00410 {
00411 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00412 {
00413 stream.next(m.header);
00414 stream.next(m.status);
00415 stream.next(m.result);
00416 }
00417
00418 ROS_DECLARE_ALLINONE_SERIALIZER;
00419 };
00420 }
00421 }
00422
00423 namespace ros
00424 {
00425 namespace message_operations
00426 {
00427
00428 template<class ContainerAllocator>
00429 struct Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> >
00430 {
00431 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_laser_snapshotter::TiltLaserSnapshotActionResult_<ContainerAllocator> & v)
00432 {
00433 s << indent << "header: ";
00434 s << std::endl;
00435 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00436 s << indent << "status: ";
00437 s << std::endl;
00438 Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.status);
00439 s << indent << "result: ";
00440 s << std::endl;
00441 Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> >::stream(s, indent + " ", v.result);
00442 }
00443 };
00444
00445
00446 }
00447 }
00448
00449 #endif // PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTACTIONRESULT_H
00450