Gazebo | Ignition | Community
Ask Your Question

Lifthrasir's profile - activity

2017-01-19 17:53:12 -0600 received badge  Famous Question (source)
2016-07-06 10:03:45 -0600 received badge  Notable Question (source)
2016-07-01 06:56:41 -0600 received badge  Famous Question (source)
2016-05-27 03:11:54 -0600 received badge  Notable Question (source)
2016-05-27 03:11:54 -0600 received badge  Popular Question (source)
2016-05-21 12:32:37 -0600 asked a question Extracting model velocity using GazeboJS

Is it possible to extract velocity of a model or joints using GazeboJS (without ROS)?

I've been getting my model positions and orientations by subscribing to the pose/info topic, but there doesn't seem to be a topic for model velocities. Searching online, most answers seem to point to gazebo_ros_pkgs, but I would like to know if it is possible to do it without installing ROS.

2016-03-12 20:37:18 -0600 received badge  Popular Question (source)
2016-03-07 18:07:34 -0600 asked a question GazeboJS - Resetting world state

I have a problem using GazeboJS to reset the world state.

The simple script I am using to test this command is

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

However, this throws an error when running the script in terminal

 >node test.js

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
pure virtual method called
terminate called recursively
Aborted (core dumped)

However by initialising a node and typing each command in the above script into the terminal, it works perfectly. Any ideas or explanations to what I am donig wrongly?