Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_AIDINGSENSORINTEGRATIONCONTROL_H
00003 #define APPLANIX_MSGS_MESSAGE_AIDINGSENSORINTEGRATIONCONTROL_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
00018 namespace applanix_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct AidingSensorIntegrationControl_ {
00022 typedef AidingSensorIntegrationControl_<ContainerAllocator> Type;
00023
00024 AidingSensorIntegrationControl_()
00025 : transaction(0)
00026 , override(0)
00027 {
00028 }
00029
00030 AidingSensorIntegrationControl_(const ContainerAllocator& _alloc)
00031 : transaction(0)
00032 , override(0)
00033 {
00034 }
00035
00036 typedef uint16_t _transaction_type;
00037 uint16_t transaction;
00038
00039 typedef uint32_t _override_type;
00040 uint32_t override;
00041
00042 enum { OVERRIDE_FORCE_PRIMARY_GNSS_VALID = 1 };
00043 enum { OVERRIDE_FORCE_PRIMARY_GNSS_INVALID = 2 };
00044 enum { OVERRIDE_FORCE_AUX_GNSS_VALID = 4 };
00045 enum { OVERRIDE_FORCE_AUX_GNSS_INVALID = 8 };
00046 enum { OVERRIDE_DISABLE_GAMS_HEADING_AIDING = 16 };
00047 enum { OVERRIDE_FORCE_DMI_VALID = 32 };
00048 enum { OVERRIDE_FORCE_DMI_INVALID = 64 };
00049 enum { OVERRIDE_DISABLE_YZ_VELOCITY_AIDING = 128 };
00050
00051 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::applanix_msgs::AidingSensorIntegrationControl_<std::allocator<void> > AidingSensorIntegrationControl;
00056
00057 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl> AidingSensorIntegrationControlPtr;
00058 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl const> AidingSensorIntegrationControlConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "aa768b4fd931539b13e67337f33cf90c";
00080 }
00081
00082 static const char* value(const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0xaa768b4fd931539bULL;
00084 static const uint64_t static_value2 = 0x13e67337f33cf90cULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "applanix_msgs/AidingSensorIntegrationControl";
00092 }
00093
00094 static const char* value(const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "# Msg 93\n\
00102 uint16 transaction\n\
00103 \n\
00104 uint32 OVERRIDE_FORCE_PRIMARY_GNSS_VALID=1\n\
00105 uint32 OVERRIDE_FORCE_PRIMARY_GNSS_INVALID=2\n\
00106 uint32 OVERRIDE_FORCE_AUX_GNSS_VALID=4\n\
00107 uint32 OVERRIDE_FORCE_AUX_GNSS_INVALID=8\n\
00108 uint32 OVERRIDE_DISABLE_GAMS_HEADING_AIDING=16\n\
00109 uint32 OVERRIDE_FORCE_DMI_VALID=32\n\
00110 uint32 OVERRIDE_FORCE_DMI_INVALID=64\n\
00111 uint32 OVERRIDE_DISABLE_YZ_VELOCITY_AIDING=128\n\
00112 uint32 override\n\
00113 \n\
00114 ";
00115 }
00116
00117 static const char* value(const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > : public TrueType {};
00121 }
00122 }
00123
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128
00129 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> >
00130 {
00131 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132 {
00133 stream.next(m.transaction);
00134 stream.next(m.override);
00135 }
00136
00137 ROS_DECLARE_ALLINONE_SERIALIZER;
00138 };
00139 }
00140 }
00141
00142 namespace ros
00143 {
00144 namespace message_operations
00145 {
00146
00147 template<class ContainerAllocator>
00148 struct Printer< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> >
00149 {
00150 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> & v)
00151 {
00152 s << indent << "transaction: ";
00153 Printer<uint16_t>::stream(s, indent + " ", v.transaction);
00154 s << indent << "override: ";
00155 Printer<uint32_t>::stream(s, indent + " ", v.override);
00156 }
00157 };
00158
00159
00160 }
00161 }
00162
00163 #endif // APPLANIX_MSGS_MESSAGE_AIDINGSENSORINTEGRATIONCONTROL_H
00164