Gazebo | Ignition | Community
Ask Your Question

peci1's profile - activity

2023-05-20 05:28:53 -0500 marked best answer Robot falling apart on unsmooth terrain

I have a multi-link robot SDF in Gazebo 2.1. It is a simple "static" model with just inertia and collision elements defined, no transmission elements or motors specified.

When I let the robot fall down on a plane, everything is ok.

However, I need to use a terrain model obtained from point cloud triangulation. Such terrain contains lots of small triangles with varying normals and errors (because of precision of the measurements and triangulation). When I let the robot fall on this terrain, it instantly begins to fall apart (even if the terrain is quite planar/the normals do not differ much).

My workaround so far is to preprocess the SDF to remove all joints (in different words - the links remain, just the joints are static), so that for every joint config I have a different SDF model. Highly ineffective, I know. Luckily, by this modification, the model stops falling apart and behaves in an expected way.

Do you have an idea on how to have a model with non-static joints that doesn't fall apart?

2023-05-20 05:28:42 -0500 answered a question Robot falling apart on unsmooth terrain

Usually, this happens if the Gazebo model has fixed joints and there are some parts with highly different inertia scales

2023-05-20 05:24:27 -0500 marked best answer List of per-physics engine capabilities/compatibility/known incompatibilities

Is there a place where one could quickly decide which physics engine to use knowing his requirements (e.g. dynamic changes to models during runtime, joint friction, whatever).

It happens that some functionality is only implemented for ODE, but not the other engines. It would be nice to see all these "TODOs" in one place.

2023-05-20 05:24:18 -0500 answered a question List of per-physics engine capabilities/compatibility/known incompatibilities

For (Ignition) Gazebo, the list is here: https://gazebosim.org/docs/garden/comparison .

2023-05-20 05:22:57 -0500 marked best answer What is the difference between red and green contact force visualization in Gazebo client?

When 2 bodies are colliding and I set Gazebo (2.2) to show contacts, there is a blue ball and a line for each contact point. The lines are either red or green.

What do the colors mean?

My estimate is that green is for normal collisions, whereas red is for penetration (which should not occur with rigid bodies).

I assume these two cases can be distinguished using the contact depth information provided in the contact message, and that there is a threshold to tell if the line should be green or red. Where is the definition of the threshold? Or am I completely wrong?

2023-05-20 05:22:32 -0500 received badge  Famous Question (source)
2023-05-20 05:22:18 -0500 received badge  Famous Question (source)
2023-05-20 05:22:18 -0500 received badge  Notable Question (source)
2023-05-20 05:22:18 -0500 received badge  Popular Question (source)
2022-07-05 16:58:43 -0500 commented answer Can you render a camera in headless mode?

Xvfb is much easier to use. xvfb-run -a gazebo and that's it. It also doesn't need root privileges and doesn't need a re

2022-07-05 16:57:59 -0500 received badge  Commentator
2022-07-05 16:57:59 -0500 commented answer Can you render a camera in headless mode?

Xvfb is much easier to use. xvfb-run -a gazebo and that's it.

2022-07-05 16:55:04 -0500 edited answer Gazebo stops subscribing to a topic when I run gzclient

You need to make sure the containers can see each other (be in the same IP subnet) and that the hostnames they report ca

2022-07-05 16:54:33 -0500 answered a question Gazebo stops subscribing to a topic when I run gzclient

You need to make sure the containers can see each other (be in the same IP subnet) and that the hostnames they report ca

2022-07-05 16:48:36 -0500 commented question Restart simulation with new arguments without restarting gazebo

Do you intend to keep the loaded .world file the same and only change the robots spawned in the sim? AFAIK changing the

2022-07-05 16:45:49 -0500 answered a question Update friction during runtime

Hi, there's not exactly a command, but the API is there. You can find it in the TrackController system. Some more relate

2021-06-10 08:05:14 -0500 received badge  Notable Question (source)
2021-06-10 07:58:12 -0500 received badge  Popular Question (source)
2021-03-24 14:58:31 -0500 asked a question Synchronous publishing in Ignition Gazebo in PreUpdate?

Synchronous publishing in Ignition Gazebo in PreUpdate? I'm writing an Ignition Gazebo model plugin and I'd like to comm

2021-03-04 09:27:27 -0500 answered a question protobuf error for custom messages transport tutorial

I also faced this issue recently. In my case, I was trying to load an SDF generated for Ignition Gazebo in Gazebo Classi

2020-08-07 08:35:32 -0500 commented question Problems while parsing <gazebo> URDF elements with Gazebo7 and ROS Jade

It works if the collision has no explicit name in URDF or if the name of the collision is $LINKNAME_collision. Any other

