Gazebo | Ignition | Community
Ask Your Question

suzanak's profile - activity

2016-05-03 04:19:54 -0500 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 THREE.Vector3( 0, 0, 0 ));

...and executing the script afterwards.

2016-04-27 06:31:46 -0500 received badge  Supporter (source)
2016-03-03 05:32:58 -0500 received badge  Scholar (source)
2016-03-03 05:32:37 -0500 received badge  Famous Question (source)
2016-02-08 09:12:29 -0500 received badge  Notable Question (source)
2016-02-08 09:12:29 -0500 received badge  Popular Question (source)
2016-02-03 11:32:22 -0500 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 -0500 asked a question 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/ 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.