|
@@ -1221,15 +1221,15 @@ void iv::decition::BrainDecition::ShareDecition(iv::decition::Decition decition)
|
|
|
xdecition.set_engine(decition->engine);
|
|
|
xdecition.set_brakelamp(decition->brakeLight);
|
|
|
xdecition.set_ttc(ServiceCarStatus.mfttc);
|
|
|
- xdecition.set_air_enable(decition->air_enable);
|
|
|
- xdecition.set_air_temp(decition->air_temp);
|
|
|
- xdecition.set_air_mode(decition->air_mode);
|
|
|
- xdecition.set_wind_level(decition->wind_level);
|
|
|
+// xdecition.set_air_enable(decition->air_enable);
|
|
|
+// xdecition.set_air_temp(decition->air_temp);
|
|
|
+// xdecition.set_air_mode(decition->air_mode);
|
|
|
+// xdecition.set_wind_level(decition->wind_level);
|
|
|
xdecition.set_roof_light(decition->roof_light);
|
|
|
xdecition.set_home_light(decition->home_light);
|
|
|
- xdecition.set_air_worktime(decition->air_worktime);
|
|
|
- xdecition.set_air_offtime(decition->air_offtime);
|
|
|
- xdecition.set_air_on(decition->air_on);
|
|
|
+// xdecition.set_air_worktime(decition->air_worktime);
|
|
|
+// xdecition.set_air_offtime(decition->air_offtime);
|
|
|
+// xdecition.set_air_on(decition->air_on);
|
|
|
xdecition.set_door(decition->door);
|
|
|
xdecition.set_dippedlight(decition->nearLight);
|
|
|
|
|
@@ -1240,25 +1240,25 @@ void iv::decition::BrainDecition::ShareDecition(iv::decition::Decition decition)
|
|
|
<<std::endl;
|
|
|
std::cout<<"========================================="<<std::endl;
|
|
|
|
|
|
- givlog->verbose("torque_st: %ld",ServiceCarStatus.torque_st);
|
|
|
- givlog->verbose("decideTorque: %ld",decition->torque);
|
|
|
- givlog->verbose("decideBrake: %ld", decition->brake);
|
|
|
- givlog->debug("wheelAng: %f",decition->wheel_angle);
|
|
|
+// givlog->verbose("torque_st: %ld",ServiceCarStatus.torque_st);
|
|
|
+// givlog->verbose("decideTorque: %ld",decition->torque);
|
|
|
+// givlog->verbose("decideBrake: %ld", decition->brake);
|
|
|
+// givlog->debug("wheelAng: %f",decition->wheel_angle);
|
|
|
|
|
|
// xdecition.set_wheelangle(100);
|
|
|
static qint64 oldtime;
|
|
|
|
|
|
if((QDateTime::currentMSecsSinceEpoch() - oldtime)>100)
|
|
|
{
|
|
|
- givlog->warn("brain interval is more than 100ms. value is %ld",QDateTime::currentMSecsSinceEpoch() - oldtime);
|
|
|
+// givlog->warn("brain interval is more than 100ms. value is %ld",QDateTime::currentMSecsSinceEpoch() - oldtime);
|
|
|
}
|
|
|
|
|
|
- givlog->verbose("decition time is %ld",QDateTime::currentMSecsSinceEpoch());
|
|
|
+ //givlog->verbose("decition time is %ld",QDateTime::currentMSecsSinceEpoch());
|
|
|
oldtime = QDateTime::currentMSecsSinceEpoch();
|
|
|
|
|
|
|
|
|
- givlog->verbose("torque %f wheel %f dangwei %d ",decition->torque,
|
|
|
- decition->wheel_angle,decition->dangWei);
|
|
|
+ //givlog->verbose("torque %f wheel %f dangwei %d ",decition->torque,
|
|
|
+ //decition->wheel_angle,decition->dangWei);
|
|
|
int nsize = xdecition.ByteSize();
|
|
|
char * str = new char[nsize];
|
|
|
std::shared_ptr<char> pstr;
|