Commit 855a9d07 authored by tiagos's avatar tiagos
Browse files

beautified the anchor position table

parent 09556fac
...@@ -244,6 +244,7 @@ void MainGUIWindow::_init() ...@@ -244,6 +244,7 @@ void MainGUIWindow::_init()
ui->all_motors_off_button->setShortcut(tr("Space")); ui->all_motors_off_button->setShortcut(tr("Space"));
// set anchor table settings // set anchor table settings
ui->table_anchorPos->verticalHeader()->setVisible(false);
ui->table_anchorPos->setColumnCount(4); ui->table_anchorPos->setColumnCount(4);
ui->table_anchorPos->horizontalHeader()->setFont(fnt); ui->table_anchorPos->horizontalHeader()->setFont(fnt);
...@@ -1101,9 +1102,11 @@ void MainGUIWindow::on_calibrateAnchors_button_pressed() ...@@ -1101,9 +1102,11 @@ void MainGUIWindow::on_calibrateAnchors_button_pressed()
ui->checkBox_enable_UWB->setEnabled(true); ui->checkBox_enable_UWB->setEnabled(true);
ui->reloadAnchors_button->setEnabled(true); ui->reloadAnchors_button->setEnabled(true);
ROS_WARN("Starting sleep");
//ros::Duration(10).sleep(); //ros::Duration(10).sleep();
ROS_WARN("ending sleep");
updateUWBSettings(!ui->checkBox_enable_UWB->isChecked()); //updateUWBSettings(!ui->checkBox_enable_UWB->isChecked());
} }
void MainGUIWindow::on_comboBoxCFs_currentTextChanged(const QString &arg1) void MainGUIWindow::on_comboBoxCFs_currentTextChanged(const QString &arg1)
......
...@@ -494,16 +494,19 @@ ...@@ -494,16 +494,19 @@
<widget class="QTableWidget" name="table_anchorPos"> <widget class="QTableWidget" name="table_anchorPos">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>376</width> <width>362</width>
<height>140</height> <height>140</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>376</width> <width>362</width>
<height>140</height> <height>140</height>
</size> </size>
</property> </property>
<property name="rowCount">
<number>0</number>
</property>
</widget> </widget>
</item> </item>
<item row="2" column="7"> <item row="2" column="7">
......
8,UWB_CF02,0/70/2M/E7E7E7E7E7,0,0.33,0.14,-0.2,2.31,1.8,2 8,UWB_CF02,0/70/2M/E7E7E7E7E7,0,-0.61,-0.58,-0.2,1.37,1.08,2
Supports Markdown
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