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

#include <kinematic_chain_widget.h>

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

Signals

void cancelEditing ()
 Event sent when user presses cancel button. More...
 
void doneEditing ()
 Event sent when this widget is done making data changes and parent widget can save. More...
 
void highlightLink (const std::string &name, const QColor &)
 Event for telling rviz to highlight a link of the robot. More...
 
void unhighlightAll ()
 Event for telling rviz to unhighlight all links of the robot. More...
 

Public Member Functions

bool addLinkChildRecursive (QTreeWidgetItem *parent, const robot_model::LinkModel *link, const std::string &parent_name)
 
void addLinktoTreeRecursive (const robot_model::LinkModel *link, const robot_model::LinkModel *parent)
 
 KinematicChainWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data)
 Constructor. More...
 
void setAvailable ()
 Loads the availble data list. More...
 
void setSelected (const std::string &base_link, const std::string &tip_link)
 Set the link field with previous value. More...
 

Public Attributes

QLineEdit * base_link_field_
 
QTreeWidget * link_tree_
 
QLineEdit * tip_link_field_
 
QLabel * title_
 

Private Slots

void alterTree (const QString &link)
 Expand/Collapse Tree. More...
 
void baseLinkTreeClick ()
 Choose the base link. More...
 
void itemSelected ()
 Highlight the selected link in the kinematic chain. More...
 
void tipLinkTreeClick ()
 Choose the tip link. More...
 

Private Attributes

moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 
bool kinematic_chain_loaded_
 Remember if the chain tree has been loaded. More...
 

Detailed Description

Definition at line 51 of file kinematic_chain_widget.h.

Constructor & Destructor Documentation

moveit_setup_assistant::KinematicChainWidget::KinematicChainWidget ( QWidget *  parent,
moveit_setup_assistant::MoveItConfigDataPtr  config_data 
)

Constructor.

Definition at line 52 of file kinematic_chain_widget.cpp.

Member Function Documentation

bool moveit_setup_assistant::KinematicChainWidget::addLinkChildRecursive ( QTreeWidgetItem *  parent,
const robot_model::LinkModel *  link,
const std::string &  parent_name 
)

Definition at line 194 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::addLinktoTreeRecursive ( const robot_model::LinkModel *  link,
const robot_model::LinkModel *  parent 
)

Definition at line 163 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::alterTree ( const QString &  link)
privateslot

Expand/Collapse Tree.

Definition at line 255 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::baseLinkTreeClick ( )
privateslot

Choose the base link.

Definition at line 231 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::cancelEditing ( )
signal

Event sent when user presses cancel button.

void moveit_setup_assistant::KinematicChainWidget::doneEditing ( )
signal

Event sent when this widget is done making data changes and parent widget can save.

void moveit_setup_assistant::KinematicChainWidget::highlightLink ( const std::string &  name,
const QColor &   
)
signal

Event for telling rviz to highlight a link of the robot.

void moveit_setup_assistant::KinematicChainWidget::itemSelected ( )
privateslot

Highlight the selected link in the kinematic chain.

Definition at line 266 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::setAvailable ( )

Loads the availble data list.

Definition at line 142 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::setSelected ( const std::string &  base_link,
const std::string &  tip_link 
)

Set the link field with previous value.

Definition at line 222 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::tipLinkTreeClick ( )
privateslot

Choose the tip link.

Definition at line 243 of file kinematic_chain_widget.cpp.

void moveit_setup_assistant::KinematicChainWidget::unhighlightAll ( )
signal

Event for telling rviz to unhighlight all links of the robot.

Member Data Documentation

QLineEdit* moveit_setup_assistant::KinematicChainWidget::base_link_field_

Definition at line 83 of file kinematic_chain_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::KinematicChainWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 128 of file kinematic_chain_widget.h.

bool moveit_setup_assistant::KinematicChainWidget::kinematic_chain_loaded_
private

Remember if the chain tree has been loaded.

Definition at line 131 of file kinematic_chain_widget.h.

QTreeWidget* moveit_setup_assistant::KinematicChainWidget::link_tree_

Definition at line 82 of file kinematic_chain_widget.h.

QLineEdit* moveit_setup_assistant::KinematicChainWidget::tip_link_field_

Definition at line 84 of file kinematic_chain_widget.h.

QLabel* moveit_setup_assistant::KinematicChainWidget::title_

Definition at line 81 of file kinematic_chain_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