9 #include <ui_robot_input_config.h> 14 ui_ =
new Ui::RobotInputConfigWindow();
21 ui_->lineedit_a1->setValidator(
new QDoubleValidator(
this));
22 ui_->lineedit_a2->setValidator(
new QDoubleValidator(
this));
23 ui_->lineedit_a3->setValidator(
new QDoubleValidator(
this));
24 ui_->lineedit_a4->setValidator(
new QDoubleValidator(
this));
25 ui_->lineedit_a5->setValidator(
new QDoubleValidator(
this));
26 ui_->lineedit_a6->setValidator(
new QDoubleValidator(
this));
27 ui_->lineedit_e1->setValidator(
new QDoubleValidator(
this));
35 ui_->lineedit_e1->setText(QString::number(
params_.init_pose[0]));
36 ui_->lineedit_a1->setText(QString::number(
params_.init_pose[1]));
37 ui_->lineedit_a2->setText(QString::number(
params_.init_pose[2]));
38 ui_->lineedit_a3->setText(QString::number(
params_.init_pose[3]));
39 ui_->lineedit_a4->setText(QString::number(
params_.init_pose[4]));
40 ui_->lineedit_a5->setText(QString::number(
params_.init_pose[5]));
41 ui_->lineedit_a6->setText(QString::number(
params_.init_pose[6]));
46 params_.init_pose[0] =
ui_->lineedit_e1->text().toDouble();
47 params_.init_pose[1] =
ui_->lineedit_a1->text().toDouble();
48 params_.init_pose[2] =
ui_->lineedit_a2->text().toDouble();
49 params_.init_pose[3] =
ui_->lineedit_a3->text().toDouble();
50 params_.init_pose[4] =
ui_->lineedit_a4->text().toDouble();
51 params_.init_pose[5] =
ui_->lineedit_a5->text().toDouble();
52 params_.init_pose[6] =
ui_->lineedit_a6->text().toDouble();
virtual void accept_changes_handler()
virtual void save_changes_handler()
virtual void cancel_changes_handler()