Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debian@Me:~/librobotcontrol$ make
- made: build/button.o
- made: build/pinmux.o
- made: build/deprecated.o
- made: build/io/spi.o
- made: build/io/adc.o
- made: build/io/encoder_eqep.o
- made: build/io/i2c.o
- made: build/io/uart.o
- made: build/io/pwm.o
- made: build/io/gpio.o
- made: build/start_stop.o
- made: build/pru/pru.o
- made: build/pru/encoder_pru.o
- made: build/pru/servo.o
- In file included from include/rc/mavlink/common/../protocol.h:83,
- from include/rc/mavlink/common/common.h:30,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_finalize_message_buffer':
- include/rc/mavlink/common/../mavlink_helpers.h:248:24: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 248 | crc_accumulate_buffer(&msg->checksum, _MAV_PAYLOAD(msg), msg->len);
- | ^~~~~~~~~~~~~~
- include/rc/mavlink/common/../mavlink_helpers.h:249:28: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 249 | crc_accumulate(crc_extra, &msg->checksum);
- | ^~~~~~~~~~~~~~
- include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_start_checksum':
- include/rc/mavlink/common/../mavlink_helpers.h:472:11: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 472 | crc_init(&msg->checksum);
- | ^~~~~~~~~~~~~~
- include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_update_checksum':
- include/rc/mavlink/common/../mavlink_helpers.h:477:20: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 477 | crc_accumulate(c, &msg->checksum);
- | ^~~~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1234,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h: In function 'mavlink_msg_attitude_quaternion_cov_encode':
- include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:147:142: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 147 | return mavlink_msg_attitude_quaternion_cov_pack(system_id, component_id, msg, attitude_quaternion_cov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1234,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:147:278: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 147 | ov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h: In function 'mavlink_msg_attitude_quaternion_cov_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:161:153: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 161 | return mavlink_msg_attitude_quaternion_cov_pack_chan(system_id, component_id, chan, msg, attitude_quaternion_cov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:161:289: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 161 | ov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1236,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h: In function 'mavlink_msg_global_position_int_cov_encode':
- include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h:182:399: warning: taking address of packed member of 'struct __mavlink_global_position_int_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 182 | l_position_int_cov->alt, global_position_int_cov->relative_alt, global_position_int_cov->vx, global_position_int_cov->vy, global_position_int_cov->vz, global_position_int_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h: In function 'mavlink_msg_global_position_int_cov_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h:196:410: warning: taking address of packed member of 'struct __mavlink_global_position_int_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 196 | l_position_int_cov->alt, global_position_int_cov->relative_alt, global_position_int_cov->vx, global_position_int_cov->vy, global_position_int_cov->vz, global_position_int_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1237,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h: In function 'mavlink_msg_local_position_ned_cov_encode':
- include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h:200:428: warning: taking address of packed member of 'struct __mavlink_local_position_ned_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 200 | ed_cov->vx, local_position_ned_cov->vy, local_position_ned_cov->vz, local_position_ned_cov->ax, local_position_ned_cov->ay, local_position_ned_cov->az, local_position_ned_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h: In function 'mavlink_msg_local_position_ned_cov_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h:214:439: warning: taking address of packed member of 'struct __mavlink_local_position_ned_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 214 | ed_cov->vx, local_position_ned_cov->vy, local_position_ned_cov->vz, local_position_ned_cov->ax, local_position_ned_cov->ay, local_position_ned_cov->az, local_position_ned_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1249,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h: In function 'mavlink_msg_set_attitude_target_encode':
- include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h:173:240: warning: taking address of packed member of 'struct __mavlink_set_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 173 | ent_id, msg, set_attitude_target->time_boot_ms, set_attitude_target->target_system, set_attitude_target->target_component, set_attitude_target->type_mask, set_attitude_target->q, set_attitude_target->body_roll_rate, set_attitude_target->body_pitch_rate, set_attitude_target->body_yaw_rate, set_attitude_target->thrust);
- | ~~~~~~~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h: In function 'mavlink_msg_set_attitude_target_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h:187:251: warning: taking address of packed member of 'struct __mavlink_set_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 187 | , chan, msg, set_attitude_target->time_boot_ms, set_attitude_target->target_system, set_attitude_target->target_component, set_attitude_target->type_mask, set_attitude_target->q, set_attitude_target->body_roll_rate, set_attitude_target->body_pitch_rate, set_attitude_target->body_yaw_rate, set_attitude_target->thrust);
- | ~~~~~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1250,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_attitude_target.h: In function 'mavlink_msg_attitude_target_encode':
- include/rc/mavlink/common/./mavlink_msg_attitude_target.h:155:149: warning: taking address of packed member of 'struct __mavlink_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 155 | return mavlink_msg_attitude_target_pack(system_id, component_id, msg, attitude_target->time_boot_ms, attitude_target->type_mask, attitude_target->q, attitude_target->body_roll_rate, attitude_target->body_pitch_rate, attitude_target->body_yaw_rate, attitude_target->thrust);
- | ~~~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_attitude_target.h: In function 'mavlink_msg_attitude_target_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_attitude_target.h:169:160: warning: taking address of packed member of 'struct __mavlink_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 169 | return mavlink_msg_attitude_target_pack_chan(system_id, component_id, chan, msg, attitude_target->time_boot_ms, attitude_target->type_mask, attitude_target->q, attitude_target->body_roll_rate, attitude_target->body_pitch_rate, attitude_target->body_yaw_rate, attitude_target->thrust);
- | ~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1259,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h: In function 'mavlink_msg_hil_actuator_controls_encode':
- include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h:128:136: warning: taking address of packed member of 'struct __mavlink_hil_actuator_controls_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 128 | return mavlink_msg_hil_actuator_controls_pack(system_id, component_id, msg, hil_actuator_controls->time_usec, hil_actuator_controls->controls, hil_actuator_controls->mode, hil_actuator_controls->flags);
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h: In function 'mavlink_msg_hil_actuator_controls_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h:142:147: warning: taking address of packed member of 'struct __mavlink_hil_actuator_controls_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 142 | return mavlink_msg_hil_actuator_controls_pack_chan(system_id, component_id, chan, msg, hil_actuator_controls->time_usec, hil_actuator_controls->controls, hil_actuator_controls->mode, hil_actuator_controls->flags);
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1275,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h: In function 'mavlink_msg_hil_state_quaternion_encode':
- include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h:236:133: warning: taking address of packed member of 'struct __mavlink_hil_state_quaternion_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 236 | return mavlink_msg_hil_state_quaternion_pack(system_id, component_id, msg, hil_state_quaternion->time_usec, hil_state_quaternion->attitude_quaternion, hil_state_quaternion->rollspeed, hil_state_quaternion->pitchspeed, hil_state_quaternion->yawspeed, hil_state_quaternion->lat, hil_state_quaternion->lon, hil_state_quaternion->alt, hil_state_quaternion->vx, hil_state_quaternion->vy, hil_state_quaternion->vz, hil_state_quaternion->ind_airspeed, hil_state_quaternion->true_airspeed, hil_state_quaternion->xacc, hil_state_quaternion->yacc, hil_state_quaternion->zacc);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1275,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h: In function 'mavlink_msg_hil_state_quaternion_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h:250:144: warning: taking address of packed member of 'struct __mavlink_hil_state_quaternion_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 250 | return mavlink_msg_hil_state_quaternion_pack_chan(system_id, component_id, chan, msg, hil_state_quaternion->time_usec, hil_state_quaternion->attitude_quaternion, hil_state_quaternion->rollspeed, hil_state_quaternion->pitchspeed, hil_state_quaternion->yawspeed, hil_state_quaternion->lat, hil_state_quaternion->lon, hil_state_quaternion->alt, hil_state_quaternion->vx, hil_state_quaternion->vy, hil_state_quaternion->vz, hil_state_quaternion->ind_airspeed, hil_state_quaternion->true_airspeed, hil_state_quaternion->xacc, hil_state_quaternion->yacc, hil_state_quaternion->zacc);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1294,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_terrain_data.h: In function 'mavlink_msg_terrain_data_encode':
- include/rc/mavlink/common/./mavlink_msg_terrain_data.h:137:173: warning: taking address of packed member of 'struct __mavlink_terrain_data_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | return mavlink_msg_terrain_data_pack(system_id, component_id, msg, terrain_data->lat, terrain_data->lon, terrain_data->grid_spacing, terrain_data->gridbit, terrain_data->data);
- | ~~~~~~~~~~~~^~~~~~
- include/rc/mavlink/common/./mavlink_msg_terrain_data.h: In function 'mavlink_msg_terrain_data_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_terrain_data.h:151:184: warning: taking address of packed member of 'struct __mavlink_terrain_data_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | turn mavlink_msg_terrain_data_pack_chan(system_id, component_id, chan, msg, terrain_data->lat, terrain_data->lon, terrain_data->grid_spacing, terrain_data->gridbit, terrain_data->data);
- | ~~~~~~~~~~~~^~~~~~
- In file included from include/rc/mavlink/common/common.h:1298,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h: In function 'mavlink_msg_att_pos_mocap_encode':
- include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h:137:112: warning: taking address of packed member of 'struct __mavlink_att_pos_mocap_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | return mavlink_msg_att_pos_mocap_pack(system_id, component_id, msg, att_pos_mocap->time_usec, att_pos_mocap->q, att_pos_mocap->x, att_pos_mocap->y, att_pos_mocap->z);
- | ~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h: In function 'mavlink_msg_att_pos_mocap_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h:151:123: warning: taking address of packed member of 'struct __mavlink_att_pos_mocap_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | return mavlink_msg_att_pos_mocap_pack_chan(system_id, component_id, chan, msg, att_pos_mocap->time_usec, att_pos_mocap->q, att_pos_mocap->x, att_pos_mocap->y, att_pos_mocap->z);
- | ~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1299,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h: In function 'mavlink_msg_set_actuator_control_target_encode':
- include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h:137:285: warning: taking address of packed member of 'struct __mavlink_set_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | get->time_usec, set_actuator_control_target->group_mlx, set_actuator_control_target->target_system, set_actuator_control_target->target_component, set_actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h: In function 'mavlink_msg_set_actuator_control_target_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h:151:296: warning: taking address of packed member of 'struct __mavlink_set_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | get->time_usec, set_actuator_control_target->group_mlx, set_actuator_control_target->target_system, set_actuator_control_target->target_component, set_actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1300,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h: In function 'mavlink_msg_actuator_control_target_encode':
- include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h:119:178: warning: taking address of packed member of 'struct __mavlink_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 119 | return mavlink_msg_actuator_control_target_pack(system_id, component_id, msg, actuator_control_target->time_usec, actuator_control_target->group_mlx, actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h: In function 'mavlink_msg_actuator_control_target_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h:133:189: warning: taking address of packed member of 'struct __mavlink_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 133 | link_msg_actuator_control_target_pack_chan(system_id, component_id, chan, msg, actuator_control_target->time_usec, actuator_control_target->group_mlx, actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1304,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_follow_target.h: In function 'mavlink_msg_follow_target_encode':
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:205: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | target_pack(system_id, component_id, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:225: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | d, component_id, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:245: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | , follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1304,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:272: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:294: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | pabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h: In function 'mavlink_msg_follow_target_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:216: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | _chan(system_id, component_id, chan, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:236: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | ponent_id, chan, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:256: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | , follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:283: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~
- include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:305: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | pabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1305,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h: In function 'mavlink_msg_control_system_state_encode':
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:426: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | _vel, control_system_state->z_vel, control_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:462: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | ontrol_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:498: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1305,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h: In function 'mavlink_msg_control_system_state_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:437: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | _vel, control_system_state->z_vel, control_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:473: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | ontrol_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:509: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1306,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_battery_status.h: In function 'mavlink_msg_battery_status_encode':
- include/rc/mavlink/common/./mavlink_msg_battery_status.h:173:193: warning: taking address of packed member of 'struct __mavlink_battery_status_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 173 | _msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining);
- | ~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1306,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_battery_status.h: In function 'mavlink_msg_battery_status_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_battery_status.h:187:204: warning: taking address of packed member of 'struct __mavlink_battery_status_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 187 | y_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining);
- | ~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from include/rc/mavlink/common/common.h:1308,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_landing_target.h: In function 'mavlink_msg_landing_target_encode':
- include/rc/mavlink/common/./mavlink_msg_landing_target.h:218:347: warning: taking address of packed member of 'struct __mavlink_landing_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 218 | _x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
- | ~~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_landing_target.h: In function 'mavlink_msg_landing_target_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_landing_target.h:232:358: warning: taking address of packed member of 'struct __mavlink_landing_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 232 | _x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
- | ~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1315,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_home_position.h: In function 'mavlink_msg_home_position_encode':
- include/rc/mavlink/common/./mavlink_msg_home_position.h:191:216: warning: taking address of packed member of 'struct __mavlink_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 191 | (system_id, component_id, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
- | ~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_home_position.h: In function 'mavlink_msg_home_position_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_home_position.h:205:227: warning: taking address of packed member of 'struct __mavlink_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 205 | m_id, component_id, chan, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
- | ~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1316,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_set_home_position.h: In function 'mavlink_msg_set_home_position_encode':
- include/rc/mavlink/common/./mavlink_msg_set_home_position.h:200:282: warning: taking address of packed member of 'struct __mavlink_set_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 200 | m, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
- | ~~~~~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_set_home_position.h: In function 'mavlink_msg_set_home_position_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_set_home_position.h:214:293: warning: taking address of packed member of 'struct __mavlink_set_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 214 | m, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
- | ~~~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1335,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h: In function 'mavlink_msg_camera_image_captured_encode':
- include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h:192:327: warning: taking address of packed member of 'struct __mavlink_camera_image_captured_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 192 | mera_image_captured->camera_id, camera_image_captured->lat, camera_image_captured->lon, camera_image_captured->alt, camera_image_captured->relative_alt, camera_image_captured->q, camera_image_captured->image_index, camera_image_captured->capture_result, camera_image_captured->file_url);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h: In function 'mavlink_msg_camera_image_captured_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h:206:338: warning: taking address of packed member of 'struct __mavlink_camera_image_captured_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 206 | mera_image_captured->camera_id, camera_image_captured->lat, camera_image_captured->lon, camera_image_captured->alt, camera_image_captured->relative_alt, camera_image_captured->q, camera_image_captured->image_index, camera_image_captured->capture_result, camera_image_captured->file_url);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from include/rc/mavlink/common/common.h:1352,
- from include/rc/mavlink/common/mavlink.h:32,
- from include/rc/mavlink_udp.h:31,
- from src/mavlink_udp.c:28:
- include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h: In function 'mavlink_msg_obstacle_distance_encode':
- include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h:146:156: warning: taking address of packed member of 'struct __mavlink_obstacle_distance_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 146 | return mavlink_msg_obstacle_distance_pack(system_id, component_id, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h: In function 'mavlink_msg_obstacle_distance_encode_chan':
- include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h:160:167: warning: taking address of packed member of 'struct __mavlink_obstacle_distance_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 160 | return mavlink_msg_obstacle_distance_pack_chan(system_id, component_id, chan, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- made: build/mavlink_udp.o
- made: build/dsm.o
- made: build/bmp/bmp.o
- src/model.c: In function 'rc_model_category':
- src/model.c:172:9: warning: implicit conversion from 'rc_model_t' to 'rc_model_category_t' [-Wenum-conversion]
- 172 | return current_model;
- | ^~~~~~~~~~~~~
- made: build/model.o
- made: build/led.o
- made: build/encoder.o
- made: build/pthread.o
- made: build/cpu.o
- made: build/motor.o
- made: build/version.o
- made: build/math/filter.o
- made: build/math/kalman.o
- made: build/math/polynomial.o
- made: build/math/matrix.o
- made: build/math/ring_buffer.o
- made: build/math/algebra_common.o
- made: build/math/quaternion.o
- made: build/math/algebra.o
- made: build/math/vector.o
- made: build/math/other.o
- made: build/time.o
- made: build/mpu/mpu.o
- Done making lib/librobotcontrol.so.1.0.5
- made: bin/rc_test_algebra
- made: bin/rc_test_dsm
- made: bin/rc_test_bmp
- made: bin/rc_test_matrix
- made: bin/rc_check_battery
- made: bin/rc_test_filters
- In file included from ../library/include/rc/mavlink/common/../protocol.h:83,
- from ../library/include/rc/mavlink/common/common.h:30,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_finalize_message_buffer':
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:248:24: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 248 | crc_accumulate_buffer(&msg->checksum, _MAV_PAYLOAD(msg), msg->len);
- | ^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:249:28: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 249 | crc_accumulate(crc_extra, &msg->checksum);
- | ^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_start_checksum':
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:472:11: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 472 | crc_init(&msg->checksum);
- | ^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_update_checksum':
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:477:20: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 477 | crc_accumulate(c, &msg->checksum);
- | ^~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1234,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h: In function 'mavlink_msg_attitude_quaternion_cov_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:147:142: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 147 | return mavlink_msg_attitude_quaternion_cov_pack(system_id, component_id, msg, attitude_quaternion_cov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1234,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:147:278: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 147 | ov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h: In function 'mavlink_msg_attitude_quaternion_cov_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:161:153: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 161 | return mavlink_msg_attitude_quaternion_cov_pack_chan(system_id, component_id, chan, msg, attitude_quaternion_cov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:161:289: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 161 | ov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1236,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h: In function 'mavlink_msg_global_position_int_cov_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h:182:399: warning: taking address of packed member of 'struct __mavlink_global_position_int_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 182 | l_position_int_cov->alt, global_position_int_cov->relative_alt, global_position_int_cov->vx, global_position_int_cov->vy, global_position_int_cov->vz, global_position_int_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h: In function 'mavlink_msg_global_position_int_cov_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h:196:410: warning: taking address of packed member of 'struct __mavlink_global_position_int_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 196 | l_position_int_cov->alt, global_position_int_cov->relative_alt, global_position_int_cov->vx, global_position_int_cov->vy, global_position_int_cov->vz, global_position_int_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1237,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h: In function 'mavlink_msg_local_position_ned_cov_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h:200:428: warning: taking address of packed member of 'struct __mavlink_local_position_ned_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 200 | ed_cov->vx, local_position_ned_cov->vy, local_position_ned_cov->vz, local_position_ned_cov->ax, local_position_ned_cov->ay, local_position_ned_cov->az, local_position_ned_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h: In function 'mavlink_msg_local_position_ned_cov_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h:214:439: warning: taking address of packed member of 'struct __mavlink_local_position_ned_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 214 | ed_cov->vx, local_position_ned_cov->vy, local_position_ned_cov->vz, local_position_ned_cov->ax, local_position_ned_cov->ay, local_position_ned_cov->az, local_position_ned_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1249,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h: In function 'mavlink_msg_set_attitude_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h:173:240: warning: taking address of packed member of 'struct __mavlink_set_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 173 | ent_id, msg, set_attitude_target->time_boot_ms, set_attitude_target->target_system, set_attitude_target->target_component, set_attitude_target->type_mask, set_attitude_target->q, set_attitude_target->body_roll_rate, set_attitude_target->body_pitch_rate, set_attitude_target->body_yaw_rate, set_attitude_target->thrust);
- | ~~~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h: In function 'mavlink_msg_set_attitude_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h:187:251: warning: taking address of packed member of 'struct __mavlink_set_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 187 | , chan, msg, set_attitude_target->time_boot_ms, set_attitude_target->target_system, set_attitude_target->target_component, set_attitude_target->type_mask, set_attitude_target->q, set_attitude_target->body_roll_rate, set_attitude_target->body_pitch_rate, set_attitude_target->body_yaw_rate, set_attitude_target->thrust);
- | ~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1250,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h: In function 'mavlink_msg_attitude_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h:155:149: warning: taking address of packed member of 'struct __mavlink_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 155 | return mavlink_msg_attitude_target_pack(system_id, component_id, msg, attitude_target->time_boot_ms, attitude_target->type_mask, attitude_target->q, attitude_target->body_roll_rate, attitude_target->body_pitch_rate, attitude_target->body_yaw_rate, attitude_target->thrust);
- | ~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h: In function 'mavlink_msg_attitude_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h:169:160: warning: taking address of packed member of 'struct __mavlink_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 169 | return mavlink_msg_attitude_target_pack_chan(system_id, component_id, chan, msg, attitude_target->time_boot_ms, attitude_target->type_mask, attitude_target->q, attitude_target->body_roll_rate, attitude_target->body_pitch_rate, attitude_target->body_yaw_rate, attitude_target->thrust);
- | ~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1259,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h: In function 'mavlink_msg_hil_actuator_controls_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h:128:136: warning: taking address of packed member of 'struct __mavlink_hil_actuator_controls_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 128 | return mavlink_msg_hil_actuator_controls_pack(system_id, component_id, msg, hil_actuator_controls->time_usec, hil_actuator_controls->controls, hil_actuator_controls->mode, hil_actuator_controls->flags);
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h: In function 'mavlink_msg_hil_actuator_controls_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h:142:147: warning: taking address of packed member of 'struct __mavlink_hil_actuator_controls_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 142 | return mavlink_msg_hil_actuator_controls_pack_chan(system_id, component_id, chan, msg, hil_actuator_controls->time_usec, hil_actuator_controls->controls, hil_actuator_controls->mode, hil_actuator_controls->flags);
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1275,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h: In function 'mavlink_msg_hil_state_quaternion_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h:236:133: warning: taking address of packed member of 'struct __mavlink_hil_state_quaternion_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 236 | return mavlink_msg_hil_state_quaternion_pack(system_id, component_id, msg, hil_state_quaternion->time_usec, hil_state_quaternion->attitude_quaternion, hil_state_quaternion->rollspeed, hil_state_quaternion->pitchspeed, hil_state_quaternion->yawspeed, hil_state_quaternion->lat, hil_state_quaternion->lon, hil_state_quaternion->alt, hil_state_quaternion->vx, hil_state_quaternion->vy, hil_state_quaternion->vz, hil_state_quaternion->ind_airspeed, hil_state_quaternion->true_airspeed, hil_state_quaternion->xacc, hil_state_quaternion->yacc, hil_state_quaternion->zacc);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1275,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h: In function 'mavlink_msg_hil_state_quaternion_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h:250:144: warning: taking address of packed member of 'struct __mavlink_hil_state_quaternion_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 250 | return mavlink_msg_hil_state_quaternion_pack_chan(system_id, component_id, chan, msg, hil_state_quaternion->time_usec, hil_state_quaternion->attitude_quaternion, hil_state_quaternion->rollspeed, hil_state_quaternion->pitchspeed, hil_state_quaternion->yawspeed, hil_state_quaternion->lat, hil_state_quaternion->lon, hil_state_quaternion->alt, hil_state_quaternion->vx, hil_state_quaternion->vy, hil_state_quaternion->vz, hil_state_quaternion->ind_airspeed, hil_state_quaternion->true_airspeed, hil_state_quaternion->xacc, hil_state_quaternion->yacc, hil_state_quaternion->zacc);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1294,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h: In function 'mavlink_msg_terrain_data_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h:137:173: warning: taking address of packed member of 'struct __mavlink_terrain_data_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | return mavlink_msg_terrain_data_pack(system_id, component_id, msg, terrain_data->lat, terrain_data->lon, terrain_data->grid_spacing, terrain_data->gridbit, terrain_data->data);
- | ~~~~~~~~~~~~^~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h: In function 'mavlink_msg_terrain_data_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h:151:184: warning: taking address of packed member of 'struct __mavlink_terrain_data_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | turn mavlink_msg_terrain_data_pack_chan(system_id, component_id, chan, msg, terrain_data->lat, terrain_data->lon, terrain_data->grid_spacing, terrain_data->gridbit, terrain_data->data);
- | ~~~~~~~~~~~~^~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1298,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h: In function 'mavlink_msg_att_pos_mocap_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h:137:112: warning: taking address of packed member of 'struct __mavlink_att_pos_mocap_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | return mavlink_msg_att_pos_mocap_pack(system_id, component_id, msg, att_pos_mocap->time_usec, att_pos_mocap->q, att_pos_mocap->x, att_pos_mocap->y, att_pos_mocap->z);
- | ~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h: In function 'mavlink_msg_att_pos_mocap_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h:151:123: warning: taking address of packed member of 'struct __mavlink_att_pos_mocap_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | return mavlink_msg_att_pos_mocap_pack_chan(system_id, component_id, chan, msg, att_pos_mocap->time_usec, att_pos_mocap->q, att_pos_mocap->x, att_pos_mocap->y, att_pos_mocap->z);
- | ~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1299,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h: In function 'mavlink_msg_set_actuator_control_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h:137:285: warning: taking address of packed member of 'struct __mavlink_set_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | get->time_usec, set_actuator_control_target->group_mlx, set_actuator_control_target->target_system, set_actuator_control_target->target_component, set_actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h: In function 'mavlink_msg_set_actuator_control_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h:151:296: warning: taking address of packed member of 'struct __mavlink_set_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | get->time_usec, set_actuator_control_target->group_mlx, set_actuator_control_target->target_system, set_actuator_control_target->target_component, set_actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1300,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h: In function 'mavlink_msg_actuator_control_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h:119:178: warning: taking address of packed member of 'struct __mavlink_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 119 | return mavlink_msg_actuator_control_target_pack(system_id, component_id, msg, actuator_control_target->time_usec, actuator_control_target->group_mlx, actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h: In function 'mavlink_msg_actuator_control_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h:133:189: warning: taking address of packed member of 'struct __mavlink_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 133 | link_msg_actuator_control_target_pack_chan(system_id, component_id, chan, msg, actuator_control_target->time_usec, actuator_control_target->group_mlx, actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1304,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h: In function 'mavlink_msg_follow_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:205: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | target_pack(system_id, component_id, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:225: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | d, component_id, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:245: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | , follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1304,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:272: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:294: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | pabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h: In function 'mavlink_msg_follow_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:216: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | _chan(system_id, component_id, chan, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:236: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | ponent_id, chan, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:256: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | , follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:283: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:305: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | pabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1305,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h: In function 'mavlink_msg_control_system_state_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:426: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | _vel, control_system_state->z_vel, control_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:462: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | ontrol_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:498: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1305,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h: In function 'mavlink_msg_control_system_state_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:437: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | _vel, control_system_state->z_vel, control_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:473: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | ontrol_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:509: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1306,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h: In function 'mavlink_msg_battery_status_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h:173:193: warning: taking address of packed member of 'struct __mavlink_battery_status_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 173 | _msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining);
- | ~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1306,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h: In function 'mavlink_msg_battery_status_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h:187:204: warning: taking address of packed member of 'struct __mavlink_battery_status_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 187 | y_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining);
- | ~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1308,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h: In function 'mavlink_msg_landing_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h:218:347: warning: taking address of packed member of 'struct __mavlink_landing_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 218 | _x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
- | ~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h: In function 'mavlink_msg_landing_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h:232:358: warning: taking address of packed member of 'struct __mavlink_landing_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 232 | _x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
- | ~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1315,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h: In function 'mavlink_msg_home_position_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h:191:216: warning: taking address of packed member of 'struct __mavlink_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 191 | (system_id, component_id, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
- | ~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h: In function 'mavlink_msg_home_position_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h:205:227: warning: taking address of packed member of 'struct __mavlink_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 205 | m_id, component_id, chan, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
- | ~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1316,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h: In function 'mavlink_msg_set_home_position_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h:200:282: warning: taking address of packed member of 'struct __mavlink_set_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 200 | m, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
- | ~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h: In function 'mavlink_msg_set_home_position_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h:214:293: warning: taking address of packed member of 'struct __mavlink_set_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 214 | m, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
- | ~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1335,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h: In function 'mavlink_msg_camera_image_captured_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h:192:327: warning: taking address of packed member of 'struct __mavlink_camera_image_captured_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 192 | mera_image_captured->camera_id, camera_image_captured->lat, camera_image_captured->lon, camera_image_captured->alt, camera_image_captured->relative_alt, camera_image_captured->q, camera_image_captured->image_index, camera_image_captured->capture_result, camera_image_captured->file_url);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h: In function 'mavlink_msg_camera_image_captured_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h:206:338: warning: taking address of packed member of 'struct __mavlink_camera_image_captured_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 206 | mera_image_captured->camera_id, camera_image_captured->lat, camera_image_captured->lon, camera_image_captured->alt, camera_image_captured->relative_alt, camera_image_captured->q, camera_image_captured->image_index, camera_image_captured->capture_result, camera_image_captured->file_url);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1352,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from src/rc_test_mavlink.c:28:
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h: In function 'mavlink_msg_obstacle_distance_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h:146:156: warning: taking address of packed member of 'struct __mavlink_obstacle_distance_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 146 | return mavlink_msg_obstacle_distance_pack(system_id, component_id, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h: In function 'mavlink_msg_obstacle_distance_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h:160:167: warning: taking address of packed member of 'struct __mavlink_obstacle_distance_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 160 | return mavlink_msg_obstacle_distance_pack_chan(system_id, component_id, chan, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- made: bin/rc_test_mavlink
- made: bin/rc_calibrate_gyro
- made: bin/rc_test_leds
- made: bin/rc_test_encoders_pru
- made: bin/rc_test_pthread
- made: bin/rc_calibrate_escs
- made: bin/rc_kill
- made: bin/rc_test_motors
- made: bin/rc_model
- made: bin/rc_test_escs
- made: bin/rc_calibrate_mag
- made: bin/rc_test_adc
- made: bin/rc_test_time
- made: bin/rc_benchmark_algebra
- made: bin/rc_uart_loopback
- made: bin/rc_test_drivers
- made: bin/rc_test_mpu
- made: bin/rc_calibrate_accel
- made: bin/rc_calibrate_dsm
- made: bin/rc_altitude
- made: bin/rc_test_dmp
- made: bin/rc_test_encoders
- made: bin/rc_test_polynomial
- made: bin/rc_spi_loopback
- made: bin/rc_test_servos
- made: bin/rc_test_dmp_tap
- made: bin/rc_cpu
- made: bin/rc_test_complementary_filters
- In file included from ../library/include/rc/mavlink/common/../protocol.h:83,
- from ../library/include/rc/mavlink/common/common.h:30,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_finalize_message_buffer':
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:248:24: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 248 | crc_accumulate_buffer(&msg->checksum, _MAV_PAYLOAD(msg), msg->len);
- | ^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:249:28: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 249 | crc_accumulate(crc_extra, &msg->checksum);
- | ^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_start_checksum':
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:472:11: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 472 | crc_init(&msg->checksum);
- | ^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/../mavlink_helpers.h: In function 'mavlink_update_checksum':
- ../library/include/rc/mavlink/common/../mavlink_helpers.h:477:20: warning: taking address of packed member of 'struct __mavlink_message' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 477 | crc_accumulate(c, &msg->checksum);
- | ^~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1234,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h: In function 'mavlink_msg_attitude_quaternion_cov_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:147:142: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 147 | return mavlink_msg_attitude_quaternion_cov_pack(system_id, component_id, msg, attitude_quaternion_cov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1234,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:147:278: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 147 | ov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h: In function 'mavlink_msg_attitude_quaternion_cov_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:161:153: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 161 | return mavlink_msg_attitude_quaternion_cov_pack_chan(system_id, component_id, chan, msg, attitude_quaternion_cov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_quaternion_cov.h:161:289: warning: taking address of packed member of 'struct __mavlink_attitude_quaternion_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 161 | ov->time_usec, attitude_quaternion_cov->q, attitude_quaternion_cov->rollspeed, attitude_quaternion_cov->pitchspeed, attitude_quaternion_cov->yawspeed, attitude_quaternion_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1236,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h: In function 'mavlink_msg_global_position_int_cov_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h:182:399: warning: taking address of packed member of 'struct __mavlink_global_position_int_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 182 | l_position_int_cov->alt, global_position_int_cov->relative_alt, global_position_int_cov->vx, global_position_int_cov->vy, global_position_int_cov->vz, global_position_int_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h: In function 'mavlink_msg_global_position_int_cov_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_global_position_int_cov.h:196:410: warning: taking address of packed member of 'struct __mavlink_global_position_int_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 196 | l_position_int_cov->alt, global_position_int_cov->relative_alt, global_position_int_cov->vx, global_position_int_cov->vy, global_position_int_cov->vz, global_position_int_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1237,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h: In function 'mavlink_msg_local_position_ned_cov_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h:200:428: warning: taking address of packed member of 'struct __mavlink_local_position_ned_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 200 | ed_cov->vx, local_position_ned_cov->vy, local_position_ned_cov->vz, local_position_ned_cov->ax, local_position_ned_cov->ay, local_position_ned_cov->az, local_position_ned_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h: In function 'mavlink_msg_local_position_ned_cov_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_local_position_ned_cov.h:214:439: warning: taking address of packed member of 'struct __mavlink_local_position_ned_cov_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 214 | ed_cov->vx, local_position_ned_cov->vy, local_position_ned_cov->vz, local_position_ned_cov->ax, local_position_ned_cov->ay, local_position_ned_cov->az, local_position_ned_cov->covariance);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1249,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h: In function 'mavlink_msg_set_attitude_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h:173:240: warning: taking address of packed member of 'struct __mavlink_set_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 173 | ent_id, msg, set_attitude_target->time_boot_ms, set_attitude_target->target_system, set_attitude_target->target_component, set_attitude_target->type_mask, set_attitude_target->q, set_attitude_target->body_roll_rate, set_attitude_target->body_pitch_rate, set_attitude_target->body_yaw_rate, set_attitude_target->thrust);
- | ~~~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h: In function 'mavlink_msg_set_attitude_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_attitude_target.h:187:251: warning: taking address of packed member of 'struct __mavlink_set_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 187 | , chan, msg, set_attitude_target->time_boot_ms, set_attitude_target->target_system, set_attitude_target->target_component, set_attitude_target->type_mask, set_attitude_target->q, set_attitude_target->body_roll_rate, set_attitude_target->body_pitch_rate, set_attitude_target->body_yaw_rate, set_attitude_target->thrust);
- | ~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1250,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h: In function 'mavlink_msg_attitude_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h:155:149: warning: taking address of packed member of 'struct __mavlink_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 155 | return mavlink_msg_attitude_target_pack(system_id, component_id, msg, attitude_target->time_boot_ms, attitude_target->type_mask, attitude_target->q, attitude_target->body_roll_rate, attitude_target->body_pitch_rate, attitude_target->body_yaw_rate, attitude_target->thrust);
- | ~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h: In function 'mavlink_msg_attitude_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_attitude_target.h:169:160: warning: taking address of packed member of 'struct __mavlink_attitude_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 169 | return mavlink_msg_attitude_target_pack_chan(system_id, component_id, chan, msg, attitude_target->time_boot_ms, attitude_target->type_mask, attitude_target->q, attitude_target->body_roll_rate, attitude_target->body_pitch_rate, attitude_target->body_yaw_rate, attitude_target->thrust);
- | ~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1259,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h: In function 'mavlink_msg_hil_actuator_controls_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h:128:136: warning: taking address of packed member of 'struct __mavlink_hil_actuator_controls_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 128 | return mavlink_msg_hil_actuator_controls_pack(system_id, component_id, msg, hil_actuator_controls->time_usec, hil_actuator_controls->controls, hil_actuator_controls->mode, hil_actuator_controls->flags);
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h: In function 'mavlink_msg_hil_actuator_controls_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_actuator_controls.h:142:147: warning: taking address of packed member of 'struct __mavlink_hil_actuator_controls_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 142 | return mavlink_msg_hil_actuator_controls_pack_chan(system_id, component_id, chan, msg, hil_actuator_controls->time_usec, hil_actuator_controls->controls, hil_actuator_controls->mode, hil_actuator_controls->flags);
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1275,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h: In function 'mavlink_msg_hil_state_quaternion_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h:236:133: warning: taking address of packed member of 'struct __mavlink_hil_state_quaternion_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 236 | return mavlink_msg_hil_state_quaternion_pack(system_id, component_id, msg, hil_state_quaternion->time_usec, hil_state_quaternion->attitude_quaternion, hil_state_quaternion->rollspeed, hil_state_quaternion->pitchspeed, hil_state_quaternion->yawspeed, hil_state_quaternion->lat, hil_state_quaternion->lon, hil_state_quaternion->alt, hil_state_quaternion->vx, hil_state_quaternion->vy, hil_state_quaternion->vz, hil_state_quaternion->ind_airspeed, hil_state_quaternion->true_airspeed, hil_state_quaternion->xacc, hil_state_quaternion->yacc, hil_state_quaternion->zacc);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1275,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h: In function 'mavlink_msg_hil_state_quaternion_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_hil_state_quaternion.h:250:144: warning: taking address of packed member of 'struct __mavlink_hil_state_quaternion_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 250 | return mavlink_msg_hil_state_quaternion_pack_chan(system_id, component_id, chan, msg, hil_state_quaternion->time_usec, hil_state_quaternion->attitude_quaternion, hil_state_quaternion->rollspeed, hil_state_quaternion->pitchspeed, hil_state_quaternion->yawspeed, hil_state_quaternion->lat, hil_state_quaternion->lon, hil_state_quaternion->alt, hil_state_quaternion->vx, hil_state_quaternion->vy, hil_state_quaternion->vz, hil_state_quaternion->ind_airspeed, hil_state_quaternion->true_airspeed, hil_state_quaternion->xacc, hil_state_quaternion->yacc, hil_state_quaternion->zacc);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1294,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h: In function 'mavlink_msg_terrain_data_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h:137:173: warning: taking address of packed member of 'struct __mavlink_terrain_data_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | return mavlink_msg_terrain_data_pack(system_id, component_id, msg, terrain_data->lat, terrain_data->lon, terrain_data->grid_spacing, terrain_data->gridbit, terrain_data->data);
- | ~~~~~~~~~~~~^~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h: In function 'mavlink_msg_terrain_data_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_terrain_data.h:151:184: warning: taking address of packed member of 'struct __mavlink_terrain_data_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | turn mavlink_msg_terrain_data_pack_chan(system_id, component_id, chan, msg, terrain_data->lat, terrain_data->lon, terrain_data->grid_spacing, terrain_data->gridbit, terrain_data->data);
- | ~~~~~~~~~~~~^~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1298,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h: In function 'mavlink_msg_att_pos_mocap_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h:137:112: warning: taking address of packed member of 'struct __mavlink_att_pos_mocap_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | return mavlink_msg_att_pos_mocap_pack(system_id, component_id, msg, att_pos_mocap->time_usec, att_pos_mocap->q, att_pos_mocap->x, att_pos_mocap->y, att_pos_mocap->z);
- | ~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h: In function 'mavlink_msg_att_pos_mocap_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_att_pos_mocap.h:151:123: warning: taking address of packed member of 'struct __mavlink_att_pos_mocap_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | return mavlink_msg_att_pos_mocap_pack_chan(system_id, component_id, chan, msg, att_pos_mocap->time_usec, att_pos_mocap->q, att_pos_mocap->x, att_pos_mocap->y, att_pos_mocap->z);
- | ~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1299,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h: In function 'mavlink_msg_set_actuator_control_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h:137:285: warning: taking address of packed member of 'struct __mavlink_set_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 137 | get->time_usec, set_actuator_control_target->group_mlx, set_actuator_control_target->target_system, set_actuator_control_target->target_component, set_actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h: In function 'mavlink_msg_set_actuator_control_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_actuator_control_target.h:151:296: warning: taking address of packed member of 'struct __mavlink_set_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 151 | get->time_usec, set_actuator_control_target->group_mlx, set_actuator_control_target->target_system, set_actuator_control_target->target_component, set_actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1300,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h: In function 'mavlink_msg_actuator_control_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h:119:178: warning: taking address of packed member of 'struct __mavlink_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 119 | return mavlink_msg_actuator_control_target_pack(system_id, component_id, msg, actuator_control_target->time_usec, actuator_control_target->group_mlx, actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h: In function 'mavlink_msg_actuator_control_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_actuator_control_target.h:133:189: warning: taking address of packed member of 'struct __mavlink_actuator_control_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 133 | link_msg_actuator_control_target_pack_chan(system_id, component_id, chan, msg, actuator_control_target->time_usec, actuator_control_target->group_mlx, actuator_control_target->controls);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1304,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h: In function 'mavlink_msg_follow_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:205: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | target_pack(system_id, component_id, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:225: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | d, component_id, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:245: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | , follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1304,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:272: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:195:294: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 195 | pabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h: In function 'mavlink_msg_follow_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:216: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | _chan(system_id, component_id, chan, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:236: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | ponent_id, chan, msg, follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:256: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | , follow_target->timestamp, follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:283: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | follow_target->est_capabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_follow_target.h:209:305: warning: taking address of packed member of 'struct __mavlink_follow_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 209 | pabilities, follow_target->lat, follow_target->lon, follow_target->alt, follow_target->vel, follow_target->acc, follow_target->attitude_q, follow_target->rates, follow_target->position_cov, follow_target->custom_state);
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1305,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h: In function 'mavlink_msg_control_system_state_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:426: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | _vel, control_system_state->z_vel, control_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:462: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | ontrol_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:247:498: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 247 | system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1305,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h: In function 'mavlink_msg_control_system_state_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:437: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | _vel, control_system_state->z_vel, control_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:473: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | ontrol_system_state->x_pos, control_system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_control_system_state.h:261:509: warning: taking address of packed member of 'struct __mavlink_control_system_state_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 261 | system_state->y_pos, control_system_state->z_pos, control_system_state->airspeed, control_system_state->vel_variance, control_system_state->pos_variance, control_system_state->q, control_system_state->roll_rate, control_system_state->pitch_rate, control_system_state->yaw_rate);
- | ~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1306,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h: In function 'mavlink_msg_battery_status_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h:173:193: warning: taking address of packed member of 'struct __mavlink_battery_status_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 173 | _msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining);
- | ~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1306,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h: In function 'mavlink_msg_battery_status_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_battery_status.h:187:204: warning: taking address of packed member of 'struct __mavlink_battery_status_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 187 | y_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining);
- | ~~~~~~~~~~~~~~^~~~~~~~~~
- In file included from ../library/include/rc/mavlink/common/common.h:1308,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h: In function 'mavlink_msg_landing_target_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h:218:347: warning: taking address of packed member of 'struct __mavlink_landing_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 218 | _x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
- | ~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h: In function 'mavlink_msg_landing_target_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_landing_target.h:232:358: warning: taking address of packed member of 'struct __mavlink_landing_target_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 232 | _x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
- | ~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1315,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h: In function 'mavlink_msg_home_position_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h:191:216: warning: taking address of packed member of 'struct __mavlink_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 191 | (system_id, component_id, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
- | ~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h: In function 'mavlink_msg_home_position_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_home_position.h:205:227: warning: taking address of packed member of 'struct __mavlink_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 205 | m_id, component_id, chan, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
- | ~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1316,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h: In function 'mavlink_msg_set_home_position_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h:200:282: warning: taking address of packed member of 'struct __mavlink_set_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 200 | m, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
- | ~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h: In function 'mavlink_msg_set_home_position_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_set_home_position.h:214:293: warning: taking address of packed member of 'struct __mavlink_set_home_position_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 214 | m, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
- | ~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1335,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h: In function 'mavlink_msg_camera_image_captured_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h:192:327: warning: taking address of packed member of 'struct __mavlink_camera_image_captured_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 192 | mera_image_captured->camera_id, camera_image_captured->lat, camera_image_captured->lon, camera_image_captured->alt, camera_image_captured->relative_alt, camera_image_captured->q, camera_image_captured->image_index, camera_image_captured->capture_result, camera_image_captured->file_url);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h: In function 'mavlink_msg_camera_image_captured_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_camera_image_captured.h:206:338: warning: taking address of packed member of 'struct __mavlink_camera_image_captured_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 206 | mera_image_captured->camera_id, camera_image_captured->lat, camera_image_captured->lon, camera_image_captured->alt, camera_image_captured->relative_alt, camera_image_captured->q, camera_image_captured->image_index, camera_image_captured->capture_result, camera_image_captured->file_url);
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- In file included from ../library/include/rc/mavlink/common/common.h:1352,
- from ../library/include/rc/mavlink/common/mavlink.h:32,
- from ../library/include/rc/mavlink_udp.h:31,
- from ../library/include/robotcontrol.h:39,
- from src/rc_balance.c:11:
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h: In function 'mavlink_msg_obstacle_distance_encode':
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h:146:156: warning: taking address of packed member of 'struct __mavlink_obstacle_distance_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 146 | return mavlink_msg_obstacle_distance_pack(system_id, component_id, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h: In function 'mavlink_msg_obstacle_distance_encode_chan':
- ../library/include/rc/mavlink/common/./mavlink_msg_obstacle_distance.h:160:167: warning: taking address of packed member of 'struct __mavlink_obstacle_distance_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
- 160 | return mavlink_msg_obstacle_distance_pack_chan(system_id, component_id, chan, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- made: bin/rc_balance
- made: bin/rc_test_buttons
- made: bin/rc_blink
- made: bin/rc_version
- made: bin/rc_dsm_passthrough
- made: bin/rc_test_vector
- made: bin/rc_test_kalman
- made: bin/rc_bind_dsm
- made: bin/rc_test_encoders_eqep
- src/rc_battery_monitor.c: In function 'main':
- src/rc_battery_monitor.c:173:6: warning: using integer absolute value function 'abs' when argument is of floating-point type 'double' [-Wabsolute-value]
- 173 | if(abs(new_v_pack-v_pack)>2){
- | ^~~
- src/rc_battery_monitor.c:178:6: warning: using integer absolute value function 'abs' when argument is of floating-point type 'double' [-Wabsolute-value]
- 178 | if(abs(new_v_jack-v_jack)>2){
- | ^~~
- made: bin/rc_battery_monitor
- made: bin/rc_startup_routine
- debian@Me:~/librobotcontrol$ sudo make install
- sudo: unable to resolve host Me: No address associated with hostname
- PRU Firmware Install Complete
- Library Install Complete
- Examples Install complete
- rc_battery_monitor Service Install Complete
- robotcontrol Service Install Complete
- debian@Me:~/librobotcontrol$ rc_test_drivers
- Kernel: 5.10.65-ti-r24
- BeagleBoard.org Debian Bullseye IoT Image 2021-10-10
- Debian: 11.1
- PASSED: gpio 0
- PASSED: gpio 1
- PASSED: gpio 2
- PASSED: gpio 3
- ERROR: ti-pwm driver not loaded for hrpwm0
- ERROR: ti-pwm driver not loaded for hrpwm1
- ERROR: ti-pwm driver not loaded for hrpwm2
- ERROR: ti-eqep driver not loaded for eqep0
- ERROR: ti-eqep driver not loaded for eqep1
- ERROR: ti-eqep driver not loaded for eqep2
- ERROR: pru-rproc driver not loaded
- ERROR: uart1 driver not loaded
- ERROR: uart2 driver not loaded
- ERROR: uart4 driver not loaded
- ERROR: uart5 driver not loaded
- ERROR: i2c1 driver not loaded
- PASSED: i2c2
- ERROR: spi driver not loaded
- PASSED: LED
- PASSED: ADC iio
- Currently running on a:
- MODEL_BB_BLUE
- Robot Control library Version:
- 1.0.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement