Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
rqt_nav_view.nav_view.NavView Class Reference
Inheritance diagram for rqt_nav_view.nav_view.NavView:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, map_topic='/map', paths=None, polygons=None, tf_listener=None, parent=None)
 
def add_dragdrop (self, item)
 
def add_path (self, name)
 
def add_polygon (self, name)
 
def close (self)
 
def dragEnterEvent (self, e)
 
def draw_position (self, e)
 
def dropEvent (self, e)
 
def goal_mode (self)
 
def map_cb (self, msg)
 
def mousePressEvent (self, e)
 
def mouseReleaseEvent (self, e)
 
def point_map_to_qt (self, point)
 
def point_qt_to_map (self, point)
 
def pose_mode (self)
 
def wheelEvent (self, event)
 

Public Attributes

 drag_start
 
 frame_id
 
 last_path
 
 map_height
 
 map_origin
 
 map_resolution
 
 map_sub
 
 map_width
 

Static Public Attributes

 map_changed = Signal()
 
 path_changed = Signal(str)
 
 polygon_changed = Signal(str)
 

Private Member Functions

def _mirror (self, item)
 
def _update (self)
 
def _update_path (self, name)
 
def _update_polygon (self, name)
 

Private Attributes

 _colors
 
 _goal_mode
 
 _goal_pub
 
 _map
 
 _map_hash
 
 _map_item
 
 _parent
 
 _paths
 
 _polygons
 
 _pose_mode
 
 _pose_pub
 
 _scene
 
 _tf
 

Detailed Description

Definition at line 227 of file nav_view.py.

Constructor & Destructor Documentation

◆ __init__()

def rqt_nav_view.nav_view.NavView.__init__ (   self,
  map_topic = '/map',
  paths = None,
  polygons = None,
  tf_listener = None,
  parent = None 
)

Definition at line 232 of file nav_view.py.

Member Function Documentation

◆ _mirror()

def rqt_nav_view.nav_view.NavView._mirror (   self,
  item 
)
private
Mirror any QItem to have correct orientation
:param item:
:return:

Definition at line 572 of file nav_view.py.

◆ _update()

def rqt_nav_view.nav_view.NavView._update (   self)
private

Definition at line 534 of file nav_view.py.

◆ _update_path()

def rqt_nav_view.nav_view.NavView._update_path (   self,
  name 
)
private

Definition at line 550 of file nav_view.py.

◆ _update_polygon()

def rqt_nav_view.nav_view.NavView._update_polygon (   self,
  name 
)
private

Definition at line 561 of file nav_view.py.

◆ add_dragdrop()

def rqt_nav_view.nav_view.NavView.add_dragdrop (   self,
  item 
)

Definition at line 292 of file nav_view.py.

◆ add_path()

def rqt_nav_view.nav_view.NavView.add_path (   self,
  name 
)

Definition at line 352 of file nav_view.py.

◆ add_polygon()

def rqt_nav_view.nav_view.NavView.add_polygon (   self,
  name 
)

Definition at line 391 of file nav_view.py.

◆ close()

def rqt_nav_view.nav_view.NavView.close (   self)

Definition at line 521 of file nav_view.py.

◆ dragEnterEvent()

def rqt_nav_view.nav_view.NavView.dragEnterEvent (   self,
  e 
)

Definition at line 304 of file nav_view.py.

◆ draw_position()

def rqt_nav_view.nav_view.NavView.draw_position (   self,
  e 
)

Definition at line 453 of file nav_view.py.

◆ dropEvent()

def rqt_nav_view.nav_view.NavView.dropEvent (   self,
  e 
)

Definition at line 308 of file nav_view.py.

◆ goal_mode()

def rqt_nav_view.nav_view.NavView.goal_mode (   self)

Definition at line 444 of file nav_view.py.

◆ map_cb()

def rqt_nav_view.nav_view.NavView.map_cb (   self,
  msg 
)

Definition at line 323 of file nav_view.py.

◆ mousePressEvent()

def rqt_nav_view.nav_view.NavView.mousePressEvent (   self,
  e 
)

Definition at line 482 of file nav_view.py.

◆ mouseReleaseEvent()

