Releases: jstnhuang/ros-rviz
v3.1.1: Merge pull request #27 from osrf/web-animations
v3.1.0
v3.0.1
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
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
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.