|
@@ -377,7 +377,7 @@ ADCIntelligentVehicle::ADCIntelligentVehicle(QWidget *parent)
|
|
|
shareMapReqMsg();
|
|
|
|
|
|
ModuleFun funvbox = std::bind(&ADCIntelligentVehicle::UpdateVbox,this,std::placeholders::_1,std::placeholders::_2,std::placeholders::_3,std::placeholders::_4,std::placeholders::_5);
|
|
|
- mpaplantrace = iv::modulecomm::RegisterRecvPlus("vbox",funvbox);
|
|
|
+ mpaVbox = iv::modulecomm::RegisterRecvPlus("vbox",funvbox);
|
|
|
|
|
|
#if 1
|
|
|
ui->lcdNumber->setDigitCount(3); //设置显示几个数字
|
|
@@ -447,6 +447,29 @@ ADCIntelligentVehicle::ADCIntelligentVehicle(QWidget *parent)
|
|
|
ui->pBtn_high_beam_close->setIcon(QIcon(":/Car-Control-icon/YuanGuang-Guan.svg"));
|
|
|
}
|
|
|
|
|
|
+ADCIntelligentVehicle::~ADCIntelligentVehicle()
|
|
|
+{
|
|
|
+ gIvlog->warn("ADCIntelligentVehchicle Exit.");
|
|
|
+ iv::modulecomm::Unregister(mpaplantrace);
|
|
|
+ iv::modulecomm::Unregister(mpamapreq);
|
|
|
+ iv::modulecomm::Unregister(mpManualCtrl);
|
|
|
+ iv::modulecomm::Unregister(mp_v2xStSend);
|
|
|
+ iv::modulecomm::Unregister(mpaHMI);
|
|
|
+ iv::modulecomm::Unregister(mpaLidar);
|
|
|
+ iv::modulecomm::Unregister(mpaDecition);
|
|
|
+ iv::modulecomm::Unregister(mpaVechicleState);
|
|
|
+ iv::modulecomm::Unregister(mpacanstate);
|
|
|
+ iv::modulecomm::Unregister(mpachassis);
|
|
|
+ iv::modulecomm::Unregister(mparadar);
|
|
|
+ iv::modulecomm::Unregister(mpagpsimu);
|
|
|
+ iv::modulecomm::Unregister(mpa);
|
|
|
+ iv::modulecomm::Unregister(mpafusion);
|
|
|
+ iv::modulecomm::Unregister(mpaplantrace_right);
|
|
|
+ iv::modulecomm::Unregister(mpaplantrace_left);
|
|
|
+ iv::modulecomm::Unregister(mpaVbox);
|
|
|
+ qDebug("~ADCIntelligentVehicle()");
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* @brief ADCIntelligentVehicle::savestabuyEditinfo
|
|
|
* @param txt
|