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

#include <setup_assistant_widget.h>

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

Public Member Functions

void closeEvent (QCloseEvent *event) override
 
void moveToScreen (const int index)
 
virtual bool notify (QObject *rec, QEvent *ev)
 
 SetupAssistantWidget (QWidget *parent, const boost::program_options::variables_map &args)
 
 ~SetupAssistantWidget () override
 

Private Slots

void highlightGroup (const std::string &group_name)
 
void highlightLink (const std::string &link_name, const QColor &color)
 
void loadRviz ()
 
void navigationClicked (const QModelIndex &index)
 
void progressPastStartScreen ()
 
void setModalMode (bool isModal)
 
void unhighlightAll ()
 
void updateTimer ()
 
void virtualJointReferenceFrameChanged ()
 

Private Attributes

AuthorInformationWidgetauthor_information_widget_
 
boost::mutex change_screen_lock_
 
MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 
ConfigurationFilesWidgetconfiguration_files_widget_
 
ControllersWidgetcontrollers_widget_
 
int current_index_
 
DefaultCollisionsWidgetdefault_collisions_widget_
 
EndEffectorsWidgetend_effectors_widget_
 
QStackedWidget * main_content_
 
QList< QString > nav_name_list_
 
NavigationWidgetnavs_view_
 
PassiveJointsWidgetpassive_joints_widget_
 
PerceptionWidgetperception_widget_
 
PlanningGroupsWidgetplanning_groups_widget
 
RobotPosesWidgetrobot_poses_widget_
 
moveit_rviz_plugin::RobotStateDisplayrobot_state_display_
 
QWidget * rviz_container_
 
rviz::VisualizationManagerrviz_manager_
 
rviz::RenderPanelrviz_render_panel_
 
SimulationWidgetsimulation_widget_
 
QSplitter * splitter_
 
StartScreenWidgetstart_screen_widget_
 
VirtualJointsWidgetvirtual_joints_widget_
 

Detailed Description

Definition at line 80 of file setup_assistant_widget.h.

Constructor & Destructor Documentation

◆ SetupAssistantWidget()

moveit_setup_assistant::SetupAssistantWidget::SetupAssistantWidget ( QWidget *  parent,
const boost::program_options::variables_map &  args 
)

Construct the setup assistant widget, the primary window for this application

Parameters
parent- used by Qt for destructing all elements
Returns

Definition at line 99 of file setup_assistant_widget.cpp.

◆ ~SetupAssistantWidget()

moveit_setup_assistant::SetupAssistantWidget::~SetupAssistantWidget ( )
override

Deconstructor

Definition at line 201 of file setup_assistant_widget.cpp.

Member Function Documentation

◆ closeEvent()

void moveit_setup_assistant::SetupAssistantWidget::closeEvent ( QCloseEvent *  event)
override

Qt close event function for reminding user to save

Parameters
eventA Qt paramenter

Definition at line 522 of file setup_assistant_widget.cpp.

◆ highlightGroup

void moveit_setup_assistant::SetupAssistantWidget::highlightGroup ( const std::string &  group_name)
privateslot

Highlight a robot group

Definition at line 473 of file setup_assistant_widget.cpp.

◆ highlightLink

void moveit_setup_assistant::SetupAssistantWidget::highlightLink ( const std::string &  link_name,
const QColor &  color 
)
privateslot

Highlight a link of the robot

Parameters
link_namename of link to highlight

Definition at line 463 of file setup_assistant_widget.cpp.

◆ loadRviz

void moveit_setup_assistant::SetupAssistantWidget::loadRviz ( )
privateslot

Load Rviz once we have a robot description ready

Definition at line 405 of file setup_assistant_widget.cpp.

◆ moveToScreen()

void moveit_setup_assistant::SetupAssistantWidget::moveToScreen ( const int  index)

Changes viewable screen

Parameters
indexscreen index to switch to

Definition at line 233 of file setup_assistant_widget.cpp.

◆ navigationClicked

void moveit_setup_assistant::SetupAssistantWidget::navigationClicked ( const QModelIndex &  index)
privateslot

Show/hide the Rviz right panel

Parameters
showbool - whether to show Event for changing screens by user clicking
indexscreen id

Definition at line 224 of file setup_assistant_widget.cpp.

◆ notify()

bool moveit_setup_assistant::SetupAssistantWidget::notify ( QObject *  rec,
QEvent *  ev 
)
virtual

Qt error handling function

Parameters
rec
ev
Returns
bool

Definition at line 543 of file setup_assistant_widget.cpp.

◆ progressPastStartScreen

void moveit_setup_assistant::SetupAssistantWidget::progressPastStartScreen ( )
privateslot

Call a function that enables navigation and goes to screen 2

Definition at line 267 of file setup_assistant_widget.cpp.

◆ setModalMode

void moveit_setup_assistant::SetupAssistantWidget::setModalMode ( bool  isModal)
privateslot

Change the widget modal state based on subwidgets state

Parameters
isModalif true disable left navigation

Definition at line 553 of file setup_assistant_widget.cpp.

