#include <kinematic_chain_widget.h>
Signals | |
void | cancelEditing () |
Event sent when user presses cancel button. | |
void | doneEditing () |
Event sent when this widget is done making data changes and parent widget can save. | |
void | highlightLink (const std::string &name, const QColor &) |
Event for telling rviz to highlight a link of the robot. | |
void | unhighlightAll () |
Event for telling rviz to unhighlight all links of the robot. | |
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. | |
void | setAvailable () |
Loads the availble data list. | |
void | setSelected (const std::string &base_link, const std::string &tip_link) |
Set the link field with previous value. | |
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. | |
void | baseLinkTreeClick () |
Choose the base link. | |
void | itemSelected () |
Highlight the selected link in the kinematic chain. | |
void | tipLinkTreeClick () |
Choose the tip link. | |
Private Attributes | |
moveit_setup_assistant::MoveItConfigDataPtr | config_data_ |
Contains all the configuration data for the setup assistant. | |
bool | kinematic_chain_loaded_ |
Remember if the chain tree has been loaded. |
Definition at line 51 of file kinematic_chain_widget.h.
moveit_setup_assistant::KinematicChainWidget::KinematicChainWidget | ( | QWidget * | parent, |
moveit_setup_assistant::MoveItConfigDataPtr | config_data | ||
) |
Constructor.
Definition at line 52 of file kinematic_chain_widget.cpp.
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 | ) | [private, slot] |
Expand/Collapse Tree.
Definition at line 255 of file kinematic_chain_widget.cpp.
void moveit_setup_assistant::KinematicChainWidget::baseLinkTreeClick | ( | ) | [private, slot] |
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 | ( | ) | [private, slot] |
Highlight the selected link in the kinematic chain.
Definition at line 266 of file kinematic_chain_widget.cpp.
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 | ( | ) | [private, slot] |
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.
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.
Remember if the chain tree has been loaded.
Definition at line 131 of file kinematic_chain_widget.h.
Definition at line 82 of file kinematic_chain_widget.h.
Definition at line 84 of file kinematic_chain_widget.h.
Definition at line 81 of file kinematic_chain_widget.h.