Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:web_visualization:installation [2014/04/17 11:12] – [Visualizing object meshes] admindoc:web_visualization:installation [2014/11/28 16:56] (current) – removed admin
Line 1: Line 1:
-====== Installing the Web-based visualization tools ====== 
  
-The installation of a Web-based visualization is slightly more complex than for other packages since changes outside of the ROS environment are required. 
- 
- 
-===== Serving the HTML pages ===== 
- 
- 
-===== Visualizing object meshes ===== 
-Inside the ROS ecosystem, resources like binary files can be described using different kinds of URLs like file:%%//%%, http:%%//%% or package:%%//%%, which specifies the path relative to a ROS package. These URLs can be resolved using the [[http://wiki.ros.org/resource_retriever|resource_retriever]] tool. Since the webserver does not access to the whole file system, this mechanism does not work any more if requests are made from a website. The ros3djs library therefore rewrites package:%%//%% URLs to point to the docroot of the website. For example, meshes in the package pr2_description are now searched for at http://localhost/pr2_description. 
- 
-In order to visualize meshes contained in ROS packages, these meshes therefore have to be put into the docroot of the webserver, which is usually /var/www/<pkg_name>.