Public Member Functions | Public Attributes | List of all members
rqt_dwb_plugin.dwb_widget.DWBWidget Class Reference
Inheritance diagram for rqt_dwb_plugin.dwb_widget.DWBWidget:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, parent, bounds=None)
 
def getBottomWidget (self, bounds)
 
def getLeftWidget (self, bounds)
 
def getRightWidget (self, bounds)
 
def getTopWidget (self, bounds)
 
def setEvaluation (self, msg)
 
def setPlan (self, plan)
 
def setSelected (self, selected=[])
 
def setVelocity (self, vel)
 
def updateColorMap (self, selected)
 

Public Attributes

 color_map
 
 widgets
 

Detailed Description

Interface for viewing LocalPlanEvaluation messages one at a time.

Within the individual messages, there is also the capability for highlighting/selecting a
subset of the trajectories.

The panel is composed of four sub-widgets. When a message is selected through the message_viewed method,
this class sets the data for all the sub-widgets and highlights the best trajectory.

Users can select additional trajectories through two of the widgets and update the trajectory subset
with the setSelected method. Each of those trajectories is mapped to a different color. This class
manages that mapping too.

Definition at line 45 of file dwb_widget.py.

Constructor & Destructor Documentation

◆ __init__()

def rqt_dwb_plugin.dwb_widget.DWBWidget.__init__ (   self,
  parent,
  bounds = None 
)

Definition at line 59 of file dwb_widget.py.

Member Function Documentation

◆ getBottomWidget()

def rqt_dwb_plugin.dwb_widget.DWBWidget.getBottomWidget (   self,
  bounds 
)

Definition at line 101 of file dwb_widget.py.

◆ getLeftWidget()

def rqt_dwb_plugin.dwb_widget.DWBWidget.getLeftWidget (   self,
  bounds 
)

Definition at line 95 of file dwb_widget.py.

◆ getRightWidget()

def rqt_dwb_plugin.dwb_widget.DWBWidget.getRightWidget (   self,
  bounds 
)

Definition at line 98 of file dwb_widget.py.

◆ getTopWidget()

def rqt_dwb_plugin.dwb_widget.DWBWidget.getTopWidget (   self,
  bounds 
)

Definition at line 92 of file dwb_widget.py.

◆ setEvaluation()

def rqt_dwb_plugin.dwb_widget.DWBWidget.setEvaluation (   self,
  msg 
)

Definition at line 104 of file dwb_widget.py.

◆ setPlan()

def rqt_dwb_plugin.dwb_widget.DWBWidget.setPlan (   self,
  plan 
)

Definition at line 109 of file dwb_widget.py.

◆ setSelected()

def rqt_dwb_plugin.dwb_widget.DWBWidget.setSelected (   self,
  selected = [] 
)

Definition at line 119 of file dwb_widget.py.

◆ setVelocity()

def rqt_dwb_plugin.dwb_widget.DWBWidget.setVelocity (   self,
  vel 
)

Definition at line 114 of file dwb_widget.py.

◆ updateColorMap()

def rqt_dwb_plugin.dwb_widget.DWBWidget.updateColorMap (   self,
  selected 
)

Definition at line 124 of file dwb_widget.py.

Member Data Documentation

◆ color_map

rqt_dwb_plugin.dwb_widget.DWBWidget.color_map

Definition at line 90 of file dwb_widget.py.

◆ widgets

rqt_dwb_plugin.dwb_widget.DWBWidget.widgets

Definition at line 62 of file dwb_widget.py.


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


rqt_dwb_plugin
Author(s):
autogenerated on Sun May 18 2025 02:47:58