|
@@ -12,6 +12,9 @@
|
|
|
#include <fstream>
|
|
|
#include <QTime>
|
|
|
|
|
|
+#include "ivfault.h"
|
|
|
+extern iv::Ivfault * givfault;
|
|
|
+
|
|
|
using namespace std;
|
|
|
|
|
|
extern std::string gstrmemdecition;
|
|
@@ -80,6 +83,7 @@ iv::decition::BrainDecition * gbrain;
|
|
|
|
|
|
iv::decition::BrainDecition::BrainDecition()
|
|
|
{
|
|
|
+ givfault->SetFaultState(0,0,"Application Initializing.");
|
|
|
// mpasd = new Adcivstatedb();
|
|
|
look1 = 0.0;
|
|
|
look2 = 0.0;
|
|
@@ -164,6 +168,7 @@ void iv::decition::BrainDecition::inialize() {
|
|
|
|
|
|
void iv::decition::BrainDecition::run() {
|
|
|
|
|
|
+ givfault->SetFaultState(0,0,"Start Running.");
|
|
|
double last = 0;
|
|
|
|
|
|
iv::decition::Decition decition_gps = NULL;
|
|
@@ -437,6 +442,7 @@ void iv::decition::BrainDecition::run() {
|
|
|
mstrmemmap_index = xp.GetParam("msg_mapindex","map_index");
|
|
|
|
|
|
|
|
|
+ givfault->SetFaultState(0,0,"OK.");
|
|
|
while (eyes->isAllSensorRunning())
|
|
|
{
|
|
|
if(navigation_data.size() <1)
|