飞行版本

This commit is contained in:
hm
2022-02-25 15:51:18 +08:00
parent c69af12878
commit 16b55bceb2
17 changed files with 396 additions and 294 deletions
+5 -2
View File
@@ -909,11 +909,12 @@ void MavLinkNode::StatusParse(mavlink_message_t msg)
emit signal_ins2(vehicle.ins2);
_showinfo info;
info.flag = 0x23F8;
info.id = msg.sysid;//1
info.time = vehicle.ins2.time;//(second+min*60+hour*3600)*1000
info.id = infoExportID;//1
info.time = (int32_t)vehicle.ins2.time;//(second+min*60+hour*3600)*1000
info.lng = vehicle.ins2.lon * 10000000;//*10000000
info.lat = vehicle.ins2.lat * 10000000;//*10000000
info.alt = vehicle.ins2.alt * 10;//*10
@@ -926,6 +927,8 @@ void MavLinkNode::StatusParse(mavlink_message_t msg)
info.course = vehicle.ins2.yaw * 10;//*10
//qDebug() << "infoExportID" << infoExportID;
infoExport(info);
}break;
+1
View File
@@ -180,6 +180,7 @@ public:
QFile * serial_control_file = nullptr;
int infoExportID = 1;
signals:
void signal_autopilot_version();