Public Member Functions | Private Slots | Private Member Functions | Private Attributes
moveit_setup_assistant::DefaultCollisionsWidget Class Reference

User interface for editing the default collision matrix list in an SRDF. More...

#include <default_collisions_widget.h>

Inheritance diagram for moveit_setup_assistant::DefaultCollisionsWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DefaultCollisionsWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data)
 User interface for editing the default collision matrix list in an SRDF.
void linkPairsFromSRDF ()
 Load Link Pairs from SRDF Format.
void linkPairsToSRDF ()
 Output Link Pairs to SRDF Format.

Private Slots

void changeDensityLabel (int value)
 GUI func for showing sampling density amount.
void collisionCheckboxToggle ()
 Changes the table to show or hide collisions that are not disabled (that have collision checking enabled.
void focusGiven ()
 Called when setup assistant navigation switches to this screen.
void generateCollisionTable ()
 Qt close event function for reminding user to saveCreates a thread and updates the GUI progress bar.
void loadCollisionTable ()
 Displays data in the link_pairs data structure into a QtTableWidget.
void previewSelected (int row)
 Called when current row has changed.
void toggleCheckBox (int row, int column)
 Called when user changes data in table, really just the checkbox.

Private Member Functions

void disableControls (bool disable)
 Helper function to disable parts of GUI during computation.
void generateCollisionTableThread (unsigned int *collision_progress)
 The thread that is called to allow the GUI to update. Calls an external function to do calcs.

Private Attributes

QPushButton * btn_generate_
QCheckBox * collision_checkbox_
QTableWidget * collision_table_
moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant.
QGroupBox * controls_box_
QGroupBox * controls_box_bottom_
QSlider * density_slider_
QLabel * density_value_label_
QLabel * fraction_label_
QSpinBox * fraction_spinbox_
QVBoxLayout * layout_
moveit_setup_assistant::LinkPairMap link_pairs_
 main storage of link pair data
QLabel * page_title_
QProgressBar * progress_bar_
QLabel * progress_label_
QTimer * update_timer_

Detailed Description

User interface for editing the default collision matrix list in an SRDF.

Definition at line 65 of file default_collisions_widget.h.


Constructor & Destructor Documentation

moveit_setup_assistant::DefaultCollisionsWidget::DefaultCollisionsWidget ( QWidget *  parent,
moveit_setup_assistant::MoveItConfigDataPtr  config_data 
)

User interface for editing the default collision matrix list in an SRDF.

Parameters:
urdf_fileString srdf file location. It will create a new file or will edit an existing one

Definition at line 75 of file default_collisions_widget.cpp.


Member Function Documentation

GUI func for showing sampling density amount.

Parameters:
valueSampling density

Definition at line 389 of file default_collisions_widget.cpp.

Changes the table to show or hide collisions that are not disabled (that have collision checking enabled.

Definition at line 420 of file default_collisions_widget.cpp.

Helper function to disable parts of GUI during computation.

Parameters:
disableA command

Definition at line 397 of file default_collisions_widget.cpp.

Called when setup assistant navigation switches to this screen.

Reimplemented from SetupScreenWidget.

Definition at line 574 of file default_collisions_widget.cpp.

Qt close event function for reminding user to saveCreates a thread and updates the GUI progress bar.

Definition at line 207 of file default_collisions_widget.cpp.

void moveit_setup_assistant::DefaultCollisionsWidget::generateCollisionTableThread ( unsigned int *  collision_progress) [private]

The thread that is called to allow the GUI to update. Calls an external function to do calcs.

Parameters:
collision_progressA shared pointer between 3 threads to allow progress bar to update. See declaration location for more details and warning.

Definition at line 270 of file default_collisions_widget.cpp.

Load Link Pairs from SRDF Format.

Definition at line 516 of file default_collisions_widget.cpp.

Output Link Pairs to SRDF Format.

Definition at line 487 of file default_collisions_widget.cpp.

Displays data in the link_pairs data structure into a QtTableWidget.

Definition at line 297 of file default_collisions_widget.cpp.

Called when current row has changed.

Definition at line 552 of file default_collisions_widget.cpp.

void moveit_setup_assistant::DefaultCollisionsWidget::toggleCheckBox ( int  row,
int  column 
) [private, slot]

Called when user changes data in table, really just the checkbox.

Definition at line 435 of file default_collisions_widget.cpp.


Member Data Documentation

Definition at line 142 of file default_collisions_widget.h.

Definition at line 146 of file default_collisions_widget.h.

Definition at line 138 of file default_collisions_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::DefaultCollisionsWidget::config_data_ [private]

Contains all the configuration data for the setup assistant.

Definition at line 160 of file default_collisions_widget.h.

Definition at line 143 of file default_collisions_widget.h.

Definition at line 147 of file default_collisions_widget.h.

Definition at line 141 of file default_collisions_widget.h.

Definition at line 140 of file default_collisions_widget.h.

Definition at line 148 of file default_collisions_widget.h.

Definition at line 149 of file default_collisions_widget.h.

Definition at line 139 of file default_collisions_widget.h.

main storage of link pair data

Definition at line 157 of file default_collisions_widget.h.

Definition at line 137 of file default_collisions_widget.h.

Definition at line 144 of file default_collisions_widget.h.

Definition at line 145 of file default_collisions_widget.h.

Definition at line 150 of file default_collisions_widget.h.


The documentation for this class was generated from the following files:


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Mon Jul 24 2017 02:22:30