moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
moveit_setup::controllers::ControllersWidget Class Reference

#include <controllers_widget.hpp>

Inheritance diagram for moveit_setup::controllers::ControllersWidget:
Inheritance graph
[legend]
Collaboration diagram for moveit_setup::controllers::ControllersWidget:
Collaboration graph
[legend]

Public Member Functions

void onInit () override
 
void changeScreen (int index)
 
void focusGiven () override
 Received when this widget is chosen from the navigation menu.
 
SetupStepgetSetupStep () override
 Return a reference to the SetupStep object.
 
- Public Member Functions inherited from moveit_setup::SetupStepWidget
void initialize (const rclcpp::Node::SharedPtr &parent_node, QWidget *parent_widget, RVizPanel *rviz_panel, const DataWarehousePtr &config_data)
 Called after construction to initialize the step.
 
virtual bool focusLost ()
 function called when widget loses focus, although switching away can be rejected
 
bool isReady ()
 

Protected Member Functions

QWidget * createContentsWidget ()
 Builds the main screen list widget.
 
void loadControllersTree ()
 
void loadToControllersTree (const ControllerInfo &controller_it)
 
void showMainScreen ()
 
void loadJointsScreen (ControllerInfo *this_controller)
 
void loadGroupsScreen (ControllerInfo *this_controller)
 
void loadControllerScreen (ControllerInfo *this_controller)
 

Protected Attributes

QTreeWidget * controllers_tree_
 Main table for holding controllers.
 
QWidget * controllers_tree_widget_
 
QStackedWidget * stacked_widget_
 For changing between table and different add/edit views.
 
ControllerEditWidgetcontroller_edit_widget_
 
QPushButton * btn_delete_
 
QPushButton * btn_add_
 
QPushButton * btn_edit_
 
QHBoxLayout * controls_layout_
 
DoubleListWidgetjoints_widget_
 
DoubleListWidgetjoint_groups_widget_
 
std::string current_edit_controller_
 Remember what controller we are editing when an edit screen is being shown.
 
bool adding_new_controller_
 Remember whethere we're editing a controller or adding a new one.
 
std::shared_ptr< Controllerssetup_step_
 
- Protected Attributes inherited from moveit_setup::SetupStepWidget
RVizPanelrviz_panel_
 
bool debug_
 

Additional Inherited Members

- Signals inherited from moveit_setup::SetupStepWidget
void dataUpdated ()
 When the underlying data has been updated (which can cause other steps to become "Ready")
 
void advanceRequest ()
 When this signal is received, the GUI should attempt to advance to the next step.
 
void setModalMode (bool isModal)
 Event for when the current screen is in modal view. Disables the left navigation.
 

Detailed Description

Definition at line 55 of file controllers_widget.hpp.

Member Function Documentation

◆ changeScreen()

void moveit_setup::controllers::ControllersWidget::changeScreen ( int  index)

Definition at line 770 of file controllers_widget.cpp.

Here is the call graph for this function:

◆ createContentsWidget()

QWidget * moveit_setup::controllers::ControllersWidget::createContentsWidget ( )
protected

Builds the main screen list widget.

Definition at line 121 of file controllers_widget.cpp.

Here is the caller graph for this function:

◆ focusGiven()

void moveit_setup::controllers::ControllersWidget::focusGiven ( )
overridevirtual

Received when this widget is chosen from the navigation menu.

Reimplemented from moveit_setup::SetupStepWidget.

Definition at line 272 of file controllers_widget.cpp.

Here is the call graph for this function:

◆ getSetupStep()

SetupStep & moveit_setup::controllers::ControllersWidget::getSetupStep ( )
inlineoverridevirtual

Return a reference to the SetupStep object.

Implements moveit_setup::SetupStepWidget.

Definition at line 71 of file controllers_widget.hpp.

◆ loadControllerScreen()

