splintered-reality / py_trees_ros_viewer

A Qt-Js hybrid application for visualisation of executing or log-replayed behaviour trees in a ROS2 ecosystem.
Other
25 stars 8 forks source link

viewer show nothing #33

Closed kijongGil closed 3 years ago

kijongGil commented 3 years ago

Hi, I'm Gilbert.

I'm developing behavior tree using py-trees-ros.

My environment is here:

I tried your quick start.

sudo apt install ros-dashing-py-trees-ros-tutorials
sudo apt install ros-dashing-py-trees-ros-viewer

py-trees-tree-viewer
ros2 run py_trees_ros_tutorials tutorial-eight-dynamic-application-loading

But, viewer show nothing. Selection_002 Then, When I run the viewer, segmentation fault errors frequently occur.

Could you help me?

Thanks, Gilbert

stonier commented 3 years ago

Ouch, dashing was really moving through gears. Everything stabilised in eloquent and foxy.

You might be running afoul of https://github.com/splintered-reality/py_trees_js/issues/141, which was fixed for eloquent (py_trees_js v0.6) ... However, in between all of those packages being very experimental (so much so I retracted official support for py_trees v1.3 and left the last stable 1.x release at 1.2) and leaving dashing behind a long time ago, it could be a number of other things.

Any chance you can move to eloquent or foxy or are you tied to a robot still running on dashing? I'll be able to support you easily on these, especially the latter since it's a LTS release.

kijongGil commented 3 years ago

Thanks to reply, stonier.

I understand what the problem is. It's such a shame I can't use the viewer on dashing, but py-trees-ros pkgs are very helpful to me.

When I will move to foxy later, I will try again.

Thanks!