static void send_ins_z(struct transport_tx *trans, struct link_device *dev) { static const float fake_baro_z = 0.0; pprz_msg_send_INS_Z(trans, dev, AC_ID, (float *)&fake_baro_z, &ins_gp.ltp_pos.z, &ins_gp.ltp_speed.z, &ins_gp.ltp_accel.z); }
static void send_ins_z(struct transport_tx *trans, struct link_device *dev) { pprz_msg_send_INS_Z(trans, dev, AC_ID, &ins_vn.baro_z, &ins_vn.ltp_pos_i.z, &ins_vn.ltp_speed_i.z, &ins_vn.ltp_accel_i.z); }