Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding collections renderer #281

Merged

Conversation

mauricefallon
Copy link
Contributor

@mauricefallon mauricefallon commented Jun 22, 2016

This adds a renderer which can draw a variety of point clouds, primitive shapes and transform triads using messages transmitted from an external application.

Its actually a very mature interface that was well tested in the old GTK lcm viewer. Its similar in many ways to Markers in ROS:
http://wiki.ros.org/rviz/DisplayTypes/Marker

Its supports:

  • individual or lists of triads, points, simple polygons, triangles etc.
  • addition to or replacement of an entire collection e.g. adding a new triad to an existing collection of triads
  • nesting of point clouds relative to transforms. This is useful for mapping applications as point clouds can be moved by changing the transform e.g. moving the frame of a LIDAR sensor to move the point cloud
  • remote reset of the collection list
  • vary the size and alpha of poses and objects
  • dynamically populate the list of objects in the scene graph

Here are two rough videos. I'll submit a tutorial in time:

Note: currently the collections lcmtypes are in a pod within pronto, but they could easily be ported to bot_core or an independent repo. collections is only built with the director application at present

@mauricefallon
Copy link
Contributor Author

The original GTK rendering code is here and be melded for easy comparison. Changes are very minimal:
https://github.com/openhumanoids/pronto/blob/master/visualization/src/collections_renderer/collections_renderer.cpp

@mauricefallon mauricefallon merged commit 5c52dda into RobotLocomotion:master Jun 23, 2016
@mauricefallon mauricefallon deleted the mf-collections-renderer branch June 23, 2016 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants