dmcview package
Submodules
dmcview.compass module
- class dmcview.compass.Compass
Bases:
QWidget- create_static_pixmap() None
- draw_arrow(painter: QPainter, center: QPointF, radius: int) None
- draw_azimuth(painter: QPainter, center: QPointF, radius: int, compass_angle: float) None
- draw_cardinal_points(painter: QPainter, center: QPointF, radius: int) None
- draw_lines(painter: QPainter, center: QPointF, radius: int) None
- draw_red_line(painter: QPainter, center: QPointF, radius: int) None
- draw_rotating_magnetic_north(painter: QPainter, center: QPointF, radius: int, compass_angle: float, declination: float) None
- paintEvent(event: QEvent) None
- receive_acceleration(x: float, y: float, z: float) None
- resizeEvent(event: QResizeEvent) None
triggers when screen resize happens
- Parameters:
event (QResizeEvent) – The QT size event
- set_elevation(elevation: float) None
- set_rotation(rotation: float) None
- start_animation_timer() None
- staticMetaObject = PySide6.QtCore.QMetaObject("Compass" inherits "QWidget": )
- update_angle(target_angle: float) None
- update_declination(target_declination: float) None
Module contents
DMC View, a Python Package Desktop application to view the data from dmc device
Goal of this project is to allow device manufacturer to plug the device from a serial port and
view the Digital Magnetic Data. Each device manufacturer has its own unique serial port Id; so
there is no need to configure. It is just plug and play approach with different internal adapter