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

#include <simulation_widget.h>

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

Public Member Functions

void focusGiven () override
 function called when widget is activated, allows to update/initialize GUI More...
 
bool focusLost () override
 function called when widget lost focus, allows to accept/reject changes and to reject switching (returning false) More...
 
 SimulationWidget (QWidget *parent, const MoveItConfigDataPtr &config_data)
 
- Public Member Functions inherited from SetupScreenWidget
 SetupScreenWidget (QWidget *parent)
 

Private Slots

void copyURDF ()
 Copy the content of the URDF document to the clipboard. More...
 
void openURDF ()
 Open original URDF with system editor. More...
 
void overwriteURDF ()
 Overwrite original URDF with content of document. More...
 
void setDirty (bool dirty=true)
 Mark document as changed. More...
 

Private Member Functions

std::string generateGazeboCompatibleURDF () const
 Generate Gazebo-compatible URDF, starting from original URDF. More...
 

Private Attributes

QPushButton * btn_open_
 
QPushButton * btn_overwrite_
 
moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 
QLabel * copy_urdf_
 
QLabel * no_changes_label_
 
QTextEdit * simulation_text_
 

Additional Inherited Members

- 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...
 

Detailed Description

Definition at line 57 of file simulation_widget.h.

Constructor & Destructor Documentation

◆ SimulationWidget()

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

Definition at line 92 of file simulation_widget.cpp.

Member Function Documentation

◆ copyURDF

void moveit_setup_assistant::SimulationWidget::copyURDF ( )
privateslot

Copy the content of the URDF document to the clipboard.

Definition at line 265 of file simulation_widget.cpp.

◆ focusGiven()

void moveit_setup_assistant::SimulationWidget::focusGiven ( )
overridevirtual

function called when widget is activated, allows to update/initialize GUI

Reimplemented from SetupScreenWidget.

Definition at line 177 of file simulation_widget.cpp.

◆ focusLost()

bool moveit_setup_assistant::SimulationWidget::focusLost ( )
overridevirtual

function called when widget lost focus, allows to accept/reject changes and to reject switching (returning false)

Reimplemented from SetupScreenWidget.

Definition at line 209 of file simulation_widget.cpp.

◆ generateGazeboCompatibleURDF()

std::string moveit_setup_assistant::SimulationWidget::generateGazeboCompatibleURDF ( ) const
private

Generate Gazebo-compatible URDF, starting from original URDF.

Definition at line 272 of file simulation_widget.cpp.

◆ openURDF

void moveit_setup_assistant::SimulationWidget::openURDF ( )
privateslot

Open original URDF with system editor.

Definition at line 252 of file simulation_widget.cpp.

◆ overwriteURDF

void moveit_setup_assistant::SimulationWidget::overwriteURDF ( )
privateslot

Overwrite original URDF with content of document.

Definition at line 237 of file simulation_widget.cpp.

◆ setDirty

void moveit_setup_assistant::SimulationWidget::setDirty ( bool  dirty = true)
privateslot

Mark document as changed.

Definition at line 168 of file simulation_widget.cpp.

Member Data Documentation

◆ btn_open_

QPushButton* moveit_setup_assistant::SimulationWidget::btn_open_
private

Definition at line 96 of file simulation_widget.h.

◆ btn_overwrite_

QPushButton* moveit_setup_assistant::SimulationWidget::btn_overwrite_
private

Definition at line 95 of file simulation_widget.h.

◆ config_data_

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::SimulationWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 100 of file simulation_widget.h.

◆ copy_urdf_

QLabel* moveit_setup_assistant::SimulationWidget::copy_urdf_
private

Definition at line 97 of file simulation_widget.h.

◆ no_changes_label_

QLabel* moveit_setup_assistant::SimulationWidget::no_changes_label_
private

Definition at line 94 of file simulation_widget.h.

◆ simulation_text_

QTextEdit* moveit_setup_assistant::SimulationWidget::simulation_text_
private

Definition at line 93 of file simulation_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