Git Product home page Git Product logo

py_trees_ros_viewer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

py_trees_ros_viewer's Issues

A drop-down for discovered channels

Selection on the drop-down should do nothing yet.

Victory Conditions

  • Drop-down widget exists
  • Backend emits a signal for changes in discovered topics
  • Drop-down is connected to the signal and kept up to date with the latest discoveries

Subscription management

Victory Conditions

  • Stubs from #4 are fleshed out to cancel/create subscriptions
  • Subscription callbacks are stubbed to merely print activity to the console when msgs are receieved

Video screenshot

Victory Conditions

  • Running on tutorial-eight
  • Added to the README.

viewer show nothing

Hi, I'm Gilbert.

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

My environment is here:

  • Linux Mint 19.3
  • ROS2 Dashing
  • py-trees-ros-viewer : release/0.1.x

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

Anonymous ROS node

Victory Conditions

  • Viewer starts with an anonymous name (avoids conflicts)

Backend Tests

Victory Condition

  • Simple tree publisher
  • Discovery tests
  • Conversion tests

Discovered channel interactivity

Victory Conditions

  • Last used selections are saved on app exit and loaded on app start
  • When a drop-down item is manually changed, any existing subscriptions are cancelled and a new subscription is fired up
  • When the drop-down is populated the first time, a new subscription is fired up for the last used (fallback: first) item in the list
  • When an active selection disappears, it is kept alive and remains selected and visible in the drop-down. Other discovered channels are listed after the active one.

For now, cancelling and creating subscriptions are merely a stub (print to the console).

Catch the latched state on startup

Currently looks like the latched snapshot is discarded while the page is loading. If it's streaming regularly, you don't miss it, but if the tree is not updating frequently (e.g. an application manager in idle mode), then you'll see nary but a black screen for a good while.

Victory Conditions

  • As soon as a connection is made and page loaded, the first snapshot is shown

Command line argument overrides discovery

Victory Conditions

  • Command line argument configures the desired connection
  • Automagic discovery disabled
  • Drop-down only ever provided a single option

Subscription management should be able to remain the same.

Discover py_tree publishers

Victory Conditions

  • Discovery triggered on startup and periodically thereafter
  • Results of discovery are stored (keep in mind it can be a list)

Msg to json conversion

Victory Conditions

  • Convert the incoming messages (msg->json)
  • Send them to the web app
  • Be grooty

Scale content to fit

Victory Conditions

  • A sane method for permitting scale_content_to_fit to always be true
  • Ability to toggle this state (e.g. when zooming) and retain that state

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.