◆ unhighlightAll

void moveit_setup_assistant::SetupAssistantWidget::unhighlightAll ( )
privateslot

Unhighlight all links of a robot

Definition at line 492 of file setup_assistant_widget.cpp.

◆ updateTimer

void moveit_setup_assistant::SetupAssistantWidget::updateTimer ( )
privateslot

Event for spinning the ros node

Definition at line 397 of file setup_assistant_widget.cpp.

◆ virtualJointReferenceFrameChanged

void moveit_setup_assistant::SetupAssistantWidget::virtualJointReferenceFrameChanged ( )
privateslot

Definition at line 211 of file setup_assistant_widget.cpp.

Member Data Documentation

◆ author_information_widget_

AuthorInformationWidget* moveit_setup_assistant::SetupAssistantWidget::author_information_widget_
private

Definition at line 214 of file setup_assistant_widget.h.

◆ change_screen_lock_

boost::mutex moveit_setup_assistant::SetupAssistantWidget::change_screen_lock_
private

Definition at line 199 of file setup_assistant_widget.h.

◆ config_data_

MoveItConfigDataPtr moveit_setup_assistant::SetupAssistantWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 221 of file setup_assistant_widget.h.

◆ configuration_files_widget_

ConfigurationFilesWidget* moveit_setup_assistant::SetupAssistantWidget::configuration_files_widget_
private

Definition at line 215 of file setup_assistant_widget.h.

◆ controllers_widget_

ControllersWidget* moveit_setup_assistant::SetupAssistantWidget::controllers_widget_
private

Definition at line 218 of file setup_assistant_widget.h.

◆ current_index_

int moveit_setup_assistant::SetupAssistantWidget::current_index_
private

Definition at line 198 of file setup_assistant_widget.h.

◆ default_collisions_widget_

DefaultCollisionsWidget* moveit_setup_assistant::SetupAssistantWidget::default_collisions_widget_
private

Definition at line 208 of file setup_assistant_widget.h.

◆ end_effectors_widget_

EndEffectorsWidget* moveit_setup_assistant::SetupAssistantWidget::end_effectors_widget_
private

Definition at line 211 of file setup_assistant_widget.h.

◆ main_content_

QStackedWidget* moveit_setup_assistant::SetupAssistantWidget::main_content_
private

Definition at line 197 of file setup_assistant_widget.h.

◆ nav_name_list_

QList<QString> moveit_setup_assistant::SetupAssistantWidget::nav_name_list_
private

Definition at line 192 of file setup_assistant_widget.h.

◆ navs_view_

NavigationWidget* moveit_setup_assistant::SetupAssistantWidget::navs_view_
private

Definition at line 193 of file setup_assistant_widget.h.

◆ passive_joints_widget_

PassiveJointsWidget* moveit_setup_assistant::SetupAssistantWidget::passive_joints_widget_
private

Definition at line 213 of file setup_assistant_widget.h.

◆ perception_widget_

PerceptionWidget* moveit_setup_assistant::SetupAssistantWidget::perception_widget_
private

Definition at line 217 of file setup_assistant_widget.h.

◆ planning_groups_widget

PlanningGroupsWidget* moveit_setup_assistant::SetupAssistantWidget::planning_groups_widget
private

Definition at line 209 of file setup_assistant_widget.h.

◆ robot_poses_widget_

RobotPosesWidget* moveit_setup_assistant::SetupAssistantWidget::robot_poses_widget_
private

Definition at line 210 of file setup_assistant_widget.h.

◆ robot_state_display_

moveit_rviz_plugin::RobotStateDisplay* moveit_setup_assistant::SetupAssistantWidget::robot_state_display_
private

Definition at line 204 of file setup_assistant_widget.h.

◆ rviz_container_

QWidget* moveit_setup_assistant::SetupAssistantWidget::rviz_container_
private

Definition at line 195 of file setup_assistant_widget.h.

◆ rviz_manager_

rviz::VisualizationManager* moveit_setup_assistant::SetupAssistantWidget::rviz_manager_
private

Definition at line 203 of file setup_assistant_widget.h.

◆ rviz_render_panel_

rviz::RenderPanel* moveit_setup_assistant::SetupAssistantWidget::rviz_render_panel_
private

Definition at line 202 of file setup_assistant_widget.h.

◆ simulation_widget_

SimulationWidget* moveit_setup_assistant::SetupAssistantWidget::simulation_widget_
private

Definition at line 216 of file setup_assistant_widget.h.

◆ splitter_

QSplitter* moveit_setup_assistant::SetupAssistantWidget::splitter_
private

Definition at line 196 of file setup_assistant_widget.h.

◆ start_screen_widget_

StartScreenWidget* moveit_setup_assistant::SetupAssistantWidget::start_screen_widget_
private

Definition at line 207 of file setup_assistant_widget.h.

◆ virtual_joints_widget_

VirtualJointsWidget* moveit_setup_assistant::SetupAssistantWidget::virtual_joints_widget_
private

Definition at line 212 of file setup_assistant_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