void moveit_setup::controllers::ControllersWidget::loadControllerScreen ( ControllerInfo this_controller)
protected

Definition at line 400 of file controllers_widget.cpp.

Here is the call graph for this function:

◆ loadControllersTree()

void moveit_setup::controllers::ControllersWidget::loadControllersTree ( )
protected

Definition at line 203 of file controllers_widget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadGroupsScreen()

void moveit_setup::controllers::ControllersWidget::loadGroupsScreen ( ControllerInfo this_controller)
protected

Definition at line 311 of file controllers_widget.cpp.

Here is the call graph for this function:

◆ loadJointsScreen()

void moveit_setup::controllers::ControllersWidget::loadJointsScreen ( ControllerInfo this_controller)
protected

Definition at line 283 of file controllers_widget.cpp.

Here is the call graph for this function:

◆ loadToControllersTree()

void moveit_setup::controllers::ControllersWidget::loadToControllersTree ( const ControllerInfo controller_it)
protected

Definition at line 226 of file controllers_widget.cpp.

Here is the caller graph for this function:

◆ onInit()

void moveit_setup::controllers::ControllersWidget::onInit ( )
overridevirtual

Reimplemented from moveit_setup::SetupStepWidget.

Definition at line 68 of file controllers_widget.cpp.

Here is the call graph for this function:

◆ showMainScreen()

void moveit_setup::controllers::ControllersWidget::showMainScreen ( )
protected

Definition at line 759 of file controllers_widget.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ adding_new_controller_

bool moveit_setup::controllers::ControllersWidget::adding_new_controller_
protected

Remember whethere we're editing a controller or adding a new one.

Definition at line 145 of file controllers_widget.hpp.

◆ btn_add_

QPushButton* moveit_setup::controllers::ControllersWidget::btn_add_
protected

Definition at line 135 of file controllers_widget.hpp.

◆ btn_delete_

QPushButton* moveit_setup::controllers::ControllersWidget::btn_delete_
protected

Definition at line 134 of file controllers_widget.hpp.

◆ btn_edit_

QPushButton* moveit_setup::controllers::ControllersWidget::btn_edit_
protected

Definition at line 136 of file controllers_widget.hpp.

◆ controller_edit_widget_

ControllerEditWidget* moveit_setup::controllers::ControllersWidget::controller_edit_widget_
protected

Definition at line 132 of file controllers_widget.hpp.

◆ controllers_tree_

QTreeWidget* moveit_setup::controllers::ControllersWidget::controllers_tree_
protected

Main table for holding controllers.

Definition at line 127 of file controllers_widget.hpp.

◆ controllers_tree_widget_

QWidget* moveit_setup::controllers::ControllersWidget::controllers_tree_widget_
protected

Definition at line 128 of file controllers_widget.hpp.

◆ controls_layout_

QHBoxLayout* moveit_setup::controllers::ControllersWidget::controls_layout_
protected

Definition at line 137 of file controllers_widget.hpp.

◆ current_edit_controller_

std::string moveit_setup::controllers::ControllersWidget::current_edit_controller_
protected

Remember what controller we are editing when an edit screen is being shown.

Definition at line 142 of file controllers_widget.hpp.

◆ joint_groups_widget_

DoubleListWidget* moveit_setup::controllers::ControllersWidget::joint_groups_widget_
protected

Definition at line 139 of file controllers_widget.hpp.

◆ joints_widget_

DoubleListWidget* moveit_setup::controllers::ControllersWidget::joints_widget_
protected

Definition at line 138 of file controllers_widget.hpp.

◆ setup_step_

std::shared_ptr<Controllers> moveit_setup::controllers::ControllersWidget::setup_step_
protected

Definition at line 147 of file controllers_widget.hpp.

◆ stacked_widget_

QStackedWidget* moveit_setup::controllers::ControllersWidget::stacked_widget_
protected

For changing between table and different add/edit views.

Definition at line 131 of file controllers_widget.hpp.


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