$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/CartesianTwist.msg */ 00002 #ifndef BRICS_ACTUATOR_MESSAGE_CARTESIANTWIST_H 00003 #define BRICS_ACTUATOR_MESSAGE_CARTESIANTWIST_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 "brics_actuator/CartesianVector.h" 00020 00021 namespace brics_actuator 00022 { 00023 template <class ContainerAllocator> 00024 struct CartesianTwist_ { 00025 typedef CartesianTwist_<ContainerAllocator> Type; 00026 00027 CartesianTwist_() 00028 : timeStamp() 00029 , poisonStamp() 00030 , base_frame_uri() 00031 , target_frame_uri() 00032 , translation() 00033 , rotation() 00034 { 00035 } 00036 00037 CartesianTwist_(const ContainerAllocator& _alloc) 00038 : timeStamp() 00039 , poisonStamp(_alloc) 00040 , base_frame_uri(_alloc) 00041 , target_frame_uri(_alloc) 00042 , translation(_alloc) 00043 , rotation(_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> _translation_type; 00060 ::brics_actuator::CartesianVector_<ContainerAllocator> translation; 00061 00062 typedef ::brics_actuator::CartesianVector_<ContainerAllocator> _rotation_type; 00063 ::brics_actuator::CartesianVector_<ContainerAllocator> rotation; 00064 00065 00066 private: 00067 static const char* __s_getDataType_() { return "brics_actuator/CartesianTwist"; } 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 "e86336d0ca57e442a1f55b8cb29e1a22"; } 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 # need some more frames? \n\ 00086 CartesianVector translation \n\ 00087 CartesianVector rotation\n\ 00088 \n\ 00089 ================================================================================\n\ 00090 MSG: brics_actuator/Poison\n\ 00091 string originator # node id\n\ 00092 string description # encoding still an issue\n\ 00093 float32 qos # reliability of the channel\n\ 00094 # 0..1 where 1 means healthy\n\ 00095 \n\ 00096 ================================================================================\n\ 00097 MSG: brics_actuator/CartesianVector\n\ 00098 string unit\n\ 00099 float64 x\n\ 00100 float64 y\n\ 00101 float64 z\n\ 00102 \n\ 00103 "; } 00104 public: 00105 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00106 00107 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00108 00109 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00110 { 00111 ros::serialization::OStream stream(write_ptr, 1000000000); 00112 ros::serialization::serialize(stream, timeStamp); 00113 ros::serialization::serialize(stream, poisonStamp); 00114 ros::serialization::serialize(stream, base_frame_uri); 00115 ros::serialization::serialize(stream, target_frame_uri); 00116 ros::serialization::serialize(stream, translation); 00117 ros::serialization::serialize(stream, rotation); 00118 return stream.getData(); 00119 } 00120 00121 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00122 { 00123 ros::serialization::IStream stream(read_ptr, 1000000000); 00124 ros::serialization::deserialize(stream, timeStamp); 00125 ros::serialization::deserialize(stream, poisonStamp); 00126 ros::serialization::deserialize(stream, base_frame_uri); 00127 ros::serialization::deserialize(stream, target_frame_uri); 00128 ros::serialization::deserialize(stream, translation); 00129 ros::serialization::deserialize(stream, rotation); 00130 return stream.getData(); 00131 } 00132 00133 ROS_DEPRECATED virtual uint32_t serializationLength() const 00134 { 00135 uint32_t size = 0; 00136 size += ros::serialization::serializationLength(timeStamp); 00137 size += ros::serialization::serializationLength(poisonStamp); 00138 size += ros::serialization::serializationLength(base_frame_uri); 00139 size += ros::serialization::serializationLength(target_frame_uri); 00140 size += ros::serialization::serializationLength(translation); 00141 size += ros::serialization::serializationLength(rotation); 00142 return size; 00143 } 00144 00145 typedef boost::shared_ptr< ::brics_actuator::CartesianTwist_<ContainerAllocator> > Ptr; 00146 typedef boost::shared_ptr< ::brics_actuator::CartesianTwist_<ContainerAllocator> const> ConstPtr; 00147 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00148 }; // struct CartesianTwist 00149 typedef ::brics_actuator::CartesianTwist_<std::allocator<void> > CartesianTwist; 00150 00151 typedef boost::shared_ptr< ::brics_actuator::CartesianTwist> CartesianTwistPtr; 00152 typedef boost::shared_ptr< ::brics_actuator::CartesianTwist const> CartesianTwistConstPtr; 00153 00154 00155 template<typename ContainerAllocator> 00156 std::ostream& operator<<(std::ostream& s, const ::brics_actuator::CartesianTwist_<ContainerAllocator> & v) 00157 { 00158 ros::message_operations::Printer< ::brics_actuator::CartesianTwist_<ContainerAllocator> >::stream(s, "", v); 00159 return s;} 00160 00161 } // namespace brics_actuator 00162 00163 namespace ros 00164 { 00165 namespace message_traits 00166 { 00167 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::CartesianTwist_<ContainerAllocator> > : public TrueType {}; 00168 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::CartesianTwist_<ContainerAllocator> const> : public TrueType {}; 00169 template<class ContainerAllocator> 00170 struct MD5Sum< ::brics_actuator::CartesianTwist_<ContainerAllocator> > { 00171 static const char* value() 00172 { 00173 return "e86336d0ca57e442a1f55b8cb29e1a22"; 00174 } 00175 00176 static const char* value(const ::brics_actuator::CartesianTwist_<ContainerAllocator> &) { return value(); } 00177 static const uint64_t static_value1 = 0xe86336d0ca57e442ULL; 00178 static const uint64_t static_value2 = 0xa1f55b8cb29e1a22ULL; 00179 }; 00180 00181 template<class ContainerAllocator> 00182 struct DataType< ::brics_actuator::CartesianTwist_<ContainerAllocator> > { 00183 static const char* value() 00184 { 00185 return "brics_actuator/CartesianTwist"; 00186 } 00187 00188 static const char* value(const ::brics_actuator::CartesianTwist_<ContainerAllocator> &) { return value(); } 00189 }; 00190 00191 template<class ContainerAllocator> 00192 struct Definition< ::brics_actuator::CartesianTwist_<ContainerAllocator> > { 00193 static const char* value() 00194 { 00195 return "time timeStamp\n\ 00196 Poison poisonStamp\n\ 00197 string base_frame_uri\n\ 00198 string target_frame_uri\n\ 00199 # need some more frames? \n\ 00200 CartesianVector translation \n\ 00201 CartesianVector rotation\n\ 00202 \n\ 00203 ================================================================================\n\ 00204 MSG: brics_actuator/Poison\n\ 00205 string originator # node id\n\ 00206 string description # encoding still an issue\n\ 00207 float32 qos # reliability of the channel\n\ 00208 # 0..1 where 1 means healthy\n\ 00209 \n\ 00210 ================================================================================\n\ 00211 MSG: brics_actuator/CartesianVector\n\ 00212 string unit\n\ 00213 float64 x\n\ 00214 float64 y\n\ 00215 float64 z\n\ 00216 \n\ 00217 "; 00218 } 00219 00220 static const char* value(const ::brics_actuator::CartesianTwist_<ContainerAllocator> &) { return value(); } 00221 }; 00222 00223 } // namespace message_traits 00224 } // namespace ros 00225 00226 namespace ros 00227 { 00228 namespace serialization 00229 { 00230 00231 template<class ContainerAllocator> struct Serializer< ::brics_actuator::CartesianTwist_<ContainerAllocator> > 00232 { 00233 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00234 { 00235 stream.next(m.timeStamp); 00236 stream.next(m.poisonStamp); 00237 stream.next(m.base_frame_uri); 00238 stream.next(m.target_frame_uri); 00239 stream.next(m.translation); 00240 stream.next(m.rotation); 00241 } 00242 00243 ROS_DECLARE_ALLINONE_SERIALIZER; 00244 }; // struct CartesianTwist_ 00245 } // namespace serialization 00246 } // namespace ros 00247 00248 namespace ros 00249 { 00250 namespace message_operations 00251 { 00252 00253 template<class ContainerAllocator> 00254 struct Printer< ::brics_actuator::CartesianTwist_<ContainerAllocator> > 00255 { 00256 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::brics_actuator::CartesianTwist_<ContainerAllocator> & v) 00257 { 00258 s << indent << "timeStamp: "; 00259 Printer<ros::Time>::stream(s, indent + " ", v.timeStamp); 00260 s << indent << "poisonStamp: "; 00261 s << std::endl; 00262 Printer< ::brics_actuator::Poison_<ContainerAllocator> >::stream(s, indent + " ", v.poisonStamp); 00263 s << indent << "base_frame_uri: "; 00264 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.base_frame_uri); 00265 s << indent << "target_frame_uri: "; 00266 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_frame_uri); 00267 s << indent << "translation: "; 00268 s << std::endl; 00269 Printer< ::brics_actuator::CartesianVector_<ContainerAllocator> >::stream(s, indent + " ", v.translation); 00270 s << indent << "rotation: "; 00271 s << std::endl; 00272 Printer< ::brics_actuator::CartesianVector_<ContainerAllocator> >::stream(s, indent + " ", v.rotation); 00273 } 00274 }; 00275 00276 00277 } // namespace message_operations 00278 } // namespace ros 00279 00280 #endif // BRICS_ACTUATOR_MESSAGE_CARTESIANTWIST_H 00281