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, const MoveItConfigDataPtr &config_data)
 Start screen user interface for MoveIt Configuration Assistant. More...
 
 ~StartScreenWidget () override
 
- 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, const std::string &xacro_args)
 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 60 of file start_screen_widget.h.

Constructor & Destructor Documentation

◆ StartScreenWidget()

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

Start screen user interface for MoveIt Configuration Assistant.

Definition at line 113 of file start_screen_widget.cpp.

◆ ~StartScreenWidget()

moveit_setup_assistant::StartScreenWidget::~StartScreenWidget ( )
override

Definition at line 251 of file start_screen_widget.cpp.

Member Function Documentation

◆ createFullSRDFPath()

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 748 of file start_screen_widget.cpp.

◆ createFullURDFPath()

bool moveit_setup_assistant::StartScreenWidget::createFullURDFPath ( )
private

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

Definition at line 715 of file start_screen_widget.cpp.

◆ extractPackageNameFromPath()

bool moveit_setup_assistant::StartScreenWidget::extractPackageNameFromPath ( )
private

Definition at line 674 of file start_screen_widget.cpp.

◆ load3DSensorsFile()

bool moveit_setup_assistant::StartScreenWidget::load3DSensorsFile ( )
private

Loads sensors_3d yaml file.

Definition at line 763 of file start_screen_widget.cpp.

◆ loadExistingFiles()

bool moveit_setup_assistant::StartScreenWidget::loadExistingFiles ( )
private

Load exisiting package files.

Definition at line 397 of file start_screen_widget.cpp.

◆ loadFilesClick

void moveit_setup_assistant::StartScreenWidget::loadFilesClick ( )
privateslot

Button event for loading user chosen files.

Definition at line 293 of file start_screen_widget.cpp.

◆ loadNewFiles()

bool moveit_setup_assistant::StartScreenWidget::loadNewFiles ( )
private

Load chosen files for creating new package.

Definition at line 497 of file start_screen_widget.cpp.

◆ loadPackageSettings()

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

load package settings from .setup_assistant file

Definition at line 348 of file start_screen_widget.cpp.

◆ loadRviz

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.

◆ loadSRDFFile()

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

Load SRDF File.

Definition at line 625 of file start_screen_widget.cpp.

◆ loadURDFFile()

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 579 of file start_screen_widget.cpp.

◆ onPackagePathChanged

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

load package settings

Definition at line 335 of file start_screen_widget.cpp.

◆ onUrdfPathChanged

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

enable xacro arguments

Definition at line 343 of file start_screen_widget.cpp.

◆ readyToProgress

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.

◆ setSRDFFile()

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

Put SRDF File on Parameter Server.

Definition at line 641 of file start_screen_widget.cpp.

◆ showExistingOptions

void moveit_setup_assistant::StartScreenWidget::showExistingOptions ( )
privateslot

User has chosen to show edit options.

Definition at line 276 of file start_screen_widget.cpp.

◆ showNewOptions

void moveit_setup_assistant::StartScreenWidget::showNewOptions ( )
privateslot

User has chosen to show new options.

Definition at line 259 of file start_screen_widget.cpp.

Member Data Documentation

◆ btn_load_

QPushButton* moveit_setup_assistant::StartScreenWidget::btn_load_

Definition at line 82 of file start_screen_widget.h.

◆ config_data_

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::StartScreenWidget::config_data_

Contains all the configuration data for the setup assistant.

Definition at line 89 of file start_screen_widget.h.

◆ create_new_package_

bool moveit_setup_assistant::StartScreenWidget::create_new_package_
private

Create new config files, or load existing one?

Definition at line 130 of file start_screen_widget.h.

◆ next_label_

QLabel* moveit_setup_assistant::StartScreenWidget::next_label_

Definition at line 83 of file start_screen_widget.h.

◆ progress_bar_

QProgressBar* moveit_setup_assistant::StartScreenWidget::progress_bar_

Definition at line 84 of file start_screen_widget.h.

◆ right_image_

QImage* moveit_setup_assistant::StartScreenWidget::right_image_

Definition at line 85 of file start_screen_widget.h.

◆ right_image_label_

QLabel* moveit_setup_assistant::StartScreenWidget::right_image_label_

Definition at line 86 of file start_screen_widget.h.

◆ select_mode_

SelectModeWidget* moveit_setup_assistant::StartScreenWidget::select_mode_

Definition at line 79 of file start_screen_widget.h.

◆ stack_path_

LoadPathArgsWidget* moveit_setup_assistant::StartScreenWidget::stack_path_

Definition at line 80 of file start_screen_widget.h.

◆ urdf_file_

LoadPathArgsWidget* moveit_setup_assistant::StartScreenWidget::urdf_file_

Definition at line 81 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 Sat May 3 2025 02:28:05