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)
 
void moveToScreen (const int index)
 
virtual bool notify (QObject *rec, QEvent *ev)
 
 SetupAssistantWidget (QWidget *parent, boost::program_options::variables_map args)
 
 ~SetupAssistantWidget ()
 

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_
 
moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 
ConfigurationFilesWidgetconfiguration_files_widget_
 
moveit_ros_control::ROSControllersWidgetcontrollers_widget_
 
int current_index_
 
DefaultCollisionsWidgetdefault_collisions_widget_
 
EndEffectorsWidgetend_effectors_widget_
 
QStackedLayout * main_content_
 
QWidget * middle_frame_
 
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 91 of file setup_assistant_widget.h.

Constructor & Destructor Documentation

moveit_setup_assistant::SetupAssistantWidget::SetupAssistantWidget ( QWidget *  parent,
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 64 of file setup_assistant_widget.cpp.

moveit_setup_assistant::SetupAssistantWidget::~SetupAssistantWidget ( )

Deconstructor

Definition at line 177 of file setup_assistant_widget.cpp.

Member Function Documentation

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

Qt close event function for reminding user to save

Parameters
eventA Qt paramenter

Definition at line 482 of file setup_assistant_widget.cpp.

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

Highlight a robot group

Definition at line 432 of file setup_assistant_widget.cpp.

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 422 of file setup_assistant_widget.cpp.

void moveit_setup_assistant::SetupAssistantWidget::loadRviz ( )
privateslot

Load Rviz once we have a robot description ready

Definition at line 380 of file setup_assistant_widget.cpp.

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

Changes viewable screen

Parameters
indexscreen index to switch to

Definition at line 208 of file setup_assistant_widget.cpp.

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 199 of file setup_assistant_widget.cpp.

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

Qt error handling function

Parameters
rec
ev
Returns
bool

Definition at line 503 of file setup_assistant_widget.cpp.

void moveit_setup_assistant::SetupAssistantWidget::progressPastStartScreen ( )
privateslot

Call a function that enables navigation and goes to screen 2

Definition at line 242 of file setup_assistant_widget.cpp.

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 513 of file setup_assistant_widget.cpp.

void moveit_setup_assistant::SetupAssistantWidget::unhighlightAll ( )
privateslot

Unhighlight all links of a robot

Definition at line 452 of file setup_assistant_widget.cpp.

void moveit_setup_assistant::SetupAssistantWidget::updateTimer ( )
privateslot

Event for spinning the ros node

Definition at line 372 of file setup_assistant_widget.cpp.

void moveit_setup_assistant::SetupAssistantWidget::virtualJointReferenceFrameChanged ( )
privateslot

Definition at line 187 of file setup_assistant_widget.cpp.

Member Data Documentation

AuthorInformationWidget* moveit_setup_assistant::SetupAssistantWidget::author_information_widget_
private

Definition at line 226 of file setup_assistant_widget.h.

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

Definition at line 211 of file setup_assistant_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::SetupAssistantWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 233 of file setup_assistant_widget.h.

ConfigurationFilesWidget* moveit_setup_assistant::SetupAssistantWidget::configuration_files_widget_
private

Definition at line 227 of file setup_assistant_widget.h.

moveit_ros_control::ROSControllersWidget* moveit_setup_assistant::SetupAssistantWidget::controllers_widget_
private

Definition at line 230 of file setup_assistant_widget.h.

int moveit_setup_assistant::SetupAssistantWidget::current_index_
private

Definition at line 210 of file setup_assistant_widget.h.

DefaultCollisionsWidget* moveit_setup_assistant::SetupAssistantWidget::default_collisions_widget_
private

Definition at line 220 of file setup_assistant_widget.h.

EndEffectorsWidget* moveit_setup_assistant::SetupAssistantWidget::end_effectors_widget_
private

Definition at line 223 of file setup_assistant_widget.h.

QStackedLayout* moveit_setup_assistant::SetupAssistantWidget::main_content_
private

Definition at line 209 of file setup_assistant_widget.h.

QWidget* moveit_setup_assistant::SetupAssistantWidget::middle_frame_
private

Definition at line 206 of file setup_assistant_widget.h.

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

Definition at line 203 of file setup_assistant_widget.h.

NavigationWidget* moveit_setup_assistant::SetupAssistantWidget::navs_view_
private

Definition at line 204 of file setup_assistant_widget.h.

PassiveJointsWidget* moveit_setup_assistant::SetupAssistantWidget::passive_joints_widget_
private

Definition at line 225 of file setup_assistant_widget.h.

PerceptionWidget* moveit_setup_assistant::SetupAssistantWidget::perception_widget_
private

Definition at line 229 of file setup_assistant_widget.h.

PlanningGroupsWidget* moveit_setup_assistant::SetupAssistantWidget::planning_groups_widget
private

Definition at line 221 of file setup_assistant_widget.h.

RobotPosesWidget* moveit_setup_assistant::SetupAssistantWidget::robot_poses_widget_
private

Definition at line 222 of file setup_assistant_widget.h.

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

Definition at line 216 of file setup_assistant_widget.h.

QWidget* moveit_setup_assistant::SetupAssistantWidget::rviz_container_
private

Definition at line 207 of file setup_assistant_widget.h.

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

Definition at line 215 of file setup_assistant_widget.h.

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

Definition at line 214 of file setup_assistant_widget.h.

SimulationWidget* moveit_setup_assistant::SetupAssistantWidget::simulation_widget_
private

Definition at line 228 of file setup_assistant_widget.h.

QSplitter* moveit_setup_assistant::SetupAssistantWidget::splitter_
private

Definition at line 208 of file setup_assistant_widget.h.

StartScreenWidget* moveit_setup_assistant::SetupAssistantWidget::start_screen_widget_
private

Definition at line 219 of file setup_assistant_widget.h.

VirtualJointsWidget* moveit_setup_assistant::SetupAssistantWidget::virtual_joints_widget_
private

Definition at line 224 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 Sun Oct 18 2020 13:19:28