Help setting up mesh server

54 views
Skip to first unread message

Victor L

unread,
Feb 18, 2017, 10:18:31 AM2/18/17
to Robot Web Tools
Hi,

I began reading the RWT tutorials and trying them yesterday, this set of tools looks very promising for our industrial applications!
The web technologies clearly are out of my league so apologies if the questions are dumb.

Goal:
Display the robot moving in a web browser, real time.
(we can allow delay up to ~1 sec so I'm talking about really soft real time here).

Set-up:
A Raspberry Pi or equivalent embedded device is running ROS and is connected to the robot I want to monitor.
It's running an nginx server.
I want to be able to access the robot visualization web page both from within the network and from the exterior.
I'm using a dynamic DNS and it's working fine.

Test ran so far:
I have created this example package:

The package is compiled on a Raspberry Pi and I ran my application via SSH + tmux.

It is a symlink to the rwt_urdf_display_test/html/index.html page

The meshes are hosted here (symlink too):

Problem encountered:
- Meshes are not displayed if browsing the webpage from an external network (nothing appear in the viewer)
The meshes are correctly displayed from within the network, this is what you should see:




What is wrong in my set-up?
If I forgot any relevant information, please ask.

I also have problems with the Collada shading, colors etc.. but I'll tackle these problems later :)

Thank you for your time,
Bye

David Lu

unread,
Feb 22, 2017, 10:00:47 AM2/22/17
to Robot Web Tools
Does anything pop up in the Javascript console? 

FWIW, I poked through things and everything seeeeeeeeeems to be set up correctly.

Victor L

unread,
Feb 27, 2017, 4:15:29 AM2/27/17
to Robot Web Tools
Not I don't see any errors;

Without ROS bridge being run:


With ROS bridge running:


This is when accessing the server from the outside

Reply all
Reply to author
Forward
0 new messages