Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef PURE_PURSUIT_CONTROLLER_MESSAGE_CUTPATHREQUEST_H
00006 #define PURE_PURSUIT_CONTROLLER_MESSAGE_CUTPATHREQUEST_H
00007
00008
00009 #include <string>
00010 #include <vector>
00011 #include <map>
00012
00013 #include <ros/types.h>
00014 #include <ros/serialization.h>
00015 #include <ros/builtin_message_traits.h>
00016 #include <ros/message_operations.h>
00017
00018
00019 namespace pure_pursuit_controller
00020 {
00021 template <class ContainerAllocator>
00022 struct cutPathRequest_
00023 {
00024 typedef cutPathRequest_<ContainerAllocator> Type;
00025
00026 cutPathRequest_()
00027 : safeWayPoint(0) {
00028 }
00029 cutPathRequest_(const ContainerAllocator& _alloc)
00030 : safeWayPoint(0) {
00031 (void)_alloc;
00032 }
00033
00034
00035
00036 typedef int32_t _safeWayPoint_type;
00037 _safeWayPoint_type safeWayPoint;
00038
00039
00040
00041
00042 typedef boost::shared_ptr< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> const> ConstPtr;
00044
00045 };
00046
00047 typedef ::pure_pursuit_controller::cutPathRequest_<std::allocator<void> > cutPathRequest;
00048
00049 typedef boost::shared_ptr< ::pure_pursuit_controller::cutPathRequest > cutPathRequestPtr;
00050 typedef boost::shared_ptr< ::pure_pursuit_controller::cutPathRequest const> cutPathRequestConstPtr;
00051
00052
00053
00054
00055
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> & v)
00058 {
00059 ros::message_operations::Printer< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >::stream(s, "", v);
00060 return s;
00061 }
00062
00063 }
00064
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080 template <class ContainerAllocator>
00081 struct IsFixedSize< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00082 : TrueType
00083 { };
00084
00085 template <class ContainerAllocator>
00086 struct IsFixedSize< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> const>
00087 : TrueType
00088 { };
00089
00090 template <class ContainerAllocator>
00091 struct IsMessage< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00092 : TrueType
00093 { };
00094
00095 template <class ContainerAllocator>
00096 struct IsMessage< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> const>
00097 : TrueType
00098 { };
00099
00100 template <class ContainerAllocator>
00101 struct HasHeader< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00102 : FalseType
00103 { };
00104
00105 template <class ContainerAllocator>
00106 struct HasHeader< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> const>
00107 : FalseType
00108 { };
00109
00110
00111 template<class ContainerAllocator>
00112 struct MD5Sum< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00113 {
00114 static const char* value()
00115 {
00116 return "6702af91c1fe3106b1792026d5dd26ae";
00117 }
00118
00119 static const char* value(const ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator>&) { return value(); }
00120 static const uint64_t static_value1 = 0x6702af91c1fe3106ULL;
00121 static const uint64_t static_value2 = 0xb1792026d5dd26aeULL;
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct DataType< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00126 {
00127 static const char* value()
00128 {
00129 return "pure_pursuit_controller/cutPathRequest";
00130 }
00131
00132 static const char* value(const ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator>&) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00137 {
00138 static const char* value()
00139 {
00140 return "int32 safeWayPoint\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator>&) { return value(); }
00146 };
00147
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.safeWayPoint);
00161 }
00162
00163 ROS_DECLARE_ALLINONE_SERIALIZER
00164 };
00165
00166 }
00167 }
00168
00169 namespace ros
00170 {
00171 namespace message_operations
00172 {
00173
00174 template<class ContainerAllocator>
00175 struct Printer< ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator> >
00176 {
00177 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pure_pursuit_controller::cutPathRequest_<ContainerAllocator>& v)
00178 {
00179 s << indent << "safeWayPoint: ";
00180 Printer<int32_t>::stream(s, indent + " ", v.safeWayPoint);
00181 }
00182 };
00183
00184 }
00185 }
00186
00187 #endif // PURE_PURSUIT_CONTROLLER_MESSAGE_CUTPATHREQUEST_H