$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_common/doc_stacks/2013-03-01_14-38-37.978792/cob_common/brics_actuator/msg/CartesianPose.msg */ 00002 #ifndef BRICS_ACTUATOR_MESSAGE_CARTESIANPOSE_H 00003 #define BRICS_ACTUATOR_MESSAGE_CARTESIANPOSE_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 "brics_actuator/Poison.h" 00018 #include "brics_actuator/CartesianVector.h" 00019 #include "geometry_msgs/Quaternion.h" 00020 00021 namespace brics_actuator 00022 { 00023 template <class ContainerAllocator> 00024 struct CartesianPose_ { 00025 typedef CartesianPose_<ContainerAllocator> Type; 00026 00027 CartesianPose_() 00028 : timeStamp() 00029 , poisonStamp() 00030 , base_frame_uri() 00031 , target_frame_uri() 00032 , position() 00033 , orientation() 00034 { 00035 } 00036 00037 CartesianPose_(const ContainerAllocator& _alloc) 00038 : timeStamp() 00039 , poisonStamp(_alloc) 00040 , base_frame_uri(_alloc) 00041 , target_frame_uri(_alloc) 00042 , position(_alloc) 00043 , orientation(_alloc) 00044 { 00045 } 00046 00047 typedef ros::Time _timeStamp_type; 00048 ros::Time timeStamp; 00049 00050 typedef ::brics_actuator::Poison_<ContainerAllocator> _poisonStamp_type; 00051 ::brics_actuator::Poison_<ContainerAllocator> poisonStamp; 00052 00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _base_frame_uri_type; 00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > base_frame_uri; 00055 00056 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_frame_uri_type; 00057 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_frame_uri; 00058 00059 typedef ::brics_actuator::CartesianVector_<ContainerAllocator> _position_type; 00060 ::brics_actuator::CartesianVector_<ContainerAllocator> position; 00061 00062 typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _orientation_type; 00063 ::geometry_msgs::Quaternion_<ContainerAllocator> orientation; 00064 00065 00066 private: 00067 static const char* __s_getDataType_() { return "brics_actuator/CartesianPose"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00070 00071 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00072 00073 private: 00074 static const char* __s_getMD5Sum_() { return "0fe287468091771914ed98dea2d2a5a5"; } 00075 public: 00076 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00077 00078 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00079 00080 private: 00081 static const char* __s_getMessageDefinition_() { return "time timeStamp\n\ 00082 Poison poisonStamp\n\ 00083 string base_frame_uri\n\ 00084 string target_frame_uri\n\ 00085 CartesianVector position\n\ 00086 geometry_msgs/Quaternion orientation\n\ 00087 \n\ 00088 ================================================================================\n\ 00089 MSG: brics_actuator/Poison\n\ 00090 string originator # node id\n\ 00091 string description # encoding still an issue\n\ 00092 float32 qos # reliability of the channel\n\ 00093 # 0..1 where 1 means healthy\n\ 00094 \n\ 00095 ================================================================================\n\ 00096 MSG: brics_actuator/CartesianVector\n\ 00097 string unit\n\ 00098 float64 x\n\ 00099 float64 y\n\ 00100 float64 z\n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: geometry_msgs/Quaternion\n\ 00104 # This represents an orientation in free space in quaternion form.\n\ 00105 \n\ 00106 float64 x\n\ 00107 float64 y\n\ 00108 float64 z\n\ 00109 float64 w\n\ 00110 \n\ 00111 "; } 00112 public: 00113 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00116 00117 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00118 { 00119 ros::serialization::OStream stream(write_ptr, 1000000000); 00120 ros::serialization::serialize(stream, timeStamp); 00121 ros::serialization::serialize(stream, poisonStamp); 00122 ros::serialization::serialize(stream, base_frame_uri); 00123 ros::serialization::serialize(stream, target_frame_uri); 00124 ros::serialization::serialize(stream, position); 00125 ros::serialization::serialize(stream, orientation); 00126 return stream.getData(); 00127 } 00128 00129 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00130 { 00131 ros::serialization::IStream stream(read_ptr, 1000000000); 00132 ros::serialization::deserialize(stream, timeStamp); 00133 ros::serialization::deserialize(stream, poisonStamp); 00134 ros::serialization::deserialize(stream, base_frame_uri); 00135 ros::serialization::deserialize(stream, target_frame_uri); 00136 ros::serialization::deserialize(stream, position); 00137 ros::serialization::deserialize(stream, orientation); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint32_t serializationLength() const 00142 { 00143 uint32_t size = 0; 00144 size += ros::serialization::serializationLength(timeStamp); 00145 size += ros::serialization::serializationLength(poisonStamp); 00146 size += ros::serialization::serializationLength(base_frame_uri); 00147 size += ros::serialization::serializationLength(target_frame_uri); 00148 size += ros::serialization::serializationLength(position); 00149 size += ros::serialization::serializationLength(orientation); 00150 return size; 00151 } 00152 00153 typedef boost::shared_ptr< ::brics_actuator::CartesianPose_<ContainerAllocator> > Ptr; 00154 typedef boost::shared_ptr< ::brics_actuator::CartesianPose_<ContainerAllocator> const> ConstPtr; 00155 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00156 }; // struct CartesianPose 00157 typedef ::brics_actuator::CartesianPose_<std::allocator<void> > CartesianPose; 00158 00159 typedef boost::shared_ptr< ::brics_actuator::CartesianPose> CartesianPosePtr; 00160 typedef boost::shared_ptr< ::brics_actuator::CartesianPose const> CartesianPoseConstPtr; 00161 00162 00163 template<typename ContainerAllocator> 00164 std::ostream& operator<<(std::ostream& s, const ::brics_actuator::CartesianPose_<ContainerAllocator> & v) 00165 { 00166 ros::message_operations::Printer< ::brics_actuator::CartesianPose_<ContainerAllocator> >::stream(s, "", v); 00167 return s;} 00168 00169 } // namespace brics_actuator 00170 00171 namespace ros 00172 { 00173 namespace message_traits 00174 { 00175 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::CartesianPose_<ContainerAllocator> > : public TrueType {}; 00176 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::CartesianPose_<ContainerAllocator> const> : public TrueType {}; 00177 template<class ContainerAllocator> 00178 struct MD5Sum< ::brics_actuator::CartesianPose_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "0fe287468091771914ed98dea2d2a5a5"; 00182 } 00183 00184 static const char* value(const ::brics_actuator::CartesianPose_<ContainerAllocator> &) { return value(); } 00185 static const uint64_t static_value1 = 0x0fe2874680917719ULL; 00186 static const uint64_t static_value2 = 0x14ed98dea2d2a5a5ULL; 00187 }; 00188 00189 template<class ContainerAllocator> 00190 struct DataType< ::brics_actuator::CartesianPose_<ContainerAllocator> > { 00191 static const char* value() 00192 { 00193 return "brics_actuator/CartesianPose"; 00194 } 00195 00196 static const char* value(const ::brics_actuator::CartesianPose_<ContainerAllocator> &) { return value(); } 00197 }; 00198 00199 template<class ContainerAllocator> 00200 struct Definition< ::brics_actuator::CartesianPose_<ContainerAllocator> > { 00201 static const char* value() 00202 { 00203 return "time timeStamp\n\ 00204 Poison poisonStamp\n\ 00205 string base_frame_uri\n\ 00206 string target_frame_uri\n\ 00207 CartesianVector position\n\ 00208 geometry_msgs/Quaternion orientation\n\ 00209 \n\ 00210 ================================================================================\n\ 00211 MSG: brics_actuator/Poison\n\ 00212 string originator # node id\n\ 00213 string description # encoding still an issue\n\ 00214 float32 qos # reliability of the channel\n\ 00215 # 0..1 where 1 means healthy\n\ 00216 \n\ 00217 ================================================================================\n\ 00218 MSG: brics_actuator/CartesianVector\n\ 00219 string unit\n\ 00220 float64 x\n\ 00221 float64 y\n\ 00222 float64 z\n\ 00223 \n\ 00224 ================================================================================\n\ 00225 MSG: geometry_msgs/Quaternion\n\ 00226 # This represents an orientation in free space in quaternion form.\n\ 00227 \n\ 00228 float64 x\n\ 00229 float64 y\n\ 00230 float64 z\n\ 00231 float64 w\n\ 00232 \n\ 00233 "; 00234 } 00235 00236 static const char* value(const ::brics_actuator::CartesianPose_<ContainerAllocator> &) { return value(); } 00237 }; 00238 00239 } // namespace message_traits 00240 } // namespace ros 00241 00242 namespace ros 00243 { 00244 namespace serialization 00245 { 00246 00247 template<class ContainerAllocator> struct Serializer< ::brics_actuator::CartesianPose_<ContainerAllocator> > 00248 { 00249 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00250 { 00251 stream.next(m.timeStamp); 00252 stream.next(m.poisonStamp); 00253 stream.next(m.base_frame_uri); 00254 stream.next(m.target_frame_uri); 00255 stream.next(m.position); 00256 stream.next(m.orientation); 00257 } 00258 00259 ROS_DECLARE_ALLINONE_SERIALIZER; 00260 }; // struct CartesianPose_ 00261 } // namespace serialization 00262 } // namespace ros 00263 00264 namespace ros 00265 { 00266 namespace message_operations 00267 { 00268 00269 template<class ContainerAllocator> 00270 struct Printer< ::brics_actuator::CartesianPose_<ContainerAllocator> > 00271 { 00272 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::brics_actuator::CartesianPose_<ContainerAllocator> & v) 00273 { 00274 s << indent << "timeStamp: "; 00275 Printer<ros::Time>::stream(s, indent + " ", v.timeStamp); 00276 s << indent << "poisonStamp: "; 00277 s << std::endl; 00278 Printer< ::brics_actuator::Poison_<ContainerAllocator> >::stream(s, indent + " ", v.poisonStamp); 00279 s << indent << "base_frame_uri: "; 00280 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.base_frame_uri); 00281 s << indent << "target_frame_uri: "; 00282 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_frame_uri); 00283 s << indent << "position: "; 00284 s << std::endl; 00285 Printer< ::brics_actuator::CartesianVector_<ContainerAllocator> >::stream(s, indent + " ", v.position); 00286 s << indent << "orientation: "; 00287 s << std::endl; 00288 Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + " ", v.orientation); 00289 } 00290 }; 00291 00292 00293 } // namespace message_operations 00294 } // namespace ros 00295 00296 #endif // BRICS_ACTUATOR_MESSAGE_CARTESIANPOSE_H 00297