Commit 06fc0951 authored by Denis Khachko's avatar Denis Khachko

Robo load field

parent 048e6bcd
......@@ -90,7 +90,7 @@
},
{
"title": {
"ascii": "Reset Environment",
"ascii": "Reset Environment ",
"ru_RU": "Вернуть обстановку к исходной"
}
}
......
......@@ -3798,10 +3798,11 @@ namespace ActorRobot {
SizeX = (l_List[0]).toInt();
SizeY = (l_List[1]).toInt();
// //NEW ROBO CODE
// //NEW ROBO Field
createField(SizeY,SizeX);
qDebug()<<"FIELD SIZE ROW"<<SizeX<<" COL:"<<SizeY;
//END
if ((l_List[0]).toInt() <= 0 || (l_List[1]).toInt() <= 0)
{
......@@ -3855,7 +3856,7 @@ namespace ActorRobot {
roboCol = (l_List[0]).toInt();
roboRow = (l_List[1]).toInt();
qDebug()<<"ROBOT POS ROW"<<roboRow<<" COL:"<<roboCol;
//InitialX = m_x;
//InitialY = m_y;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment