Gazebo | Ignition | Community
Ask Your Question

suzanak's profile - activity

2016-05-03 04:19:54 -0600 answered a question [Gzweb] To set initial pose of the camera

Yes, you can do so by adapting the arguments of these two function calls in gzweb/gz3d/src/gzscene.js to your needs:

this.defaultCameraPosition = new THREE.Vector3(0, -5, 5);

.. and

this.camera.lookAt(new THREE.Vector3( 0, 0, 0 ));

...and executing the updateGZ3D.sh script afterwards.

2016-04-27 06:31:46 -0600 received badge  Supporter (source)
2016-03-03 05:32:58 -0600 received badge  Scholar (source)
2016-03-03 05:32:37 -0600 received badge  Famous Question (source)
2016-02-08 09:12:29 -0600 received badge  Notable Question (source)
2016-02-08 09:12:29 -0600 received badge  Popular Question (source)
2016-02-03 11:32:22 -0600 answered a question GZWeb: Security Options?

You can start by adding logic to this function in gzbridge/ws_server.js to determine wether the origin is allowed or not:

function originIsAllowed(origin) {
return true; }

2016-02-01 11:07:02 -0600 asked a question updateGZ3D.sh fails silently if grunt CLI is not installed globally,

It should be added to the instructions for gzweb JavaScript development that the grunt CLI has to be installed globally, otherwise the gzweb/updateGZ3D.sh will fail silently. Just the npm install command alone is not enough.

This is how to install the grunt command line interface globally:

npm install -g grunt-cli

Afterwards, grunt will actually build the project.