Class RVizPanel

Inheritance Relationships

Base Types

  • public QWidget

  • public rviz_common::WindowManagerInterface

Class Documentation

class RVizPanel : public QWidget, public rviz_common::WindowManagerInterface

Public Functions

RVizPanel(QWidget *parent, const rviz_common::ros_integration::RosNodeAbstractionIface::WeakPtr &node_abstraction, const DataWarehousePtr &config_data)
~RVizPanel() override
inline bool isReadyForInitialization() const
void initialize()
void updateFixedFrame()
inline QWidget *getParentWindow() override
inline rviz_common::PanelDockWidget *addPane(const QString&, QWidget*, Qt::DockWidgetArea = Qt::LeftDockWidgetArea, bool = true) override
inline void setStatus(const QString&) override

Public Slots

inline void highlightLink(const std::string &link_name, const QColor &color)

Highlight a link of the robot

Parameters:

link_name – name of link to highlight

inline void highlightGroup(const std::string &group_name)

Highlight a robot group

inline void unhighlightAll()

Unhighlight all links of a robot

Signals

void highlightLinkSignal(const std::string &link_name, const QColor &color)
void highlightGroupSignal(const std::string &group_name)
void unhighlightAllSignal()

Protected Functions

moveit::core::RobotModelPtr getRobotModel() const

Protected Attributes

QWidget *parent_
rviz_common::RenderPanel *rviz_render_panel_ = {nullptr}
rviz_common::VisualizationManager *rviz_manager_ = {nullptr}
moveit_rviz_plugin::RobotStateDisplay *robot_state_display_ = {nullptr}
rviz_common::ros_integration::RosNodeAbstractionIface::WeakPtr node_abstraction_
rclcpp::Node::SharedPtr node_
std::shared_ptr<rclcpp::Logger> logger_
DataWarehousePtr config_data_

Protected Slots

void highlightLinkEvent(const std::string &link_name, const QColor &color)
void highlightGroupEvent(const std::string &group_name)
void unhighlightAllEvent()