|
@@ -364,6 +364,7 @@ void iv::decition::BrainDecition::run() {
|
|
|
|
|
|
mstrmemmap_index = xp.GetParam("msg_mapindex","map_index");
|
|
mstrmemmap_index = xp.GetParam("msg_mapindex","map_index");
|
|
|
|
|
|
|
|
+ // laneline decition parameters
|
|
std::string laneline_drive = xp.GetParam("laneline_drive","true"); //If drive by laneline
|
|
std::string laneline_drive = xp.GetParam("laneline_drive","true"); //If drive by laneline
|
|
if(laneline_drive == "true")
|
|
if(laneline_drive == "true")
|
|
{
|
|
{
|
|
@@ -371,6 +372,12 @@ void iv::decition::BrainDecition::run() {
|
|
}else{
|
|
}else{
|
|
ServiceCarStatus.laneline_drive = false;
|
|
ServiceCarStatus.laneline_drive = false;
|
|
}
|
|
}
|
|
|
|
+ std::string camera_x_adjust = xp.GetParam("camera_x_adjust","0.0");
|
|
|
|
+ ServiceCarStatus.msysparam.camera_x_adjust = atof(camera_x_adjust.data());
|
|
|
|
+ std::string camera_y_adjust = xp.GetParam("camera_y_adjust","0.0");
|
|
|
|
+ ServiceCarStatus.msysparam.camera_y_adjust = atof(camera_y_adjust.data());
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
givfault->SetFaultState(0,0,"OK.");
|
|
givfault->SetFaultState(0,0,"OK.");
|
|
|
|
|