Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_INSTALLATIONCALIBRATIONCONTROL_H
00003 #define APPLANIX_MSGS_MESSAGE_INSTALLATIONCALIBRATIONCONTROL_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 InstallationCalibrationControl_ {
00022 typedef InstallationCalibrationControl_<ContainerAllocator> Type;
00023
00024 InstallationCalibrationControl_()
00025 : transaction(0)
00026 , action(0)
00027 , select(0)
00028 {
00029 }
00030
00031 InstallationCalibrationControl_(const ContainerAllocator& _alloc)
00032 : transaction(0)
00033 , action(0)
00034 , select(0)
00035 {
00036 }
00037
00038 typedef uint16_t _transaction_type;
00039 uint16_t transaction;
00040
00041 typedef uint8_t _action_type;
00042 uint8_t action;
00043
00044 typedef uint8_t _select_type;
00045 uint8_t select;
00046
00047 enum { ACTION_NONE = 0 };
00048 enum { ACTION_STOP = 1 };
00049 enum { ACTION_MANUAL_CALIBRATION = 2 };
00050 enum { ACTION_AUTO_CALIBRATION = 3 };
00051 enum { ACTION_NORMAL_CALIBRATED_PARAM_TRANSFER = 4 };
00052 enum { ACTION_FORCED_CALIBRATED_PARAM_TRANSFER = 5 };
00053 enum { SELECT_PRIMARY_GNSS_LEVER_ARM = 1 };
00054 enum { SELECT_AUX_1_GNSS_LEVER_ARM = 2 };
00055 enum { SELECT_AUX_2_GNSS_LEVER_ARM = 4 };
00056 enum { SELECT_DMI_LEVER_ARM = 8 };
00057 enum { SELECT_DMI_SCALE_FACTOR = 16 };
00058 enum { SELECT_POSITION_FIX_LEVER_ARM = 64 };
00059
00060 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > Ptr;
00061 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> const> ConstPtr;
00062 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 };
00064 typedef ::applanix_msgs::InstallationCalibrationControl_<std::allocator<void> > InstallationCalibrationControl;
00065
00066 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl> InstallationCalibrationControlPtr;
00067 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl const> InstallationCalibrationControlConstPtr;
00068
00069
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> & v)
00072 {
00073 ros::message_operations::Printer< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> >::stream(s, "", v);
00074 return s;}
00075
00076 }
00077
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "38570f4fc018a153e76cdbbb5df7679e";
00089 }
00090
00091 static const char* value(const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> &) { return value(); }
00092 static const uint64_t static_value1 = 0x38570f4fc018a153ULL;
00093 static const uint64_t static_value2 = 0xe76cdbbb5df7679eULL;
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct DataType< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "applanix_msgs/InstallationCalibrationControl";
00101 }
00102
00103 static const char* value(const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> &) { return value(); }
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct Definition< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "# Msg 57\n\
00111 uint16 transaction\n\
00112 \n\
00113 uint8 ACTION_NONE=0\n\
00114 uint8 ACTION_STOP=1\n\
00115 uint8 ACTION_MANUAL_CALIBRATION=2\n\
00116 uint8 ACTION_AUTO_CALIBRATION=3\n\
00117 uint8 ACTION_NORMAL_CALIBRATED_PARAM_TRANSFER=4\n\
00118 uint8 ACTION_FORCED_CALIBRATED_PARAM_TRANSFER=5\n\
00119 uint8 action\n\
00120 \n\
00121 uint8 SELECT_PRIMARY_GNSS_LEVER_ARM=1\n\
00122 uint8 SELECT_AUX_1_GNSS_LEVER_ARM=2\n\
00123 uint8 SELECT_AUX_2_GNSS_LEVER_ARM=4\n\
00124 uint8 SELECT_DMI_LEVER_ARM=8\n\
00125 uint8 SELECT_DMI_SCALE_FACTOR=16\n\
00126 uint8 SELECT_POSITION_FIX_LEVER_ARM=64\n\
00127 uint8 select\n\
00128 \n\
00129 ";
00130 }
00131
00132 static const char* value(const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > : public TrueType {};
00136 }
00137 }
00138
00139 namespace ros
00140 {
00141 namespace serialization
00142 {
00143
00144 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> >
00145 {
00146 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00147 {
00148 stream.next(m.transaction);
00149 stream.next(m.action);
00150 stream.next(m.select);
00151 }
00152
00153 ROS_DECLARE_ALLINONE_SERIALIZER;
00154 };
00155 }
00156 }
00157
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162
00163 template<class ContainerAllocator>
00164 struct Printer< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> >
00165 {
00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> & v)
00167 {
00168 s << indent << "transaction: ";
00169 Printer<uint16_t>::stream(s, indent + " ", v.transaction);
00170 s << indent << "action: ";
00171 Printer<uint8_t>::stream(s, indent + " ", v.action);
00172 s << indent << "select: ";
00173 Printer<uint8_t>::stream(s, indent + " ", v.select);
00174 }
00175 };
00176
00177
00178 }
00179 }
00180
00181 #endif // APPLANIX_MSGS_MESSAGE_INSTALLATIONCALIBRATIONCONTROL_H
00182