#include <task_display.h>
Public Member Functions | |
void | addMarkers (const DisplaySolutionPtr &s) |
void | clearMarkers () |
TaskListModel & | getTaskListModel () |
void | load (const rviz::Config &config) override |
void | loadRobotModel () |
void | reset () override |
void | save (rviz::Config config) const override |
void | setName (const QString &name) override |
void | setSolutionStatus (bool ok, const char *msg="") |
TaskDisplay () | |
void | update (float wall_dt, float ros_dt) override |
TaskSolutionVisualization * | visualization () const |
~TaskDisplay () override | |
![]() | |
virtual void | deleteStatus (const QString &name) |
void | deleteStatusStd (const std::string &name) |
Display () | |
void | emitTimeSignal (ros::Time time) |
QWidget * | getAssociatedWidget () const |
PanelDockWidget * | getAssociatedWidgetPanel () |
virtual QString | getClassId () const |
Ogre::SceneNode * | getSceneNode () const |
QVariant | getViewData (int column, int role) const override |
Qt::ItemFlags | getViewFlags (int column) const override |
uint32_t | getVisibilityBits () |
void | initialize (DisplayContext *context) |
bool | isEnabled () const |
void | setAssociatedWidget (QWidget *widget) |
virtual void | setClassId (const QString &class_id) |
void | setFixedFrame (const QString &fixed_frame) |
virtual void | setStatus (StatusProperty::Level level, const QString &name, const QString &text) |
void | setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text) |
virtual void | setTopic (const QString &topic, const QString &datatype) |
void | setVisibilityBits (uint32_t bits) |
void | unsetVisibilityBits (uint32_t bits) |
~Display () override | |
![]() | |
BoolProperty (const QString &name, bool default_value, const QString &description, P *parent, Func &&changed_slot) | |
BoolProperty (const QString &name, bool default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver) | |
BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr) | |
virtual bool | getBool () const |
bool | getDisableChildren () override |
bool | getDisableChildrenIfFalse () |
void | setDisableChildrenIfFalse (bool disable) |
~BoolProperty () override | |
![]() | |
virtual void | addChild (Property *child, int index=-1) |
Property * | childAt (int index) const |
virtual Property * | childAtUnchecked (int index) const |
virtual void | collapse () |
std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type | connect (const QObject *context, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
QMetaObject::Connection | connect (const QObject *receiver, const char *slot, Qt::ConnectionType type=Qt::AutoConnection) |
std::enable_if< QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type | connect (const R *receiver, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type | connect (Func &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
bool | contains (Property *possible_child) const |
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option) |
virtual void | expand () |
virtual QString | getDescription () const |
virtual bool | getHidden () const |
virtual QIcon | getIcon () const |
PropertyTreeModel * | getModel () const |
virtual QString | getName () const |
std::string | getNameStd () const |
Property * | getParent () const |
virtual bool | getReadOnly () const |
virtual QVariant | getValue () const |
void | hide () |
void | insertChildSorted (Property *child) |
bool | isAncestorOf (Property *possible_child) const |
virtual void | moveChild (int from_index, int to_index) |
virtual int | numChildren () const |
virtual bool | paint (QPainter *painter, const QStyleOptionViewItem &option) const |
Property (const QString &name, const QVariant &default_value, const QString &description, P *parent, Func &&changed_slot) | |
Property (const QString &name, const QVariant &default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver) | |
Property (const QString &name=QString(), const QVariant &default_value=QVariant(), const QString &description=QString(), Property *parent=nullptr) | |
virtual void | removeChildren (int start_index=0, int count=-1) |
int | rowNumberInParent () const |
virtual void | setDescription (const QString &description) |
virtual void | setHidden (bool hidden) |
virtual void | setIcon (const QIcon &icon) |
void | setModel (PropertyTreeModel *model) |
void | setParent (Property *new_parent) |
virtual void | setReadOnly (bool read_only) |
void | setShouldBeSaved (bool save) |
virtual bool | setValue (const QVariant &new_value) |
bool | shouldBeSaved () const |
void | show () |
virtual Property * | subProp (const QString &sub_name) |
Property * | takeChild (Property *child) |
virtual Property * | takeChildAt (int index) |
~Property () override | |
Protected Member Functions | |
void | calculateOffsetPosition () |
void | fixedFrameChanged () override |
void | onDisable () override |
void | onEnable () override |
void | onInitialize () override |
![]() | |
virtual void | clearStatuses () |
bool | initialized () const |
![]() | |
void | loadValue (const Config &config) |
Protected Attributes | |
std::string | base_ns_ |
bool | panel_requested_ |
rdf_loader::RDFLoaderPtr | rdf_loader_ |
bool | received_task_description_ |
rviz::StringProperty * | robot_description_property_ |
moveit::core::RobotModelConstPtr | robot_model_ |
ros::Subscriber | task_description_sub |
std::unique_ptr< TaskListModel > | task_list_model_ |
ros::Subscriber | task_solution_sub |
rviz::RosTopicProperty * | task_solution_topic_property_ |
ros::Subscriber | task_statistics_sub |
rviz::Property * | tasks_property_ |
std::unique_ptr< TaskSolutionVisualization > | trajectory_visual_ |
![]() | |
DisplayContext * | context_ |
QString | fixed_frame_ |
Ogre::SceneManager * | scene_manager_ |
Ogre::SceneNode * | scene_node_ |
ros::NodeHandle | threaded_nh_ |
ros::NodeHandle | update_nh_ |
![]() | |
bool | child_indexes_valid_ |
QIcon | icon_ |
PropertyTreeModel * | model_ |
QVariant | value_ |
Private Slots | |
void | changedRobotDescription () |
Slot Event Functions. More... | |
void | changedTaskSolutionTopic () |
void | onTaskDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
void | onTasksInserted (const QModelIndex &parent, int first, int last) |
void | onTasksRemoved (const QModelIndex &parent, int first, int last) |
void | taskDescriptionCB (const moveit_task_constructor_msgs::TaskDescriptionConstPtr &msg) |
void | taskSolutionCB (const moveit_task_constructor_msgs::SolutionConstPtr &msg) |
void | taskStatisticsCB (const moveit_task_constructor_msgs::TaskStatisticsConstPtr &msg) |
Private Member Functions | |
void | requestPanel () |
Additional Inherited Members | |
![]() | |
virtual void | onEnableChanged () |
void | queueRender () |
void | setEnabled (bool enabled) |
void | setIcon (const QIcon &icon) override |
![]() | |
bool | setBool (bool value) |
![]() | |
void | timeSignal (ros::Time time, QPrivateSignal) |
![]() | |
void | aboutToChange () |
void | changed () |
void | childListChanged (Property *this_property) |
Definition at line 72 of file task_display.h.
moveit_rviz_plugin::TaskDisplay::TaskDisplay | ( | ) |
Definition at line 94 of file task_display.cpp.
|
override |
Definition at line 122 of file task_display.cpp.
|
inline |
Definition at line 94 of file task_display.h.
|
protected |
Definition at line 198 of file task_display.cpp.
|
privateslot |
Slot Event Functions.
Definition at line 223 of file task_display.cpp.
|
privateslot |
Definition at line 264 of file task_display.cpp.
|
inline |
Definition at line 93 of file task_display.h.
|
overrideprotectedvirtual |
Reimplemented from rviz::Display.
Definition at line 193 of file task_display.cpp.
|
inline |
Definition at line 90 of file task_display.h.
|
overridevirtual |
Reimplemented from rviz::Display.
Definition at line 178 of file task_display.cpp.
void moveit_rviz_plugin::TaskDisplay::loadRobotModel | ( | ) |
Definition at line 143 of file task_display.cpp.
|
overrideprotectedvirtual |
Reimplemented from rviz::Display.
Definition at line 188 of file task_display.cpp.
|
overrideprotectedvirtual |
Reimplemented from rviz::Display.
Definition at line 182 of file task_display.cpp.
|
overrideprotectedvirtual |
Reimplemented from rviz::Display.
Definition at line 127 of file task_display.cpp.
|
privateslot |
Definition at line 319 of file task_display.cpp.
|
privateslot |
Definition at line 298 of file task_display.cpp.
|
privateslot |
Definition at line 309 of file task_display.cpp.
|
inlineprivate |
Definition at line 133 of file task_display.cpp.
|
overridevirtual |
Reimplemented from rviz::Display.
Definition at line 168 of file task_display.cpp.
|
overridevirtual |
Reimplemented from rviz::Display.
Definition at line 174 of file task_display.cpp.
|
overridevirtual |
Reimplemented from rviz::Display.
Definition at line 218 of file task_display.cpp.
void moveit_rviz_plugin::TaskDisplay::setSolutionStatus | ( | bool | ok, |
const char * | msg = "" |
||
) |
Definition at line 291 of file task_display.cpp.
|
privateslot |
Definition at line 230 of file task_display.cpp.
|
privateslot |
Definition at line 250 of file task_display.cpp.
|
privateslot |
Definition at line 245 of file task_display.cpp.
|
overridevirtual |
Reimplemented from rviz::Display.
Definition at line 211 of file task_display.cpp.
|
inline |
Definition at line 91 of file task_display.h.
|
protected |
Definition at line 136 of file task_display.h.
|
protected |
Definition at line 129 of file task_display.h.
|
protected |
Definition at line 132 of file task_display.h.
|
protected |
Definition at line 138 of file task_display.h.
|
protected |
Definition at line 141 of file task_display.h.
|
protected |
Definition at line 133 of file task_display.h.
|
protected |
Definition at line 122 of file task_display.h.
|
protected |
Definition at line 128 of file task_display.h.
|
protected |
Definition at line 121 of file task_display.h.
|
protected |
Definition at line 142 of file task_display.h.
|
protected |
Definition at line 123 of file task_display.h.
|
protected |
Definition at line 143 of file task_display.h.
|
protected |
Definition at line 126 of file task_display.h.