Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_IINSOLUTIONSTATUS_H
00003 #define APPLANIX_MSGS_MESSAGE_IINSOLUTIONSTATUS_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 "applanix_msgs/TimeDistance.h"
00018
00019 namespace applanix_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct IINSolutionStatus_ {
00023 typedef IINSolutionStatus_<ContainerAllocator> Type;
00024
00025 IINSolutionStatus_()
00026 : td()
00027 , num_satellites(0)
00028 , a_priori_pdop(0.0)
00029 , baseline_length(0.0)
00030 , status(0)
00031 , prn_assignment()
00032 , l1_cycle_slip_flag(0)
00033 , l2_cycle_slip_flag(0)
00034 {
00035 prn_assignment.assign(0);
00036 }
00037
00038 IINSolutionStatus_(const ContainerAllocator& _alloc)
00039 : td(_alloc)
00040 , num_satellites(0)
00041 , a_priori_pdop(0.0)
00042 , baseline_length(0.0)
00043 , status(0)
00044 , prn_assignment()
00045 , l1_cycle_slip_flag(0)
00046 , l2_cycle_slip_flag(0)
00047 {
00048 prn_assignment.assign(0);
00049 }
00050
00051 typedef ::applanix_msgs::TimeDistance_<ContainerAllocator> _td_type;
00052 ::applanix_msgs::TimeDistance_<ContainerAllocator> td;
00053
00054 typedef uint16_t _num_satellites_type;
00055 uint16_t num_satellites;
00056
00057 typedef float _a_priori_pdop_type;
00058 float a_priori_pdop;
00059
00060 typedef float _baseline_length_type;
00061 float baseline_length;
00062
00063 typedef uint16_t _status_type;
00064 uint16_t status;
00065
00066 typedef boost::array<uint8_t, 12> _prn_assignment_type;
00067 boost::array<uint8_t, 12> prn_assignment;
00068
00069 typedef uint16_t _l1_cycle_slip_flag_type;
00070 uint16_t l1_cycle_slip_flag;
00071
00072 typedef uint16_t _l2_cycle_slip_flag_type;
00073 uint16_t l2_cycle_slip_flag;
00074
00075 enum { STATUS_FIXED_NARROW_LANE_RTK = 1 };
00076 enum { STATUS_FIXED_WIDE_LANE_RTK = 2 };
00077 enum { STATUS_FLOAT_RTK = 3 };
00078 enum { STATUS_CODE_DGPS = 4 };
00079 enum { STATUS_RTCM_DGPS = 5 };
00080 enum { STATUS_AUTONOMOUS_CA = 6 };
00081 enum { STATUS_GNSS_NAV_SOLUTION = 7 };
00082 enum { STATUS_NO_SOLUTION = 8 };
00083
00084 typedef boost::shared_ptr< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> > Ptr;
00085 typedef boost::shared_ptr< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> const> ConstPtr;
00086 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00087 };
00088 typedef ::applanix_msgs::IINSolutionStatus_<std::allocator<void> > IINSolutionStatus;
00089
00090 typedef boost::shared_ptr< ::applanix_msgs::IINSolutionStatus> IINSolutionStatusPtr;
00091 typedef boost::shared_ptr< ::applanix_msgs::IINSolutionStatus const> IINSolutionStatusConstPtr;
00092
00093
00094 template<typename ContainerAllocator>
00095 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> & v)
00096 {
00097 ros::message_operations::Printer< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> >::stream(s, "", v);
00098 return s;}
00099
00100 }
00101
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "421e809231149ab046729933cacbd490";
00113 }
00114
00115 static const char* value(const ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> &) { return value(); }
00116 static const uint64_t static_value1 = 0x421e809231149ab0ULL;
00117 static const uint64_t static_value2 = 0x46729933cacbd490ULL;
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct DataType< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "applanix_msgs/IINSolutionStatus";
00125 }
00126
00127 static const char* value(const ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct Definition< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "# Group 20\n\
00135 TimeDistance td\n\
00136 \n\
00137 uint16 num_satellites\n\
00138 float32 a_priori_pdop\n\
00139 float32 baseline_length\n\
00140 \n\
00141 uint16 STATUS_FIXED_NARROW_LANE_RTK=1\n\
00142 uint16 STATUS_FIXED_WIDE_LANE_RTK=2\n\
00143 uint16 STATUS_FLOAT_RTK=3\n\
00144 uint16 STATUS_CODE_DGPS=4\n\
00145 uint16 STATUS_RTCM_DGPS=5\n\
00146 uint16 STATUS_AUTONOMOUS_CA=6\n\
00147 uint16 STATUS_GNSS_NAV_SOLUTION=7\n\
00148 uint16 STATUS_NO_SOLUTION=8\n\
00149 uint16 status\n\
00150 \n\
00151 uint8[12] prn_assignment\n\
00152 \n\
00153 uint16 l1_cycle_slip_flag \n\
00154 uint16 l2_cycle_slip_flag \n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: applanix_msgs/TimeDistance\n\
00158 float64 time1\n\
00159 float64 time2\n\
00160 float64 distance\n\
00161 uint8 time_types\n\
00162 uint8 distance_type\n\
00163 \n\
00164 ";
00165 }
00166
00167 static const char* value(const ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> > : public TrueType {};
00171 }
00172 }
00173
00174 namespace ros
00175 {
00176 namespace serialization
00177 {
00178
00179 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> >
00180 {
00181 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00182 {
00183 stream.next(m.td);
00184 stream.next(m.num_satellites);
00185 stream.next(m.a_priori_pdop);
00186 stream.next(m.baseline_length);
00187 stream.next(m.status);
00188 stream.next(m.prn_assignment);
00189 stream.next(m.l1_cycle_slip_flag);
00190 stream.next(m.l2_cycle_slip_flag);
00191 }
00192
00193 ROS_DECLARE_ALLINONE_SERIALIZER;
00194 };
00195 }
00196 }
00197
00198 namespace ros
00199 {
00200 namespace message_operations
00201 {
00202
00203 template<class ContainerAllocator>
00204 struct Printer< ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> >
00205 {
00206 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::IINSolutionStatus_<ContainerAllocator> & v)
00207 {
00208 s << indent << "td: ";
00209 s << std::endl;
00210 Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + " ", v.td);
00211 s << indent << "num_satellites: ";
00212 Printer<uint16_t>::stream(s, indent + " ", v.num_satellites);
00213 s << indent << "a_priori_pdop: ";
00214 Printer<float>::stream(s, indent + " ", v.a_priori_pdop);
00215 s << indent << "baseline_length: ";
00216 Printer<float>::stream(s, indent + " ", v.baseline_length);
00217 s << indent << "status: ";
00218 Printer<uint16_t>::stream(s, indent + " ", v.status);
00219 s << indent << "prn_assignment[]" << std::endl;
00220 for (size_t i = 0; i < v.prn_assignment.size(); ++i)
00221 {
00222 s << indent << " prn_assignment[" << i << "]: ";
00223 Printer<uint8_t>::stream(s, indent + " ", v.prn_assignment[i]);
00224 }
00225 s << indent << "l1_cycle_slip_flag: ";
00226 Printer<uint16_t>::stream(s, indent + " ", v.l1_cycle_slip_flag);
00227 s << indent << "l2_cycle_slip_flag: ";
00228 Printer<uint16_t>::stream(s, indent + " ", v.l2_cycle_slip_flag);
00229 }
00230 };
00231
00232
00233 }
00234 }
00235
00236 #endif // APPLANIX_MSGS_MESSAGE_IINSOLUTIONSTATUS_H
00237