complete motor

Dependencies:   BufferedSerial motor_sn7544

Committer:
Jeonghoon
Date:
Thu Jul 11 13:30:27 2019 +0000
Revision:
11:2228e8931266
190711; ;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jeonghoon 11:2228e8931266 1 // Generated by gencpp from file stringlb/flaw_info.msg
Jeonghoon 11:2228e8931266 2 // DO NOT EDIT!
Jeonghoon 11:2228e8931266 3
Jeonghoon 11:2228e8931266 4
Jeonghoon 11:2228e8931266 5 #ifndef STRINGLB_MESSAGE_FLAW_INFO_H
Jeonghoon 11:2228e8931266 6 #define STRINGLB_MESSAGE_FLAW_INFO_H
Jeonghoon 11:2228e8931266 7
Jeonghoon 11:2228e8931266 8
Jeonghoon 11:2228e8931266 9 #include <string>
Jeonghoon 11:2228e8931266 10 #include <vector>
Jeonghoon 11:2228e8931266 11 #include <map>
Jeonghoon 11:2228e8931266 12
Jeonghoon 11:2228e8931266 13 #include <ros/types.h>
Jeonghoon 11:2228e8931266 14 #include <ros/serialization.h>
Jeonghoon 11:2228e8931266 15 #include <ros/builtin_message_traits.h>
Jeonghoon 11:2228e8931266 16 #include <ros/message_operations.h>
Jeonghoon 11:2228e8931266 17
Jeonghoon 11:2228e8931266 18
Jeonghoon 11:2228e8931266 19 namespace stringlb
Jeonghoon 11:2228e8931266 20 {
Jeonghoon 11:2228e8931266 21 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 22 struct flaw_info_
Jeonghoon 11:2228e8931266 23 {
Jeonghoon 11:2228e8931266 24 typedef flaw_info_<ContainerAllocator> Type;
Jeonghoon 11:2228e8931266 25
Jeonghoon 11:2228e8931266 26 flaw_info_()
Jeonghoon 11:2228e8931266 27 : cum_dist(0.0)
Jeonghoon 11:2228e8931266 28 , flaw_loca(0.0) {
Jeonghoon 11:2228e8931266 29 }
Jeonghoon 11:2228e8931266 30 flaw_info_(const ContainerAllocator& _alloc)
Jeonghoon 11:2228e8931266 31 : cum_dist(0.0)
Jeonghoon 11:2228e8931266 32 , flaw_loca(0.0) {
Jeonghoon 11:2228e8931266 33 (void)_alloc;
Jeonghoon 11:2228e8931266 34 }
Jeonghoon 11:2228e8931266 35
Jeonghoon 11:2228e8931266 36
Jeonghoon 11:2228e8931266 37
Jeonghoon 11:2228e8931266 38 typedef double _cum_dist_type;
Jeonghoon 11:2228e8931266 39 _cum_dist_type cum_dist;
Jeonghoon 11:2228e8931266 40
Jeonghoon 11:2228e8931266 41 typedef double _flaw_loca_type;
Jeonghoon 11:2228e8931266 42 _flaw_loca_type flaw_loca;
Jeonghoon 11:2228e8931266 43
Jeonghoon 11:2228e8931266 44
Jeonghoon 11:2228e8931266 45
Jeonghoon 11:2228e8931266 46
Jeonghoon 11:2228e8931266 47
Jeonghoon 11:2228e8931266 48 typedef boost::shared_ptr< ::stringlb::flaw_info_<ContainerAllocator> > Ptr;
Jeonghoon 11:2228e8931266 49 typedef boost::shared_ptr< ::stringlb::flaw_info_<ContainerAllocator> const> ConstPtr;
Jeonghoon 11:2228e8931266 50
Jeonghoon 11:2228e8931266 51 }; // struct flaw_info_
Jeonghoon 11:2228e8931266 52
Jeonghoon 11:2228e8931266 53 typedef ::stringlb::flaw_info_<std::allocator<void> > flaw_info;
Jeonghoon 11:2228e8931266 54
Jeonghoon 11:2228e8931266 55 typedef boost::shared_ptr< ::stringlb::flaw_info > flaw_infoPtr;
Jeonghoon 11:2228e8931266 56 typedef boost::shared_ptr< ::stringlb::flaw_info const> flaw_infoConstPtr;
Jeonghoon 11:2228e8931266 57
Jeonghoon 11:2228e8931266 58 // constants requiring out of line definition
Jeonghoon 11:2228e8931266 59
Jeonghoon 11:2228e8931266 60
Jeonghoon 11:2228e8931266 61
Jeonghoon 11:2228e8931266 62 template<typename ContainerAllocator>
Jeonghoon 11:2228e8931266 63 std::ostream& operator<<(std::ostream& s, const ::stringlb::flaw_info_<ContainerAllocator> & v)
Jeonghoon 11:2228e8931266 64 {
Jeonghoon 11:2228e8931266 65 ros::message_operations::Printer< ::stringlb::flaw_info_<ContainerAllocator> >::stream(s, "", v);
Jeonghoon 11:2228e8931266 66 return s;
Jeonghoon 11:2228e8931266 67 }
Jeonghoon 11:2228e8931266 68
Jeonghoon 11:2228e8931266 69 } // namespace stringlb
Jeonghoon 11:2228e8931266 70
Jeonghoon 11:2228e8931266 71 namespace ros
Jeonghoon 11:2228e8931266 72 {
Jeonghoon 11:2228e8931266 73 namespace message_traits
Jeonghoon 11:2228e8931266 74 {
Jeonghoon 11:2228e8931266 75
Jeonghoon 11:2228e8931266 76
Jeonghoon 11:2228e8931266 77
Jeonghoon 11:2228e8931266 78 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
Jeonghoon 11:2228e8931266 79 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'stringlb': ['/home/hdmmic/catkin_ws/src/stringlb/msg']}
Jeonghoon 11:2228e8931266 80
Jeonghoon 11:2228e8931266 81 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
Jeonghoon 11:2228e8931266 82
Jeonghoon 11:2228e8931266 83
Jeonghoon 11:2228e8931266 84
Jeonghoon 11:2228e8931266 85
Jeonghoon 11:2228e8931266 86 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 87 struct IsFixedSize< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 88 : TrueType
Jeonghoon 11:2228e8931266 89 { };
Jeonghoon 11:2228e8931266 90
Jeonghoon 11:2228e8931266 91 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 92 struct IsFixedSize< ::stringlb::flaw_info_<ContainerAllocator> const>
Jeonghoon 11:2228e8931266 93 : TrueType
Jeonghoon 11:2228e8931266 94 { };
Jeonghoon 11:2228e8931266 95
Jeonghoon 11:2228e8931266 96 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 97 struct IsMessage< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 98 : TrueType
Jeonghoon 11:2228e8931266 99 { };
Jeonghoon 11:2228e8931266 100
Jeonghoon 11:2228e8931266 101 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 102 struct IsMessage< ::stringlb::flaw_info_<ContainerAllocator> const>
Jeonghoon 11:2228e8931266 103 : TrueType
Jeonghoon 11:2228e8931266 104 { };
Jeonghoon 11:2228e8931266 105
Jeonghoon 11:2228e8931266 106 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 107 struct HasHeader< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 108 : FalseType
Jeonghoon 11:2228e8931266 109 { };
Jeonghoon 11:2228e8931266 110
Jeonghoon 11:2228e8931266 111 template <class ContainerAllocator>
Jeonghoon 11:2228e8931266 112 struct HasHeader< ::stringlb::flaw_info_<ContainerAllocator> const>
Jeonghoon 11:2228e8931266 113 : FalseType
Jeonghoon 11:2228e8931266 114 { };
Jeonghoon 11:2228e8931266 115
Jeonghoon 11:2228e8931266 116
Jeonghoon 11:2228e8931266 117 template<class ContainerAllocator>
Jeonghoon 11:2228e8931266 118 struct MD5Sum< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 119 {
Jeonghoon 11:2228e8931266 120 static const char* value()
Jeonghoon 11:2228e8931266 121 {
Jeonghoon 11:2228e8931266 122 return "6f77fb297fa2be6bf375bba6047af121";
Jeonghoon 11:2228e8931266 123 }
Jeonghoon 11:2228e8931266 124
Jeonghoon 11:2228e8931266 125 static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); }
Jeonghoon 11:2228e8931266 126 static const uint64_t static_value1 = 0x6f77fb297fa2be6bULL;
Jeonghoon 11:2228e8931266 127 static const uint64_t static_value2 = 0xf375bba6047af121ULL;
Jeonghoon 11:2228e8931266 128 };
Jeonghoon 11:2228e8931266 129
Jeonghoon 11:2228e8931266 130 template<class ContainerAllocator>
Jeonghoon 11:2228e8931266 131 struct DataType< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 132 {
Jeonghoon 11:2228e8931266 133 static const char* value()
Jeonghoon 11:2228e8931266 134 {
Jeonghoon 11:2228e8931266 135 return "stringlb/flaw_info";
Jeonghoon 11:2228e8931266 136 }
Jeonghoon 11:2228e8931266 137
Jeonghoon 11:2228e8931266 138 static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); }
Jeonghoon 11:2228e8931266 139 };
Jeonghoon 11:2228e8931266 140
Jeonghoon 11:2228e8931266 141 template<class ContainerAllocator>
Jeonghoon 11:2228e8931266 142 struct Definition< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 143 {
Jeonghoon 11:2228e8931266 144 static const char* value()
Jeonghoon 11:2228e8931266 145 {
Jeonghoon 11:2228e8931266 146 return "float64 cum_dist\n\
Jeonghoon 11:2228e8931266 147 float64 flaw_loca\n\
Jeonghoon 11:2228e8931266 148 ";
Jeonghoon 11:2228e8931266 149 }
Jeonghoon 11:2228e8931266 150
Jeonghoon 11:2228e8931266 151 static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); }
Jeonghoon 11:2228e8931266 152 };
Jeonghoon 11:2228e8931266 153
Jeonghoon 11:2228e8931266 154 } // namespace message_traits
Jeonghoon 11:2228e8931266 155 } // namespace ros
Jeonghoon 11:2228e8931266 156
Jeonghoon 11:2228e8931266 157 namespace ros
Jeonghoon 11:2228e8931266 158 {
Jeonghoon 11:2228e8931266 159 namespace serialization
Jeonghoon 11:2228e8931266 160 {
Jeonghoon 11:2228e8931266 161
Jeonghoon 11:2228e8931266 162 template<class ContainerAllocator> struct Serializer< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 163 {
Jeonghoon 11:2228e8931266 164 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
Jeonghoon 11:2228e8931266 165 {
Jeonghoon 11:2228e8931266 166 stream.next(m.cum_dist);
Jeonghoon 11:2228e8931266 167 stream.next(m.flaw_loca);
Jeonghoon 11:2228e8931266 168 }
Jeonghoon 11:2228e8931266 169
Jeonghoon 11:2228e8931266 170 ROS_DECLARE_ALLINONE_SERIALIZER
Jeonghoon 11:2228e8931266 171 }; // struct flaw_info_
Jeonghoon 11:2228e8931266 172
Jeonghoon 11:2228e8931266 173 } // namespace serialization
Jeonghoon 11:2228e8931266 174 } // namespace ros
Jeonghoon 11:2228e8931266 175
Jeonghoon 11:2228e8931266 176 namespace ros
Jeonghoon 11:2228e8931266 177 {
Jeonghoon 11:2228e8931266 178 namespace message_operations
Jeonghoon 11:2228e8931266 179 {
Jeonghoon 11:2228e8931266 180
Jeonghoon 11:2228e8931266 181 template<class ContainerAllocator>
Jeonghoon 11:2228e8931266 182 struct Printer< ::stringlb::flaw_info_<ContainerAllocator> >
Jeonghoon 11:2228e8931266 183 {
Jeonghoon 11:2228e8931266 184 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::stringlb::flaw_info_<ContainerAllocator>& v)
Jeonghoon 11:2228e8931266 185 {
Jeonghoon 11:2228e8931266 186 s << indent << "cum_dist: ";
Jeonghoon 11:2228e8931266 187 Printer<double>::stream(s, indent + " ", v.cum_dist);
Jeonghoon 11:2228e8931266 188 s << indent << "flaw_loca: ";
Jeonghoon 11:2228e8931266 189 Printer<double>::stream(s, indent + " ", v.flaw_loca);
Jeonghoon 11:2228e8931266 190 }
Jeonghoon 11:2228e8931266 191 };
Jeonghoon 11:2228e8931266 192
Jeonghoon 11:2228e8931266 193 } // namespace message_operations
Jeonghoon 11:2228e8931266 194 } // namespace ros
Jeonghoon 11:2228e8931266 195
Jeonghoon 11:2228e8931266 196 #endif // STRINGLB_MESSAGE_FLAW_INFO_H