def rqt_nav_view.nav_view.NavView.mouseReleaseEvent (   self,
  e 
)

Definition at line 489 of file nav_view.py.

◆ point_map_to_qt()

def rqt_nav_view.nav_view.NavView.point_map_to_qt (   self,
  point 
)
Convert point from map to qt coordinates

:param point: tuple or list
:return: map point

Definition at line 595 of file nav_view.py.

◆ point_qt_to_map()

def rqt_nav_view.nav_view.NavView.point_qt_to_map (   self,
  point 
)
Convert point from Qt to map coordinates

:param point: tuple or list
:return: map point

Definition at line 580 of file nav_view.py.

◆ pose_mode()

def rqt_nav_view.nav_view.NavView.pose_mode (   self)

Definition at line 435 of file nav_view.py.

◆ wheelEvent()

def rqt_nav_view.nav_view.NavView.wheelEvent (   self,
  event 
)

Definition at line 312 of file nav_view.py.

Member Data Documentation

◆ _colors

rqt_nav_view.nav_view.NavView._colors
private

Definition at line 269 of file nav_view.py.

◆ _goal_mode

rqt_nav_view.nav_view.NavView._goal_mode
private

Definition at line 244 of file nav_view.py.

◆ _goal_pub

rqt_nav_view.nav_view.NavView._goal_pub
private

Definition at line 285 of file nav_view.py.

◆ _map

rqt_nav_view.nav_view.NavView._map
private

Definition at line 254 of file nav_view.py.

◆ _map_hash

rqt_nav_view.nav_view.NavView._map_hash
private

Definition at line 255 of file nav_view.py.

◆ _map_item

rqt_nav_view.nav_view.NavView._map_item
private

Definition at line 256 of file nav_view.py.

◆ _parent

rqt_nav_view.nav_view.NavView._parent
private

Definition at line 241 of file nav_view.py.

◆ _paths

rqt_nav_view.nav_view.NavView._paths
private

Definition at line 264 of file nav_view.py.

◆ _polygons

rqt_nav_view.nav_view.NavView._polygons
private

Definition at line 265 of file nav_view.py.

◆ _pose_mode

rqt_nav_view.nav_view.NavView._pose_mode
private

Definition at line 243 of file nav_view.py.

◆ _pose_pub

rqt_nav_view.nav_view.NavView._pose_pub
private

Definition at line 284 of file nav_view.py.

◆ _scene

rqt_nav_view.nav_view.NavView._scene
private

Definition at line 272 of file nav_view.py.

◆ _tf

rqt_nav_view.nav_view.NavView._tf
private

Definition at line 274 of file nav_view.py.

◆ drag_start

rqt_nav_view.nav_view.NavView.drag_start

Definition at line 246 of file nav_view.py.

◆ frame_id

rqt_nav_view.nav_view.NavView.frame_id

Definition at line 262 of file nav_view.py.

◆ last_path

rqt_nav_view.nav_view.NavView.last_path

Definition at line 245 of file nav_view.py.

◆ map_changed

rqt_nav_view.nav_view.NavView.map_changed = Signal()
static

Definition at line 228 of file nav_view.py.

◆ map_height

rqt_nav_view.nav_view.NavView.map_height

Definition at line 259 of file nav_view.py.

◆ map_origin

rqt_nav_view.nav_view.NavView.map_origin

Definition at line 261 of file nav_view.py.

◆ map_resolution

rqt_nav_view.nav_view.NavView.map_resolution

Definition at line 260 of file nav_view.py.

◆ map_sub

rqt_nav_view.nav_view.NavView.map_sub

Definition at line 275 of file nav_view.py.

◆ map_width

rqt_nav_view.nav_view.NavView.map_width

Definition at line 258 of file nav_view.py.

◆ path_changed

rqt_nav_view.nav_view.NavView.path_changed = Signal(str)
static

Definition at line 229 of file nav_view.py.

◆ polygon_changed

rqt_nav_view.nav_view.NavView.polygon_changed = Signal(str)
static

Definition at line 230 of file nav_view.py.


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


rqt_nav_view
Author(s): Ze'ev Klapow
autogenerated on Thu Mar 2 2023 03:47:34