Signals | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
moveit_setup_assistant::StartScreenWidget Class Reference

Start screen user interface for MoveIt! Configuration Assistant. More...

#include <start_screen_widget.h>

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

Signals

void loadRviz ()
 Inform the parent widget to load rviz. This is done so that progress bar can be more accurate. More...
 
void readyToProgress ()
 Event that is fired when the start screen has all its requirements completed and user can move on. More...
 
- Signals inherited from SetupScreenWidget
void highlightGroup (const std::string &name)
 Event for telling rviz to highlight a group of the robot. More...
 
void highlightLink (const std::string &name, const QColor &)
 Event for telling rviz to highlight a link of the robot. More...
 
void isModal (bool isModal)
 Event for when the current screen is in modal view. Essential disabled the left navigation. More...
 
void unhighlightAll ()
 Event for telling rviz to unhighlight all links of the robot. More...
 

Public Member Functions

 StartScreenWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data)
 Start screen user interface for MoveIt! Configuration Assistant. More...
 
 ~StartScreenWidget ()
 
- Public Member Functions inherited from SetupScreenWidget
virtual void focusGiven ()
 function called when widget is activated, allows to update/initialize GUI More...
 
virtual bool focusLost ()
 function called when widget lost focus, allows to accept/reject changes and to reject switching (returning false) More...
 
 SetupScreenWidget (QWidget *parent)
 

Public Attributes

QPushButton * btn_load_
 
moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 
QLabel * next_label_
 
QProgressBar * progress_bar_
 
QImage * right_image_
 
QLabel * right_image_label_
 
SelectModeWidgetselect_mode_
 
LoadPathArgsWidgetstack_path_
 
LoadPathArgsWidgeturdf_file_
 

Private Slots

void loadFilesClick ()
 Button event for loading user chosen files. More...
 
void onPackagePathChanged (const QString &path)
 load package settings More...
 
void onUrdfPathChanged (const QString &path)
 enable xacro arguments More...
 
void showExistingOptions ()
 User has chosen to show edit options. More...
 
void showNewOptions ()
 User has chosen to show new options. More...
 

Private Member Functions

bool createFullSRDFPath (const std::string &package_path)
 Make the full SRDF path using the loaded .setup_assistant data. More...
 
bool createFullURDFPath ()
 Make the full URDF path using the loaded .setup_assistant data. More...
 
bool extractPackageNameFromPath ()
 
bool load3DSensorsFile ()
 Loads sensors_3d yaml file. More...
 
bool loadExistingFiles ()
 Load exisiting package files. More...
 
bool loadNewFiles ()
 Load chosen files for creating new package. More...
 
bool loadPackageSettings (bool show_warnings)
 load package settings from .setup_assistant file More...
 
bool loadSRDFFile (const std::string &srdf_file_path)
 Load SRDF File. More...
 
bool loadURDFFile (const std::string &urdf_file_path, const std::string &xacro_args)
 Load URDF File to Parameter Server. More...
 
bool setSRDFFile (const std::string &srdf_string)
 Put SRDF File on Parameter Server. More...
 

Private Attributes

bool create_new_package_
 Create new config files, or load existing one? More...
 

Detailed Description

Start screen user interface for MoveIt! Configuration Assistant.

Definition at line 64 of file start_screen_widget.h.

Constructor & Destructor Documentation

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

Start screen user interface for MoveIt! Configuration Assistant.

Definition at line 71 of file start_screen_widget.cpp.

moveit_setup_assistant::StartScreenWidget::~StartScreenWidget ( )

Definition at line 211 of file start_screen_widget.cpp.

Member Function Documentation

bool moveit_setup_assistant::StartScreenWidget::createFullSRDFPath ( const std::string &  package_path)
private

Make the full SRDF path using the loaded .setup_assistant data.

Definition at line 759 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::createFullURDFPath ( )
private

Make the full URDF path using the loaded .setup_assistant data.

Definition at line 727 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::extractPackageNameFromPath ( )
private

Definition at line 631 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::load3DSensorsFile ( )
private

Loads sensors_3d yaml file.

Definition at line 774 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::loadExistingFiles ( )
private

Load exisiting package files.

Definition at line 357 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::loadFilesClick ( )
privateslot

Button event for loading user chosen files.

Definition at line 253 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::loadNewFiles ( )
private

Load chosen files for creating new package.

Definition at line 451 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::loadPackageSettings ( bool  show_warnings)
private

load package settings from .setup_assistant file

Definition at line 308 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::loadRviz ( )
signal

Inform the parent widget to load rviz. This is done so that progress bar can be more accurate.

bool moveit_setup_assistant::StartScreenWidget::loadSRDFFile ( const std::string &  srdf_file_path)
private

Load SRDF File.

Definition at line 580 of file start_screen_widget.cpp.

bool moveit_setup_assistant::StartScreenWidget::loadURDFFile ( const std::string &  urdf_file_path,
const std::string &  xacro_args 
)
private

Load URDF File to Parameter Server.

Definition at line 532 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::onPackagePathChanged ( const QString &  path)
privateslot

load package settings

Definition at line 295 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::onUrdfPathChanged ( const QString &  path)
privateslot

enable xacro arguments

Definition at line 303 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::readyToProgress ( )
signal

Event that is fired when the start screen has all its requirements completed and user can move on.

bool moveit_setup_assistant::StartScreenWidget::setSRDFFile ( const std::string &  srdf_string)
private

Put SRDF File on Parameter Server.

Definition at line 598 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::showExistingOptions ( )
privateslot

User has chosen to show edit options.

Definition at line 236 of file start_screen_widget.cpp.

void moveit_setup_assistant::StartScreenWidget::showNewOptions ( )
privateslot

User has chosen to show new options.

Definition at line 219 of file start_screen_widget.cpp.

Member Data Documentation

QPushButton* moveit_setup_assistant::StartScreenWidget::btn_load_

Definition at line 86 of file start_screen_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::StartScreenWidget::config_data_

Contains all the configuration data for the setup assistant.

Definition at line 93 of file start_screen_widget.h.

bool moveit_setup_assistant::StartScreenWidget::create_new_package_
private

Create new config files, or load existing one?

Definition at line 134 of file start_screen_widget.h.

QLabel* moveit_setup_assistant::StartScreenWidget::next_label_

Definition at line 87 of file start_screen_widget.h.

QProgressBar* moveit_setup_assistant::StartScreenWidget::progress_bar_

Definition at line 88 of file start_screen_widget.h.

QImage* moveit_setup_assistant::StartScreenWidget::right_image_

Definition at line 89 of file start_screen_widget.h.

QLabel* moveit_setup_assistant::StartScreenWidget::right_image_label_

Definition at line 90 of file start_screen_widget.h.

SelectModeWidget* moveit_setup_assistant::StartScreenWidget::select_mode_

Definition at line 83 of file start_screen_widget.h.

LoadPathArgsWidget* moveit_setup_assistant::StartScreenWidget::stack_path_

Definition at line 84 of file start_screen_widget.h.

LoadPathArgsWidget* moveit_setup_assistant::StartScreenWidget::urdf_file_

Definition at line 85 of file start_screen_widget.h.


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


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Sun Oct 18 2020 13:19:28