QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

1.在workspace中修改每个sheet的名字,如图:

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

2.在UAVGadgetManager里修改各控件和仪表盘的位置摆放,即将地图窗口与视距窗口进行互换:

原图为:

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

①spliter为分割线,如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

②如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

1表示竖线,2表示横线,即将界面分为左右两部分,即左——side0,右——side1。

③先看side0,如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

2表示将左边区域分成上下两部分,先看上边即side0,如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

④将其修改为地图窗口的代码,如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

⑤相应的将side1中的地图代码修改为视距窗口代码,如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

3.将Google SAT修改为http://map.baidu.com/,程序运行结果如图所示,

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml

QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml