Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News Alternatives to RViz for Visualising Robotics Data Presented: Summary from ROSCon 2019

Alternatives to RViz for Visualising Robotics Data Presented: Summary from ROSCon 2019


During ROSCon 2019 two interesting tools for visualising and interacting with the Robot Operating System (ROS) were demonstrated: Webviz, and Jupyter Notebooks.

The first tool demonstrated is Webviz. It is an online web-based replacement for RViz. Rviz is a well-used 3D visualization tool for ROS, which can visualize 3D data such as point clouds or poses of a robot sent as a ROS message. Webviz allows other devices to visualise data in a similar manner to RViz, but with greater portability. For example, getting a MacBook to run RViz is a tedious job, which makes it difficult for teams to demonstrate progress to stakeholders who don't have the ROS tools installed. 

Webviz gives you the ability to quickly share what your robot or self-driving car sees in an easy way. Webviz can currently visualise images, point clouds, make plots, and print debug messages. Not only can it show this data live, but it's also possible to drag recorded data in a Rosbag into it. 

Another interesting approach which gives you more options for interaction is using Jupyter notebooks. Wolf Vollprecht and Chaitanya Deep presented how you can use this interactive browser-based computing environments to visualise and interact with your robot. Generally, programmers use Jupyter Notebooks for exploratory programming, especially in data science and machine learning.

To achieve this, Wolf created ROS support for Jupyter notebooks. He used iPyWidgets, which are Javascript elements which provide a two-way connection between the python kernel and the HTML+Javascript frontend. There are multiple iPyWidgets in the ecosystem. One of them is Bloomberg's plotting library blplot and a library to visualise 3D volumes and 3D scatter plots, iPyVolume.

One challenge Wolf faced was that ROS Python subscribers are multi-threaded. There is no way to stop a thread from a user interface without restarting a kernel. This makes the interactive widgets very useful to pass commands to your robot.

Finally, Wolf showed that you can use Voila on a notebook to turn it into a standalone application. This means you can send co-workers a standalone application to interact with your robot.


We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.