Gazebo | Ignition | Community
Ask Your Question
0

GZWeb: Split web server from simulation server?

asked 2016-05-09 02:16:51 -0600

srees gravatar image

I'd like to integrate a GZWeb server on an existing web server, but don't want the simulation load on that machine. I'm guessing it's possible to run the simulation on one server and the web portion on another, but am not sure which packages would go where. Looks like node.js on the webserver and gzbridge on the simulation server, does this sound right? Where would I configure the ports/connections for gazebo/node.js? Prerequisites for each package?

edit retag flag offensive close merge delete

Comments

Also, when trying to install nodejs (on Ubuntu Precise) I get an error that nodejs conflicts with npm? Weird. That's using the setup file provided at http://gazebosim.org/tutorials?tut=gzweb_install&cat=gzweb#Runninggzserver,gzwebserver,andWebGLclient

srees gravatar imagesrees ( 2016-05-09 02:33:55 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-09 12:43:29 -0600

hugomatic gravatar image

If you want to run gzweb on a different machine than gzserver, set the Gazebo master to the remote gzserver machine and port. For example, if your gzweb is running from ip 10.0.0.2 and you want gzserver to run from machine 10.0.0.1, use this command in the same terminal you invoke start_gzweb.sh:

export GAZEBO_MASTER_URI=http://10.0.0.1:11345

edit flag offensive delete link more

Comments

I really don't want to do a full gazebo install on our production web server as it hosts a bunch of other stuff. I may not understand how gzweb/nodejs are working, but I was hoping to point a nodejs installation on the webserver to the bridge on the simulation server. It doesn't appear to be elementary to split up the installation like this.

srees gravatar imagesrees ( 2016-05-12 19:37:34 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-05-09 02:16:51 -0600

Seen: 572 times

Last updated: May 09 '16