rqt plugin to fetch params and populate qtreewidget
I've been trying to fetch params from the crazyflie and then populate a qtreewidget that was created using qt4 designer for the past few weeks, hope that I can get some help from you guys here.
Currently, I am able to fetch the params into a python dict using rospy.get_param("/crazyflie"). However, I do not know how to populate the qtreewidget I created using qt designer with the params in the python dict. I am trying to set the key as the parent and the values as the child but I have no idea how to do this. Does anyone know how to do it?
Asked by crazyfly on 2017-03-21 01:40:08 UTC
Comments
You can look at the code of some of the existing plugins to get an idea how they do very similar stuff: https://github.com/ros-visualization/rqt_common_plugins
Asked by Dirk Thomas on 2017-03-21 10:25:31 UTC