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 previewClicked (int row, int column)
void toggleCheckBox (int j, int i)
 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 66 of file default_collisions_widget.h.


Constructor & Destructor Documentation

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 79 of file default_collisions_widget.cpp.


Member Function Documentation

GUI func for showing sampling density amount.

Parameters:
valueSampling density

Definition at line 392 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 423 of file default_collisions_widget.cpp.

Helper function to disable parts of GUI during computation.

Parameters:
disableA command

Definition at line 400 of file default_collisions_widget.cpp.

Called when setup assistant navigation switches to this screen.

Reimplemented from SetupScreenWidget.

Definition at line 579 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 206 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 267 of file default_collisions_widget.cpp.

Load Link Pairs from SRDF Format.

Definition at line 523 of file default_collisions_widget.cpp.

Output Link Pairs to SRDF Format.

Definition at line 493 of file default_collisions_widget.cpp.

Displays data in the link_pairs data structure into a QtTableWidget.

Definition at line 296 of file default_collisions_widget.cpp.

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

Called when a row is clicked, to highlight links on robot

Definition at line 559 of file default_collisions_widget.cpp.

void moveit_setup_assistant::DefaultCollisionsWidget::toggleCheckBox ( int  j,
int  i 
) [private, slot]

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

Parameters:
i,jCheck coordinates, aka y,x (weird)

Definition at line 438 of file default_collisions_widget.cpp.


Member Data Documentation

Definition at line 146 of file default_collisions_widget.h.

Definition at line 150 of file default_collisions_widget.h.

Definition at line 142 of file default_collisions_widget.h.

Contains all the configuration data for the setup assistant.

Definition at line 164 of file default_collisions_widget.h.

Definition at line 147 of file default_collisions_widget.h.

Definition at line 151 of file default_collisions_widget.h.

Definition at line 145 of file default_collisions_widget.h.

Definition at line 144 of file default_collisions_widget.h.

Definition at line 152 of file default_collisions_widget.h.

Definition at line 153 of file default_collisions_widget.h.

Definition at line 143 of file default_collisions_widget.h.

main storage of link pair data

Definition at line 161 of file default_collisions_widget.h.

Definition at line 141 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 154 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 Oct 6 2014 02:32:27