splintered-reality / rqt_py_trees

Visualisation of behaviour trees with an rqt plugin in ROS
Other
9 stars 7 forks source link

Rqt Py Trees Laggy #2

Closed stonier closed 8 years ago

stonier commented 8 years ago

Whenever it gets a new message, the gui 'hang's for a second or two...sometimes more if there is a flurry of new messages.

stonier commented 8 years ago

Started an issue at pydotplus.

stonier commented 8 years ago

Put Scene Generation into a Background Thread

Optimise the Dot to Qt Code

It really really ought not to be that long. Must be some bad looping occuring.

stonier commented 8 years ago

Optimising...right now there are a couple of options:

stonier commented 8 years ago

Preferring to go with pygraphviz. It has better documentation (also alot of other code for python graphs by networkx) so it's likely to be maintained for longer. Pydot hasn't had anything for ages and its not likely that bug will get fixed. It's also better than xdot, that would require an extensive rework and isn't as extensive an implementation as pygraphviz.

stonier commented 8 years ago

First steps in lagginess resolved as described above. Note that its also moved in the entire qt_dotgraph package as a subpackage. That whole thing is relatively fubar, even though it has an abstraction for pydot and pygraphviz, it's unmaintained and doesn't work.

Python abstractions for multiple interfaces are nice, but so quickly get broken unless you have unit tests galore....I'm disliking python_qt_binding for the same reason these days too.