Signals | Public Member Functions | Public Attributes | Private Slots | Private Attributes
moveit_setup_assistant::KinematicChainWidget Class Reference

#include <kinematic_chain_widget.h>

List of all members.

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.

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) [private, slot]

Expand/Collapse Tree.

Definition at line 255 of file kinematic_chain_widget.cpp.

Choose the base link.

Definition at line 231 of file kinematic_chain_widget.cpp.

Event sent when user presses cancel button.

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.

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.

Choose the tip link.

Definition at line 243 of file kinematic_chain_widget.cpp.

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


Member Data Documentation

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.


The documentation for this class was generated from the following files:


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Mon Jul 24 2017 02:22:30