Gazebo | Ignition | Community
Ask Your Question

MhAyman's profile - activity

2017-09-26 01:02:38 -0500 answered a question Gazebojs subscribe to ImageTopic, subscribe rate.

I'm not sure what is happening with you, I used a camera of update rate = 30 and almost got images with rate of 15 image

2016-07-01 07:05:52 -0500 received badge  Editor (source)
2016-07-01 07:05:00 -0500 answered a question Toggle visibility of a link?

this answer might be a bit late, but in case anyone else had the same problem with the 'gazebojs' approach,

var gazebojs = require('./npm/node_modules/gazebojs')
  var gazebo = new gazebojs.Gazebo()
  msg = { "parent_name" : "sensor_head", "name" : "sensor_head_rotation_link", "visible":false };
  gazebo.publish('gazebo.msgs.Visual', '~/Visual', msg);

this script wont work unless it is run from the terminal, Or if you did insert a timeout for example to make it looks like this

var gazebojs = require("gazebojs");
var gazebo = new gazebojs.Gazebo();
setTimeout(()=> {
    gazebo.publish("gazebo.msgs.WorldControl", "~/world_control", { reset: { all: true } });
}, 1000);

This script would work just fine.

this is currently a problem with gazebojs, and it hasn't been solved yet.

2016-07-01 06:17:55 -0500 commented answer GazeboJS - Resetting world state

for me it doesn't give an error, but it doesn't either work, doesn't really reset the world.

2016-06-24 11:22:35 -0500 answered a question Can I access the list of topics via gazebojs in a way similar to using gz topic -l command?

A PR has been made, it'll be merged in the code base soon.