#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) |
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 52 of file kinematic_chain_widget.h.
moveit_setup_assistant::KinematicChainWidget::KinematicChainWidget | ( | QWidget * | parent, |
moveit_setup_assistant::MoveItConfigDataPtr | config_data | ||
) |
Constructor.
Definition at line 53 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 195 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 164 of file kinematic_chain_widget.cpp.
void moveit_setup_assistant::KinematicChainWidget::alterTree | ( | const QString & | link | ) | [private, slot] |
Expand/Collapse Tree.
Definition at line 256 of file kinematic_chain_widget.cpp.
void moveit_setup_assistant::KinematicChainWidget::baseLinkTreeClick | ( | ) | [private, slot] |
Choose the base link.
Definition at line 233 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 | ) | [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 267 of file kinematic_chain_widget.cpp.
Loads the availble data list.
Definition at line 143 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 224 of file kinematic_chain_widget.cpp.
void moveit_setup_assistant::KinematicChainWidget::tipLinkTreeClick | ( | ) | [private, slot] |
Choose the tip link.
Definition at line 244 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 88 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 136 of file kinematic_chain_widget.h.
Remember if the chain tree has been loaded.
Definition at line 139 of file kinematic_chain_widget.h.
Definition at line 87 of file kinematic_chain_widget.h.
Definition at line 89 of file kinematic_chain_widget.h.
Definition at line 86 of file kinematic_chain_widget.h.