Gazebo | Ignition | Community
Ask Your Question

vcparedesc's profile - activity

2014-08-12 08:42:20 -0600 received badge  Famous Question (source)
2013-05-05 08:03:15 -0600 received badge  Famous Question (source)
2013-05-03 23:01:05 -0600 received badge  Notable Question (source)
2013-03-13 17:48:20 -0600 asked a question Gazebo 1.5 : gazebo.hh not found

Hi,

I have been working with Gazebo 1.4 perfectly, however when I update it to Gazebo 1.5 and tried to recompile my plugins i get the following error.

fatal error: gazebo/gazebo.hh: No such file or directory

I'm not sure what's wrong...

Thank you.

2013-03-02 09:33:11 -0600 received badge  Popular Question (source)
2013-02-22 03:08:48 -0600 received badge  Notable Question (source)
2013-02-21 02:19:58 -0600 received badge  Popular Question (source)
2013-02-20 17:06:39 -0600 received badge  Scholar (source)
2013-02-20 16:39:42 -0600 asked a question Initial Condition for Joints

Hi, I would like to know is there is a way to start a simulation with initial angles in a model.

I have tried in a plugin:

Link_A->SetAngle(0,InitialAngle);

But, when the simulation starts, the model move it's joint dynamically to the InitialAngle. I need a model with an initial condition in the joint's angles.

Thank you!

2013-02-19 16:53:40 -0600 answered a question Gazebo Physics Solver Type: quick vs. world

Hi RoboUser,

When you use "world" you are using a method that takes more time in computation and memory. Conversely, using "quick" is faster and uses less memory.

However, "world" is more accurate than "quick". If you are simulating a big system using "world" it could take much more time and use a lot of resources of your computer. (maybe this was the cause of the crash simulating the DRC)

Btw, You can have more information about the ODE solver in the ODE page.

2013-02-19 14:53:01 -0600 received badge  Supporter (source)
2013-02-16 03:42:47 -0600 received badge  Teacher (source)
2013-02-16 03:42:47 -0600 received badge  Self-Learner (source)
2013-02-15 16:21:19 -0600 answered a question Subscribe from C++ external file

My mistake!!, sorry, I realized that "~/robot/JointState" calls

`gazebo/<node_parent_name>/robot/JointState`

However, I was in another node, so "~/robot/JointState" was pointing to:

`gazebo/<another_node_name>/robot/JointState`

Just in case, if some beginner as me gets confused by a simple error.

2013-02-15 13:40:36 -0600 asked a question Subscribe from C++ external file

Hi!,

I am a new user of Gazebo and maybe this is a trivial question but I was trying to subscribe a topic from a c++ file, so I basically followed the custom messages tutorial. If I have a plugin and want to subscribe a topic the line that I need is:

subJointStates = nodeController->Subscribe("~/robot/JointState",&UpdateJointState,this);

When I tried to subscribe from the c++ file, I can't use "this", since I don't have a class, I have tried replacing "this" with a boolean value, because the declaration of Subscribe wants a boolean.

I tried both of them

subJointStates = nodeController->Subscribe("~/robot/JointState",&UpdateJointState,true);
subJointStates = nodeController->Subscribe("~/robot/JointState",&UpdateJointState,false);

But, looks like it's not working, should I try a different way to subscribe from a C++ External File?

Thank you,

Victor