2020-07-17 01:16:27 -0500 received badge  Guru (source)
2020-07-17 01:16:27 -0500 received badge  Great Answer (source)
2019-11-06 11:22:01 -0500 received badge  Favorite Question (source)
2019-10-14 04:17:16 -0500 commented answer Why GpuRaySensor do not support intensity readings ?

If anybody has a copy of that answer, please post it here. @jose-luis-rivero ?

2018-06-07 22:08:19 -0500 received badge  Good Question (source)
2018-04-05 09:57:19 -0500 received badge  Nice Question (source)
2018-02-09 14:30:42 -0500 received badge  Enlightened (source)
2018-02-09 14:30:42 -0500 received badge  Good Answer (source)
2018-02-09 14:06:15 -0500 received badge  Nice Question (source)
2018-02-09 02:41:26 -0500 received badge  Nice Answer (source)
2017-10-12 17:17:02 -0500 answered a question Windows 7 64bit install problem

The wiki with instructions is a bit outdated. It says it is for building gazebo 6. I now successfully build gazebo8 br

2017-10-12 17:13:57 -0500 received badge  Critic (source)
2017-10-12 17:08:57 -0500 answered a question Installing Gazebo on Windows. Missing Protobuf

It's an inconsistency in the Protobuf archive provided by OSRF. This path from instructions protobuf-2.6.0-win64-vc12

2017-10-12 17:01:51 -0500 answered a question How to install gazebo on windows 10

See http://answers.gazebosim.org/question/16234/how-to-install-ignition-math3-on-windows-10/ . You're building default b

2017-10-05 13:54:21 -0500 received badge  Nice Question (source)
2017-10-04 11:41:53 -0500 asked a question List of per-physics engine capabilities/compatibility/known incompatibilities

List of per-physics engine capabilities/compatibility/known incompatibilities Is there a place where one could quickly d

2017-04-18 16:25:23 -0500 received badge  Nice Answer (source)
2017-03-16 15:40:49 -0500 received badge  Necromancer (source)
2017-03-16 13:40:56 -0500 answered a question Parameters for a skid steering/simulated tracked robot (use of the fdir1 tag)

I know I'm resurrecting an old thread, but maybe others might still be interested.

Setting fdir1would be a solution if it worked correctly. For some reason, the direction is not treated as relative to the link, but in world coordinates, so you'd need to update it in every frame to the correct world direction. See https://bitbucket.org/osrf/gazebo/iss... .

Also, an omni-wheel needs the most precise friction computations that are available to work properly. Recently, the friction_cone model was added, which helped a lot in my case:

physics::PhysicsEnginePtr physics = world->GetPhysicsEngine();
const std::string frictionModel = "cone_model";
physics->SetParam("friction_model", frictionModel);

Last, a bit unrelated, but nevertheless, now there's (my) PR to add proper support of tracked vehicles. Everybody's welcome to try it out. https://bitbucket.org/osrf/gazebo/pul...

2017-02-23 07:31:46 -0500 received badge  Enthusiast
2017-01-27 06:56:58 -0500 answered a question Using TensorFlow with Gazebo

I agree the "ROS way" would be the easiest one.

I tried using the C++ API of tensorflow in Gazebo, and there you are stopped by the fact that Tensorflow requires libprotobuf >= 3, but Gazebo requires libprotobuf < 3. This is generally a big problem if you want to link your app. I'm right now trying some tricks with PIMPL and static linking, so let's see if it's at least possible with a lot of effort.

2016-11-04 05:36:40 -0500 received badge  Famous Question (source)
2016-10-18 02:44:30 -0500 marked best answer Using_A_URDF_In_Gazebo: package:// URIs not described

When I read through the tutorials Using A URDF In Gazebo and Using roslaunch files to Spawn Models I have the impression that it is possible to run Gazebo with ROS without using Gazebo's model database.

To explain, I need to work with some models from ROS using Gazebo. In my view, adding the models to a local database doesn't make sense, because the users of my code just want to git clone and catkin_make and that's all.

So I searched for a way to specify paths to mesh files from my URDF relatively to the package they are contained in. Using the file:// protocol doesn't seem to be a good option, since its resolution is dependent on the working directory.

Somewhere I've found that a package:// protocol can be used, and it actually works in my models. However, there doesn't seem to be any documentation for that. Do you know of docs page that would explain the details and prerequisites for using that?

I've thought about another way to use my models without the need to install them locally. I could just add the package path to GAZEBO_RESOURCE_PATH. But where to do this? Should I use <env> tag in the launch file? Do you have any experience with that?

2016-06-14 10:26:42 -0500 received badge  Notable Question (source)
2016-06-10 10:31:27 -0500 received badge  Popular Question (source)