Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ros_lib/mavros_msgs/EstimatorStatus.h@0:8f3710bfd298, 2020-09-02 (annotated)
- Committer:
- irfantitok
- Date:
- Wed Sep 02 13:51:31 2020 +0000
- Revision:
- 0:8f3710bfd298
Resolved round not found
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
irfantitok | 0:8f3710bfd298 | 1 | #ifndef _ROS_mavros_msgs_EstimatorStatus_h |
irfantitok | 0:8f3710bfd298 | 2 | #define _ROS_mavros_msgs_EstimatorStatus_h |
irfantitok | 0:8f3710bfd298 | 3 | |
irfantitok | 0:8f3710bfd298 | 4 | #include <stdint.h> |
irfantitok | 0:8f3710bfd298 | 5 | #include <string.h> |
irfantitok | 0:8f3710bfd298 | 6 | #include <stdlib.h> |
irfantitok | 0:8f3710bfd298 | 7 | #include "ros/msg.h" |
irfantitok | 0:8f3710bfd298 | 8 | #include "std_msgs/Header.h" |
irfantitok | 0:8f3710bfd298 | 9 | |
irfantitok | 0:8f3710bfd298 | 10 | namespace mavros_msgs |
irfantitok | 0:8f3710bfd298 | 11 | { |
irfantitok | 0:8f3710bfd298 | 12 | |
irfantitok | 0:8f3710bfd298 | 13 | class EstimatorStatus : public ros::Msg |
irfantitok | 0:8f3710bfd298 | 14 | { |
irfantitok | 0:8f3710bfd298 | 15 | public: |
irfantitok | 0:8f3710bfd298 | 16 | typedef std_msgs::Header _header_type; |
irfantitok | 0:8f3710bfd298 | 17 | _header_type header; |
irfantitok | 0:8f3710bfd298 | 18 | typedef bool _attitude_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 19 | _attitude_status_flag_type attitude_status_flag; |
irfantitok | 0:8f3710bfd298 | 20 | typedef bool _velocity_horiz_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 21 | _velocity_horiz_status_flag_type velocity_horiz_status_flag; |
irfantitok | 0:8f3710bfd298 | 22 | typedef bool _velocity_vert_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 23 | _velocity_vert_status_flag_type velocity_vert_status_flag; |
irfantitok | 0:8f3710bfd298 | 24 | typedef bool _pos_horiz_rel_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 25 | _pos_horiz_rel_status_flag_type pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 26 | typedef bool _pos_horiz_abs_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 27 | _pos_horiz_abs_status_flag_type pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 28 | typedef bool _pos_vert_abs_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 29 | _pos_vert_abs_status_flag_type pos_vert_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 30 | typedef bool _pos_vert_agl_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 31 | _pos_vert_agl_status_flag_type pos_vert_agl_status_flag; |
irfantitok | 0:8f3710bfd298 | 32 | typedef bool _const_pos_mode_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 33 | _const_pos_mode_status_flag_type const_pos_mode_status_flag; |
irfantitok | 0:8f3710bfd298 | 34 | typedef bool _pred_pos_horiz_rel_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 35 | _pred_pos_horiz_rel_status_flag_type pred_pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 36 | typedef bool _pred_pos_horiz_abs_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 37 | _pred_pos_horiz_abs_status_flag_type pred_pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 38 | typedef bool _gps_glitch_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 39 | _gps_glitch_status_flag_type gps_glitch_status_flag; |
irfantitok | 0:8f3710bfd298 | 40 | typedef bool _accel_error_status_flag_type; |
irfantitok | 0:8f3710bfd298 | 41 | _accel_error_status_flag_type accel_error_status_flag; |
irfantitok | 0:8f3710bfd298 | 42 | |
irfantitok | 0:8f3710bfd298 | 43 | EstimatorStatus(): |
irfantitok | 0:8f3710bfd298 | 44 | header(), |
irfantitok | 0:8f3710bfd298 | 45 | attitude_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 46 | velocity_horiz_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 47 | velocity_vert_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 48 | pos_horiz_rel_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 49 | pos_horiz_abs_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 50 | pos_vert_abs_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 51 | pos_vert_agl_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 52 | const_pos_mode_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 53 | pred_pos_horiz_rel_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 54 | pred_pos_horiz_abs_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 55 | gps_glitch_status_flag(0), |
irfantitok | 0:8f3710bfd298 | 56 | accel_error_status_flag(0) |
irfantitok | 0:8f3710bfd298 | 57 | { |
irfantitok | 0:8f3710bfd298 | 58 | } |
irfantitok | 0:8f3710bfd298 | 59 | |
irfantitok | 0:8f3710bfd298 | 60 | virtual int serialize(unsigned char *outbuffer) const |
irfantitok | 0:8f3710bfd298 | 61 | { |
irfantitok | 0:8f3710bfd298 | 62 | int offset = 0; |
irfantitok | 0:8f3710bfd298 | 63 | offset += this->header.serialize(outbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 64 | union { |
irfantitok | 0:8f3710bfd298 | 65 | bool real; |
irfantitok | 0:8f3710bfd298 | 66 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 67 | } u_attitude_status_flag; |
irfantitok | 0:8f3710bfd298 | 68 | u_attitude_status_flag.real = this->attitude_status_flag; |
irfantitok | 0:8f3710bfd298 | 69 | *(outbuffer + offset + 0) = (u_attitude_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 70 | offset += sizeof(this->attitude_status_flag); |
irfantitok | 0:8f3710bfd298 | 71 | union { |
irfantitok | 0:8f3710bfd298 | 72 | bool real; |
irfantitok | 0:8f3710bfd298 | 73 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 74 | } u_velocity_horiz_status_flag; |
irfantitok | 0:8f3710bfd298 | 75 | u_velocity_horiz_status_flag.real = this->velocity_horiz_status_flag; |
irfantitok | 0:8f3710bfd298 | 76 | *(outbuffer + offset + 0) = (u_velocity_horiz_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 77 | offset += sizeof(this->velocity_horiz_status_flag); |
irfantitok | 0:8f3710bfd298 | 78 | union { |
irfantitok | 0:8f3710bfd298 | 79 | bool real; |
irfantitok | 0:8f3710bfd298 | 80 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 81 | } u_velocity_vert_status_flag; |
irfantitok | 0:8f3710bfd298 | 82 | u_velocity_vert_status_flag.real = this->velocity_vert_status_flag; |
irfantitok | 0:8f3710bfd298 | 83 | *(outbuffer + offset + 0) = (u_velocity_vert_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 84 | offset += sizeof(this->velocity_vert_status_flag); |
irfantitok | 0:8f3710bfd298 | 85 | union { |
irfantitok | 0:8f3710bfd298 | 86 | bool real; |
irfantitok | 0:8f3710bfd298 | 87 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 88 | } u_pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 89 | u_pos_horiz_rel_status_flag.real = this->pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 90 | *(outbuffer + offset + 0) = (u_pos_horiz_rel_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 91 | offset += sizeof(this->pos_horiz_rel_status_flag); |
irfantitok | 0:8f3710bfd298 | 92 | union { |
irfantitok | 0:8f3710bfd298 | 93 | bool real; |
irfantitok | 0:8f3710bfd298 | 94 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 95 | } u_pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 96 | u_pos_horiz_abs_status_flag.real = this->pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 97 | *(outbuffer + offset + 0) = (u_pos_horiz_abs_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 98 | offset += sizeof(this->pos_horiz_abs_status_flag); |
irfantitok | 0:8f3710bfd298 | 99 | union { |
irfantitok | 0:8f3710bfd298 | 100 | bool real; |
irfantitok | 0:8f3710bfd298 | 101 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 102 | } u_pos_vert_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 103 | u_pos_vert_abs_status_flag.real = this->pos_vert_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 104 | *(outbuffer + offset + 0) = (u_pos_vert_abs_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 105 | offset += sizeof(this->pos_vert_abs_status_flag); |
irfantitok | 0:8f3710bfd298 | 106 | union { |
irfantitok | 0:8f3710bfd298 | 107 | bool real; |
irfantitok | 0:8f3710bfd298 | 108 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 109 | } u_pos_vert_agl_status_flag; |
irfantitok | 0:8f3710bfd298 | 110 | u_pos_vert_agl_status_flag.real = this->pos_vert_agl_status_flag; |
irfantitok | 0:8f3710bfd298 | 111 | *(outbuffer + offset + 0) = (u_pos_vert_agl_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 112 | offset += sizeof(this->pos_vert_agl_status_flag); |
irfantitok | 0:8f3710bfd298 | 113 | union { |
irfantitok | 0:8f3710bfd298 | 114 | bool real; |
irfantitok | 0:8f3710bfd298 | 115 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 116 | } u_const_pos_mode_status_flag; |
irfantitok | 0:8f3710bfd298 | 117 | u_const_pos_mode_status_flag.real = this->const_pos_mode_status_flag; |
irfantitok | 0:8f3710bfd298 | 118 | *(outbuffer + offset + 0) = (u_const_pos_mode_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 119 | offset += sizeof(this->const_pos_mode_status_flag); |
irfantitok | 0:8f3710bfd298 | 120 | union { |
irfantitok | 0:8f3710bfd298 | 121 | bool real; |
irfantitok | 0:8f3710bfd298 | 122 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 123 | } u_pred_pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 124 | u_pred_pos_horiz_rel_status_flag.real = this->pred_pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 125 | *(outbuffer + offset + 0) = (u_pred_pos_horiz_rel_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 126 | offset += sizeof(this->pred_pos_horiz_rel_status_flag); |
irfantitok | 0:8f3710bfd298 | 127 | union { |
irfantitok | 0:8f3710bfd298 | 128 | bool real; |
irfantitok | 0:8f3710bfd298 | 129 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 130 | } u_pred_pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 131 | u_pred_pos_horiz_abs_status_flag.real = this->pred_pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 132 | *(outbuffer + offset + 0) = (u_pred_pos_horiz_abs_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 133 | offset += sizeof(this->pred_pos_horiz_abs_status_flag); |
irfantitok | 0:8f3710bfd298 | 134 | union { |
irfantitok | 0:8f3710bfd298 | 135 | bool real; |
irfantitok | 0:8f3710bfd298 | 136 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 137 | } u_gps_glitch_status_flag; |
irfantitok | 0:8f3710bfd298 | 138 | u_gps_glitch_status_flag.real = this->gps_glitch_status_flag; |
irfantitok | 0:8f3710bfd298 | 139 | *(outbuffer + offset + 0) = (u_gps_glitch_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 140 | offset += sizeof(this->gps_glitch_status_flag); |
irfantitok | 0:8f3710bfd298 | 141 | union { |
irfantitok | 0:8f3710bfd298 | 142 | bool real; |
irfantitok | 0:8f3710bfd298 | 143 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 144 | } u_accel_error_status_flag; |
irfantitok | 0:8f3710bfd298 | 145 | u_accel_error_status_flag.real = this->accel_error_status_flag; |
irfantitok | 0:8f3710bfd298 | 146 | *(outbuffer + offset + 0) = (u_accel_error_status_flag.base >> (8 * 0)) & 0xFF; |
irfantitok | 0:8f3710bfd298 | 147 | offset += sizeof(this->accel_error_status_flag); |
irfantitok | 0:8f3710bfd298 | 148 | return offset; |
irfantitok | 0:8f3710bfd298 | 149 | } |
irfantitok | 0:8f3710bfd298 | 150 | |
irfantitok | 0:8f3710bfd298 | 151 | virtual int deserialize(unsigned char *inbuffer) |
irfantitok | 0:8f3710bfd298 | 152 | { |
irfantitok | 0:8f3710bfd298 | 153 | int offset = 0; |
irfantitok | 0:8f3710bfd298 | 154 | offset += this->header.deserialize(inbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 155 | union { |
irfantitok | 0:8f3710bfd298 | 156 | bool real; |
irfantitok | 0:8f3710bfd298 | 157 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 158 | } u_attitude_status_flag; |
irfantitok | 0:8f3710bfd298 | 159 | u_attitude_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 160 | u_attitude_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 161 | this->attitude_status_flag = u_attitude_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 162 | offset += sizeof(this->attitude_status_flag); |
irfantitok | 0:8f3710bfd298 | 163 | union { |
irfantitok | 0:8f3710bfd298 | 164 | bool real; |
irfantitok | 0:8f3710bfd298 | 165 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 166 | } u_velocity_horiz_status_flag; |
irfantitok | 0:8f3710bfd298 | 167 | u_velocity_horiz_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 168 | u_velocity_horiz_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 169 | this->velocity_horiz_status_flag = u_velocity_horiz_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 170 | offset += sizeof(this->velocity_horiz_status_flag); |
irfantitok | 0:8f3710bfd298 | 171 | union { |
irfantitok | 0:8f3710bfd298 | 172 | bool real; |
irfantitok | 0:8f3710bfd298 | 173 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 174 | } u_velocity_vert_status_flag; |
irfantitok | 0:8f3710bfd298 | 175 | u_velocity_vert_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 176 | u_velocity_vert_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 177 | this->velocity_vert_status_flag = u_velocity_vert_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 178 | offset += sizeof(this->velocity_vert_status_flag); |
irfantitok | 0:8f3710bfd298 | 179 | union { |
irfantitok | 0:8f3710bfd298 | 180 | bool real; |
irfantitok | 0:8f3710bfd298 | 181 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 182 | } u_pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 183 | u_pos_horiz_rel_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 184 | u_pos_horiz_rel_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 185 | this->pos_horiz_rel_status_flag = u_pos_horiz_rel_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 186 | offset += sizeof(this->pos_horiz_rel_status_flag); |
irfantitok | 0:8f3710bfd298 | 187 | union { |
irfantitok | 0:8f3710bfd298 | 188 | bool real; |
irfantitok | 0:8f3710bfd298 | 189 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 190 | } u_pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 191 | u_pos_horiz_abs_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 192 | u_pos_horiz_abs_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 193 | this->pos_horiz_abs_status_flag = u_pos_horiz_abs_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 194 | offset += sizeof(this->pos_horiz_abs_status_flag); |
irfantitok | 0:8f3710bfd298 | 195 | union { |
irfantitok | 0:8f3710bfd298 | 196 | bool real; |
irfantitok | 0:8f3710bfd298 | 197 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 198 | } u_pos_vert_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 199 | u_pos_vert_abs_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 200 | u_pos_vert_abs_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 201 | this->pos_vert_abs_status_flag = u_pos_vert_abs_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 202 | offset += sizeof(this->pos_vert_abs_status_flag); |
irfantitok | 0:8f3710bfd298 | 203 | union { |
irfantitok | 0:8f3710bfd298 | 204 | bool real; |
irfantitok | 0:8f3710bfd298 | 205 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 206 | } u_pos_vert_agl_status_flag; |
irfantitok | 0:8f3710bfd298 | 207 | u_pos_vert_agl_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 208 | u_pos_vert_agl_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 209 | this->pos_vert_agl_status_flag = u_pos_vert_agl_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 210 | offset += sizeof(this->pos_vert_agl_status_flag); |
irfantitok | 0:8f3710bfd298 | 211 | union { |
irfantitok | 0:8f3710bfd298 | 212 | bool real; |
irfantitok | 0:8f3710bfd298 | 213 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 214 | } u_const_pos_mode_status_flag; |
irfantitok | 0:8f3710bfd298 | 215 | u_const_pos_mode_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 216 | u_const_pos_mode_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 217 | this->const_pos_mode_status_flag = u_const_pos_mode_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 218 | offset += sizeof(this->const_pos_mode_status_flag); |
irfantitok | 0:8f3710bfd298 | 219 | union { |
irfantitok | 0:8f3710bfd298 | 220 | bool real; |
irfantitok | 0:8f3710bfd298 | 221 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 222 | } u_pred_pos_horiz_rel_status_flag; |
irfantitok | 0:8f3710bfd298 | 223 | u_pred_pos_horiz_rel_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 224 | u_pred_pos_horiz_rel_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 225 | this->pred_pos_horiz_rel_status_flag = u_pred_pos_horiz_rel_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 226 | offset += sizeof(this->pred_pos_horiz_rel_status_flag); |
irfantitok | 0:8f3710bfd298 | 227 | union { |
irfantitok | 0:8f3710bfd298 | 228 | bool real; |
irfantitok | 0:8f3710bfd298 | 229 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 230 | } u_pred_pos_horiz_abs_status_flag; |
irfantitok | 0:8f3710bfd298 | 231 | u_pred_pos_horiz_abs_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 232 | u_pred_pos_horiz_abs_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 233 | this->pred_pos_horiz_abs_status_flag = u_pred_pos_horiz_abs_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 234 | offset += sizeof(this->pred_pos_horiz_abs_status_flag); |
irfantitok | 0:8f3710bfd298 | 235 | union { |
irfantitok | 0:8f3710bfd298 | 236 | bool real; |
irfantitok | 0:8f3710bfd298 | 237 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 238 | } u_gps_glitch_status_flag; |
irfantitok | 0:8f3710bfd298 | 239 | u_gps_glitch_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 240 | u_gps_glitch_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 241 | this->gps_glitch_status_flag = u_gps_glitch_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 242 | offset += sizeof(this->gps_glitch_status_flag); |
irfantitok | 0:8f3710bfd298 | 243 | union { |
irfantitok | 0:8f3710bfd298 | 244 | bool real; |
irfantitok | 0:8f3710bfd298 | 245 | uint8_t base; |
irfantitok | 0:8f3710bfd298 | 246 | } u_accel_error_status_flag; |
irfantitok | 0:8f3710bfd298 | 247 | u_accel_error_status_flag.base = 0; |
irfantitok | 0:8f3710bfd298 | 248 | u_accel_error_status_flag.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0); |
irfantitok | 0:8f3710bfd298 | 249 | this->accel_error_status_flag = u_accel_error_status_flag.real; |
irfantitok | 0:8f3710bfd298 | 250 | offset += sizeof(this->accel_error_status_flag); |
irfantitok | 0:8f3710bfd298 | 251 | return offset; |
irfantitok | 0:8f3710bfd298 | 252 | } |
irfantitok | 0:8f3710bfd298 | 253 | |
irfantitok | 0:8f3710bfd298 | 254 | const char * getType(){ return "mavros_msgs/EstimatorStatus"; }; |
irfantitok | 0:8f3710bfd298 | 255 | const char * getMD5(){ return "39dbcc4be3f04b68422f784827c47dd5"; }; |
irfantitok | 0:8f3710bfd298 | 256 | |
irfantitok | 0:8f3710bfd298 | 257 | }; |
irfantitok | 0:8f3710bfd298 | 258 | |
irfantitok | 0:8f3710bfd298 | 259 | } |
irfantitok | 0:8f3710bfd298 | 260 | #endif |