JointStateCalibrationPattern.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-calibration/doc_stacks/2013-08-15_10-13-13.499663/calibration/calibration_msgs/msg/JointStateCalibrationPattern.msg */
00002 #ifndef CALIBRATION_MSGS_MESSAGE_JOINTSTATECALIBRATIONPATTERN_H
00003 #define CALIBRATION_MSGS_MESSAGE_JOINTSTATECALIBRATIONPATTERN_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Point.h"
00019 #include "sensor_msgs/JointState.h"
00020 
00021 namespace calibration_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct JointStateCalibrationPattern_ {
00025   typedef JointStateCalibrationPattern_<ContainerAllocator> Type;
00026 
00027   JointStateCalibrationPattern_()
00028   : header()
00029   , object_points()
00030   , joint_points()
00031   {
00032   }
00033 
00034   JointStateCalibrationPattern_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , object_points(_alloc)
00037   , joint_points(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _object_points_type;
00045   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  object_points;
00046 
00047   typedef std::vector< ::sensor_msgs::JointState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JointState_<ContainerAllocator> >::other >  _joint_points_type;
00048   std::vector< ::sensor_msgs::JointState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JointState_<ContainerAllocator> >::other >  joint_points;
00049 
00050 
00051   typedef boost::shared_ptr< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct JointStateCalibrationPattern
00055 typedef  ::calibration_msgs::JointStateCalibrationPattern_<std::allocator<void> > JointStateCalibrationPattern;
00056 
00057 typedef boost::shared_ptr< ::calibration_msgs::JointStateCalibrationPattern> JointStateCalibrationPatternPtr;
00058 typedef boost::shared_ptr< ::calibration_msgs::JointStateCalibrationPattern const> JointStateCalibrationPatternConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace calibration_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "c80e9cf8e7942eba44a6d32e3c75bf59";
00080   }
00081 
00082   static const char* value(const  ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xc80e9cf8e7942ebaULL;
00084   static const uint64_t static_value2 = 0x44a6d32e3c75bf59ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "calibration_msgs/JointStateCalibrationPattern";
00092   }
00093 
00094   static const char* value(const  ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "Header header\n\
00102 geometry_msgs/Point[]  object_points\n\
00103 sensor_msgs/JointState[] joint_points\n\
00104 \n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: std_msgs/Header\n\
00108 # Standard metadata for higher-level stamped data types.\n\
00109 # This is generally used to communicate timestamped data \n\
00110 # in a particular coordinate frame.\n\
00111 # \n\
00112 # sequence ID: consecutively increasing ID \n\
00113 uint32 seq\n\
00114 #Two-integer timestamp that is expressed as:\n\
00115 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00116 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00117 # time-handling sugar is provided by the client library\n\
00118 time stamp\n\
00119 #Frame this data is associated with\n\
00120 # 0: no frame\n\
00121 # 1: global frame\n\
00122 string frame_id\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: geometry_msgs/Point\n\
00126 # This contains the position of a point in free space\n\
00127 float64 x\n\
00128 float64 y\n\
00129 float64 z\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: sensor_msgs/JointState\n\
00133 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00134 #\n\
00135 # The state of each joint (revolute or prismatic) is defined by:\n\
00136 #  * the position of the joint (rad or m),\n\
00137 #  * the velocity of the joint (rad/s or m/s) and \n\
00138 #  * the effort that is applied in the joint (Nm or N).\n\
00139 #\n\
00140 # Each joint is uniquely identified by its name\n\
00141 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00142 # in one message have to be recorded at the same time.\n\
00143 #\n\
00144 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00145 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00146 # effort associated with them, you can leave the effort array empty. \n\
00147 #\n\
00148 # All arrays in this message should have the same size, or be empty.\n\
00149 # This is the only way to uniquely associate the joint name with the correct\n\
00150 # states.\n\
00151 \n\
00152 \n\
00153 Header header\n\
00154 \n\
00155 string[] name\n\
00156 float64[] position\n\
00157 float64[] velocity\n\
00158 float64[] effort\n\
00159 \n\
00160 ";
00161   }
00162 
00163   static const char* value(const  ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> &) { return value(); } 
00164 };
00165 
00166 template<class ContainerAllocator> struct HasHeader< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > : public TrueType {};
00167 template<class ContainerAllocator> struct HasHeader< const ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> > : public TrueType {};
00168 } // namespace message_traits
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace serialization
00174 {
00175 
00176 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> >
00177 {
00178   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00179   {
00180     stream.next(m.header);
00181     stream.next(m.object_points);
00182     stream.next(m.joint_points);
00183   }
00184 
00185   ROS_DECLARE_ALLINONE_SERIALIZER;
00186 }; // struct JointStateCalibrationPattern_
00187 } // namespace serialization
00188 } // namespace ros
00189 
00190 namespace ros
00191 {
00192 namespace message_operations
00193 {
00194 
00195 template<class ContainerAllocator>
00196 struct Printer< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> >
00197 {
00198   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> & v) 
00199   {
00200     s << indent << "header: ";
00201 s << std::endl;
00202     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00203     s << indent << "object_points[]" << std::endl;
00204     for (size_t i = 0; i < v.object_points.size(); ++i)
00205     {
00206       s << indent << "  object_points[" << i << "]: ";
00207       s << std::endl;
00208       s << indent;
00209       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.object_points[i]);
00210     }
00211     s << indent << "joint_points[]" << std::endl;
00212     for (size_t i = 0; i < v.joint_points.size(); ++i)
00213     {
00214       s << indent << "  joint_points[" << i << "]: ";
00215       s << std::endl;
00216       s << indent;
00217       Printer< ::sensor_msgs::JointState_<ContainerAllocator> >::stream(s, indent + "    ", v.joint_points[i]);
00218     }
00219   }
00220 };
00221 
00222 
00223 } // namespace message_operations
00224 } // namespace ros
00225 
00226 #endif // CALIBRATION_MSGS_MESSAGE_JOINTSTATECALIBRATIONPATTERN_H
00227 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


calibration_msgs
Author(s): Vijay Pradeep
autogenerated on Thu Aug 15 2013 10:15:15