Skip to content

Releases: jstnhuang/ros-rviz

v3.1.1: Merge pull request #27 from osrf/web-animations

28 Nov 03:55
73c5792
Compare
Choose a tag to compare

v3.1.0

28 Nov 03:48
ce3935e
Compare
Choose a tag to compare

This release adds two new display types: TF and image. Thanks to @jubeira and @chapulina for their contributions!

v3.0.1

20 Sep 00:16
Compare
Choose a tag to compare
v3.0.1 Pre-release
Pre-release

Version 3.0.1 of <ros-rviz> includes two breaking changes:

  • The tfPrefix option of the URDF display has been removed. This was used to visualize multiple robots at once, but now we advise using a package like robot_markers instead.
  • The depth cloud display now takes in a topic representing an encoded depth cloud image from depthcloud_encoder. Previously, it took in the names of a color and a depth image topic and called a backend to automatically launch a depthcloud_encoder instance.

<ros-rviz> continues to be pre-release and not recommended for production use.

v2.0.1

05 Sep 02:20
Compare
Choose a tag to compare
v2.0.1 Pre-release
Pre-release

Version 2 of <ros-rviz> moves all configuration options into a single config property on ros-rviz:

var config = {
  globalOptions: { ... },
  displays = [ ... ],
  sidebarOpened: true
}
<ros-websocket auto url="{{ros}}" ros="{{ros}}"></ros-websocket>
<ros-rviz ros="[[ros]]" config="{{config}}" websocket-url="{{url}}"></ros-rviz>

Prior to this release, users changed the configuration by modifying the globalOptions, displays, and sidebarOpened properties individually.

To programmatically make changes, modify the config property using Polymer's object mutation methods. For example:

var rviz = document.getElementById("#rviz");
rviz.set('config.globalOptions.background', '#113344');

var grid = {
  isShown: true,
  name: 'Grid',
  options: {
    cellSize: 1,
    color: '#cccccc',
    numCells: 10
  },
  type: 'grid'
};
rviz.push('config.displays', grid);

The loadConfig method has been removed from <ros-rviz>. The config property can be modified directly as shown above, or reassigned to a new config object:

var config = { ... };
rviz.config = config;

A special configuration option is config.globalOptions.url. This is mirrored with the websocketUrl property, so that changes to one will update the other. This allows the websocketUrl property to be bound to the url property of <ros-websocket>, like so:

<ros-websocket auto url="{{ros}}" ros="{{ros}}"></ros-websocket>
<ros-rviz ros="[[ros]]" config="{{config}}" websocket-url="{{url}}"></ros-rviz>

This, in turn, allows the user to edit the websocket URL from the <ros-rviz> interface. Note that some displays will need to be deleted and re-added to work after a websocket URL change.

The fact that <ros-rviz> is on version 2 reflects the fact that there have been 2 breaking API changes and does not suggest that the software is production-ready. <ros-rviz> continues to be experimental and under development.

v1.1.0

25 Jul 23:32
Compare
Choose a tag to compare
v1.1.0 Pre-release
Pre-release

This release adds the occupancy grid display. It also uses the latest version of ros3djs. ros3djs has an issue where the URDF display doesn't use the mesh materials. There is already a fix in the works, but if this is an issue, avoid this release.

v1.0.6

21 Jul 00:28
Compare
Choose a tag to compare
v1.0.6 Pre-release
Pre-release
Fixed background not being set from config on load.

v1.0.0

28 May 19:54
Compare
Choose a tag to compare
v1.0.0 Pre-release
Pre-release

This release adds supports Polymer 1 and Polymer 2. Even though it is version 1, it is still prerelease.

v0.10.3

17 Apr 23:54
Compare
Choose a tag to compare
v0.10.3 Pre-release
Pre-release

A minor update that prevents "eventemitter2 not found" errors when building projects that use this element.

v0.10.0

17 Feb 22:27
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

This release adds the ability to change the background color of the viewer.

v0.9.3

10 Jan 03:52
Compare
Choose a tag to compare
v0.9.3 Pre-release
Pre-release

Removes debugging statements.