多机管理完成
This commit is contained in:
+6
-5
@@ -70,12 +70,12 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
map->setMouseTracking(true);
|
||||
|
||||
//=========初始化UAV=========
|
||||
map->SetShowUAV(true);//先show才能设置
|
||||
map->SetUavPic("Fixwing.png");
|
||||
//map->SetShowUAV(true);//先show才能设置
|
||||
//map->SetUavPic("Fixwing.png");
|
||||
|
||||
internals::PointLatLng position;
|
||||
position.SetLat(0);
|
||||
position.SetLng(0);
|
||||
position.SetLat(10);
|
||||
position.SetLng(10);
|
||||
//map->UAV->SetUAVPos(position,10);
|
||||
//map->UAV->SetShowTrail(false);
|
||||
|
||||
@@ -186,7 +186,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
map,SLOT(addUAV(int,int)));
|
||||
|
||||
|
||||
|
||||
connect(map,SIGNAL(uav_selected(int,int)),
|
||||
dlink->mavlinknode,SLOT(setCurrentSelected(int,int)),Qt::DirectConnection);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user