Mesh resource markers supported in wviz?

28 views
Skip to first unread message

Moritz Tenorth

unread,
Apr 22, 2013, 12:42:11 PM4/22/13
to bosch_web_visu...@googlegroups.com
Hi,

is it possible to display mesh resource markers (using the package:// syntax) in wviz, and do the files need to be of a special format? Some first tests succeeded in rviz, but did not show up in wviz.

If not, are triangle list markers supported?

Thanks!
Moritz

Russell Toris

unread,
Apr 22, 2013, 1:15:53 PM4/22/13
to bosch_web_visu...@googlegroups.com, Brandon Alexander
Hi Mortiz-

Inside wviz, the "package://" syntax does not work as you might think. Since web interfaces typically do not have access to your entire file system, they cannot load meshes from arbitrary packages. Thus, wviz will replace "package://" with "resources/". That is, it will look for meshes within the "resources" directory in your base web directory. Note that only Collada models will load. I am not sure if triangle lists are supported (my guess is yes, but I am not sure).

Also note that wviz in its current form is currently deprecated. New efforts are being made with Robot Web Tools (http://robotwebtools.org). In particular, you will want to look at ros3djs (https://github.com/RobotWebTools/ros3djs). An example of markers can be found in https://github.com/RobotWebTools/ros3djs/blob/stable/examples/markers.html.

Docs for the library can be found at http://robotwebtools.org/jsdoc/ros3djs/current/

Questions and comments on that project can also be sent to robot-w...@googlegroups.com if you are interested.

Best,

Russell





Moritz

--
You received this message because you are subscribed to the Google Groups "bosch_web_visualization-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bosch_web_visualizat...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Russell Toris
Graduate Student | WPI Department of Computer Science
rct...@wpi.edu | http://users.wpi.edu/~rctoris/

Moritz Tenorth

unread,
Apr 23, 2013, 2:38:23 AM4/23/13
to bosch_web_visu...@googlegroups.com
Russell,

thanks for the quick response! I'll have a look at ros3djs then.

best,
Moritz
-- 
Dr. Moritz Tenorth     | ten...@cs.uni-bremen.de
Universität Bremen     | Am Fallturm 1
28359 Bremen           | Germany
Tel: +49 421 218-64016 | ai.uni-bremen.de/team/moritz_tenorth
Reply all
Reply to author
Forward
0 new messages