00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_COLLISIONOBJECT_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_COLLISIONOBJECT_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "geometry_msgs/PoseStamped.h"
00018 #include "geometry_msgs/Point.h"
00019
00020 namespace srs_assisted_arm_navigation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct CollisionObject_ {
00024 typedef CollisionObject_<ContainerAllocator> Type;
00025
00026 CollisionObject_()
00027 : name()
00028 , id()
00029 , pose()
00030 , bb_lwh()
00031 , allow_collision(false)
00032 , attached(false)
00033 , allow_pregrasps(false)
00034 {
00035 }
00036
00037 CollisionObject_(const ContainerAllocator& _alloc)
00038 : name(_alloc)
00039 , id(_alloc)
00040 , pose(_alloc)
00041 , bb_lwh(_alloc)
00042 , allow_collision(false)
00043 , attached(false)
00044 , allow_pregrasps(false)
00045 {
00046 }
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00050
00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _id_type;
00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > id;
00053
00054 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00055 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00056
00057 typedef ::geometry_msgs::Point_<ContainerAllocator> _bb_lwh_type;
00058 ::geometry_msgs::Point_<ContainerAllocator> bb_lwh;
00059
00060 typedef uint8_t _allow_collision_type;
00061 uint8_t allow_collision;
00062
00063 typedef uint8_t _attached_type;
00064 uint8_t attached;
00065
00066 typedef uint8_t _allow_pregrasps_type;
00067 uint8_t allow_pregrasps;
00068
00069
00070 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::srs_assisted_arm_navigation_msgs::CollisionObject_<std::allocator<void> > CollisionObject;
00075
00076 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::CollisionObject> CollisionObjectPtr;
00077 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::CollisionObject const> CollisionObjectConstPtr;
00078
00079
00080 template<typename ContainerAllocator>
00081 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> & v)
00082 {
00083 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> >::stream(s, "", v);
00084 return s;}
00085
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "6e08640b15af10838d660fe5e8275c69";
00099 }
00100
00101 static const char* value(const ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0x6e08640b15af1083ULL;
00103 static const uint64_t static_value2 = 0x8d660fe5e8275c69ULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "srs_assisted_arm_navigation_msgs/CollisionObject";
00111 }
00112
00113 static const char* value(const ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "string name\n\
00121 string id\n\
00122 geometry_msgs/PoseStamped pose\n\
00123 geometry_msgs/Point bb_lwh\n\
00124 bool allow_collision\n\
00125 bool attached\n\
00126 bool allow_pregrasps\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/PoseStamped\n\
00130 # A Pose with reference coordinate frame and timestamp\n\
00131 Header header\n\
00132 Pose pose\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: std_msgs/Header\n\
00136 # Standard metadata for higher-level stamped data types.\n\
00137 # This is generally used to communicate timestamped data \n\
00138 # in a particular coordinate frame.\n\
00139 # \n\
00140 # sequence ID: consecutively increasing ID \n\
00141 uint32 seq\n\
00142 #Two-integer timestamp that is expressed as:\n\
00143 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00144 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00145 # time-handling sugar is provided by the client library\n\
00146 time stamp\n\
00147 #Frame this data is associated with\n\
00148 # 0: no frame\n\
00149 # 1: global frame\n\
00150 string frame_id\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Pose\n\
00154 # A representation of pose in free space, composed of postion and orientation. \n\
00155 Point position\n\
00156 Quaternion orientation\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geometry_msgs/Point\n\
00160 # This contains the position of a point in free space\n\
00161 float64 x\n\
00162 float64 y\n\
00163 float64 z\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/Quaternion\n\
00167 # This represents an orientation in free space in quaternion form.\n\
00168 \n\
00169 float64 x\n\
00170 float64 y\n\
00171 float64 z\n\
00172 float64 w\n\
00173 \n\
00174 ";
00175 }
00176
00177 static const char* value(const ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 }
00181 }
00182
00183 namespace ros
00184 {
00185 namespace serialization
00186 {
00187
00188 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> >
00189 {
00190 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00191 {
00192 stream.next(m.name);
00193 stream.next(m.id);
00194 stream.next(m.pose);
00195 stream.next(m.bb_lwh);
00196 stream.next(m.allow_collision);
00197 stream.next(m.attached);
00198 stream.next(m.allow_pregrasps);
00199 }
00200
00201 ROS_DECLARE_ALLINONE_SERIALIZER;
00202 };
00203 }
00204 }
00205
00206 namespace ros
00207 {
00208 namespace message_operations
00209 {
00210
00211 template<class ContainerAllocator>
00212 struct Printer< ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> >
00213 {
00214 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::CollisionObject_<ContainerAllocator> & v)
00215 {
00216 s << indent << "name: ";
00217 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00218 s << indent << "id: ";
00219 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.id);
00220 s << indent << "pose: ";
00221 s << std::endl;
00222 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00223 s << indent << "bb_lwh: ";
00224 s << std::endl;
00225 Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + " ", v.bb_lwh);
00226 s << indent << "allow_collision: ";
00227 Printer<uint8_t>::stream(s, indent + " ", v.allow_collision);
00228 s << indent << "attached: ";
00229 Printer<uint8_t>::stream(s, indent + " ", v.attached);
00230 s << indent << "allow_pregrasps: ";
00231 Printer<uint8_t>::stream(s, indent + " ", v.allow_pregrasps);
00232 }
00233 };
00234
00235
00236 }
00237 }
00238
00239 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_COLLISIONOBJECT_H
00240