correzioni interfaccia
This commit is contained in:
@@ -329,15 +329,21 @@ void RoboGlue_GUI::on_btn_home_clicked() {
|
||||
emit sendROScommand("HOME", param);
|
||||
}
|
||||
|
||||
|
||||
void RoboGlue_GUI::on_btn_setFrame_clicked() {
|
||||
QVariantMap param;
|
||||
std::string frametext;
|
||||
QVariantMap param, frm;
|
||||
QList<QString> tempPos, TempOr;
|
||||
modlog->debug("setFrame");
|
||||
param["action"]="set";
|
||||
param["framename"]=ui->txt_frameName->text();
|
||||
for(auto tp : ui->txt_framePos->text().split(",")){
|
||||
frm[tp.split(":").first()]=tp.split(":").last();
|
||||
}
|
||||
for(auto tp : ui->txt_frameOr->text().split(",")){
|
||||
frm[tp.split(":").first()]=tp.split(":").last();
|
||||
}
|
||||
param["frame"]=frm;
|
||||
emit m->commonStatusChange();
|
||||
emit sendROScommand("SETFRAME", param);
|
||||
|
||||
}
|
||||
////////////////////////////////////////////////
|
||||
////////END INTERNAL PRIVATE SLOTS//////////////
|
||||
|
||||
Reference in New Issue
Block a user