#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from PyQt5.QtCore import QSize
import rospkg, sys
from kiberdrom_utils.visualization import VizWidget
from python_qt_binding.QtWidgets import QApplication

if __name__ == '__main__':
    path = rospkg.RosPack().get_path("kiberdrom_utils") + "/visualization/rviz/swarm.rviz"
    app = QApplication( sys.argv )
    

    myviz = VizWidget(path=path)
    myviz.resize(app.desktop().screenGeometry().size() - QSize(100, 100))
    myviz.show()

    app.exec_()
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from PyQt5.QtCore import QSize
import rospkg, sys
from kiberdrom_utils.visualization import VizWidget
from python_qt_binding.QtWidgets import QApplication

if __name__ == '__main__':
    path = rospkg.RosPack().get_path("kiberdrom_utils") + "/visualization/rviz/swarm.rviz"
    app = QApplication( sys.argv )
    

    myviz = VizWidget(path=path)
    myviz.resize(app.desktop().screenGeometry().size() - QSize(100, 100))
    myviz.show()

    app.exec_()
#!/usr/bin/env python3 # -*- coding: utf-8 -*-