Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osrf/rvizweb
RVizWeb: RViz on the browser
https://github.com/osrf/rvizweb
Last synced: 2 months ago
JSON representation
RVizWeb: RViz on the browser
- Host: GitHub
- URL: https://github.com/osrf/rvizweb
- Owner: osrf
- Created: 2018-11-09T20:31:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T16:05:49.000Z (about 2 years ago)
- Last Synced: 2024-08-03T21:05:00.954Z (6 months ago)
- Language: HTML
- Size: 17.6 KB
- Stars: 283
- Watchers: 19
- Forks: 59
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-robotic-tooling - RVizWeb - Provides a convenient way of building and launching a web application with features similar to RViz. (Data Visualization and Mission Control / Command Line Interface)
- awesome-robotic-tooling - rvizweb - RVizWeb provides a convenient way of building and launching a web application with features similar to RViz (Interaction / Data Visualization and Mission Control)
README
# RVizWeb - RViz, but on your browser
RVizWeb provides a convenient way of building and launching a web application
with features similar to [RViz](https://github.com/ros-visualization/rviz).This project makes use of the following:
* @jstnhuang's [ros-rviz](https://github.com/jstnhuang/ros-rviz) web component
* @tork-a's [roswww](https://github.com/tork-a/roswww) web server
* @RobotWebTools's [rosbridge_server](https://github.com/RobotWebTools/rosbridge_suite)
and [tf2_web_republisher](https://github.com/RobotWebTools/tf2_web_republisher)## Quickstart
1. Create a directory for your catkin workspace:
mkdir -p ~/ws/src
cd ~/ws/src
git clone https://github.com/osrf/rvizweb/1. You will need the LTS version of Node.js. Add the PPA so that `rosdep` can fetch it:
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
1. Install ROS and system dependencies (assumes you already have ROS core):
cd ~/ws
rosdep install --from-paths src --ignore-src -r -y1. Build and install your workspace; this will run `bower` and `polymer-cli`
to generate and install the site:cd ~/ws
catkin_make install1. Launch RVizWeb:
. ~/ws/install/setup.bash
roslaunch rvizweb rvizweb.launch1. Open the site on the browser
http://localhost:8001/rvizweb/www/index.html
1. Let's try an example display to check everything is working. On the UI, click on the `+` and choose "Markers".
1. Now open a new terminal and publish the following marker:
rostopic pub /visualization_marker visualization_msgs/Marker '{header: {frame_id: "base_link"}, id: 1, type: 1, action: 0, pose: {position: {x: 0., y: 0.2, z: 0.}, orientation: {x: 0.3, y: 0.2, z: 0.52, w: 0.85}}, scale: {x: 0.2, y: 0.3, z: 0.1}, color: {r: 1., g: 0., b: 1., a: 0.3}, lifetime: 50000000000}'
1. You should see a pink box show up on the site.
## Viewing URDF
By default, RVizWeb will serve the `share` folder of all the ROS packages that
are currently installed in the system to the following address by default:http://localhost:8001/