As of May 31, 2023, we have updated our Code of Conduct.

Hot answers tagged

6 votes

System Requirements for Gazebo

I'm using Gazebo everyday on my i7 ultrabook; and at home, on i3-7100 desktop. They both have Nvidia GPUs. But fortunately, Gazebo doesn't depend on the GPU. It mostly works on the CPU side. Most ...
Orhan G. Hafif's user avatar
5 votes

How to align solidworks global origin with assembly origin while exporting in solidworks to urdf

I did a little step-by-step tutorial with images, but if my other answer regarding aligning frames didn't work well for you, or the definition of "Front Plane" or "Top Plane" is confusing in ...
Chuck's user avatar
  • 15.9k
4 votes
Accepted

Using Gazebo installed on same machine in MATLAB

The MATLAB tutorial doesnt cover this aspect well about when you have matlab and gazebo running on the same linux machine with no virtual box. Change your linux ethernet interface ip address ...
Themarkofaspur's user avatar
4 votes

Where does Gazebo set the GAZEBO_MODEL_PATH environment variable?

You asked two questions. Where does Gazebo set the default model path Where should I set the value The second question is perfectly right answered by @Armin Meisterhirn. Best practice is to set the ...
Markus's user avatar
  • 41
4 votes
Accepted

Suggestion for relevant non-complex simulator

just use matlab or and python with a set of fixed features in space represented as points. Don't do any vision processing. At this point any vision processing would be overkill. you are making this ...
holmeski's user avatar
  • 1,833
3 votes
Accepted

Gazebo joint->SetForce() call applies forces to the whole model. How to circumvent that?

As you mentioned in your update, One of the possibilities is to simply add mass to the chassis This works because, at some point, you need a reaction force. An applied force (or torque) at any ...
Chuck's user avatar
  • 15.9k
3 votes

Can we simulate a actuator with a very strong torque with a PID controller

What you're asking for cannot be accomplished with a PID controller. As I understand your question, you want to be able to choose PID gains that would always produce a "good" trajectory, ...
BarbalatsDilemma's user avatar
3 votes
Accepted

Multiple robots in ROS Gazebo SITL with separate MAVlink/MAVproxy codes

I feel like I'm having to do a lot of work to understand this question. You are trying to simulate two vehicles, and... what's the issue? You are trying to simulate them in Gazebo, right? Have you ...
Chuck's user avatar
  • 15.9k
3 votes
Accepted

Tf frame origin is offset from the actual base_link

It looks like most of your parts have no rotation, but some of them do, so I'm going to guess that you didn't mate your assembly to the origin planes in Solidworks. First, on your base plate, open ...
Chuck's user avatar
  • 15.9k
3 votes
Accepted

Gazebo not reading the material color in URDF

It's a limitation in Gazebo's ability to convert URDF to SDF, Gazebo's native object description format. Frustratingly, RViz works the other way around: it correctly parses URDF colors, but not the ...
xperroni's user avatar
  • 1,296
3 votes

ROS: How to slow down in order to wait for my results

Since you're using gazebo already and it should then be generating simulated time you can ask gazebo to run slower than realtime. In the physics section of your world you can ajdust the maximum ...
Tully's user avatar
  • 1,792
3 votes

Simulate Wind in Gazebo - physics_msgs

You don't have to compile these files with your plugin. You should include the already existing wind plugin in to your world file. Check this example file and how ...
ahcorde's user avatar
  • 64
3 votes

How to install Gazebo to use along with ROS2 Humble Hawksbill on Ubuntu 22.04?

Gazebo is part of desktop-full not the desktop variant. You can use ros-humble-simulation as ...
Tully's user avatar
  • 1,792
3 votes
Accepted

Gazebo throws "Segmentation fault" after installation from binaries

The problem was with my terminal emulator (Alacritty) installed with snap. Using default terminal (or re-installation of Alacrity from source) fixed the problem.
Divelix's user avatar
  • 141
2 votes
Accepted

How to test GAZEBO works properly. Save windows don't show any component

"Save World as" is broken on Gazebo 5.1.0 . You can either install the experimental version of Gazebo 6 using the gazebo6-prerelease package (assuming you are on ...
traversaro's user avatar
2 votes
Accepted

Using an RGB + Depth Camera to locate X,Y,Z coordinates of a ball

The critical part is the registration between depth data and RGB data. If the registration is calibrated properly then you can just extract the depth for the particular target pixel (X,Y), using ...
Brian Lynch's user avatar
  • 1,377
2 votes
Accepted

Roslaunch Gazebo Turtlebot Simulation Not Working

I've figured out what the problem was. Ubuntu was running a non-default version of python that I had installed for a University python project a couple of years go. I deleted it and now the default ...
The Impossible Squish's user avatar
2 votes
Accepted

gzclient: segmentation fault

It seems that Gazebo 8 is based on Qt5 instead of Qt4. The dependencies should be updated and most importantly, we need to install qwt-qt5 instead of qwt, otherwise our executable is linked to both ...
I.Omar's user avatar
  • 143
2 votes

Spherical (Ball) Joint in Robot Model not Working in Gazebo

Answer: The issue is that <origin>, <mass>, and <inertia> tags must be nested inside a <inertial> element for each of the links, instead of being nested in the <link> tag. correct: <...
jstm's user avatar
  • 141
2 votes

setting custom variables on catkin workspace environment

I wanted to do a similar thing to point to a custom Python logging ROS configuration file. From the way I read the documentation you only need to create a .sh script and it should be run by all of ...
Gerald's user avatar
  • 121
2 votes

Designing own robot for Gazebo simulation?

Modelling a quadcopter is a complex process. I would highly recommend starting with an existing model which is fully operational and then modifying it or extending it to match your design. You're ...
Tully's user avatar
  • 1,792
2 votes
Accepted

Controller algorithm implementation in ROS/Gazebo

That is a long list of broad questions. Some of the answers depend heavily on application and personal preference. Assuming you're not using ROS2, then you might consider looking at the ros_control ...
doggie_breath's user avatar
2 votes
Accepted

Why are shapes in ROS and Gazebo called links?

Shapes are called links because they're not joints. Keep in mind that these are for robotics and robotic simulations, so the primary concern is going to be expressing the robot's physical structure in ...
Chuck's user avatar
  • 15.9k
2 votes
Accepted

Can you refresh gazebo when you load through ROS?

It depends. If you're spawning the robot at runtime, either through the spawn_model service or from the Gazebo model database, then you can just just remove the ...
xperroni's user avatar
  • 1,296
2 votes
Accepted

Gazebo throwing error in opening model created in it

You might be confusing Gazebo worlds and models. A world is a single SDF file structured as below: ...
xperroni's user avatar
  • 1,296
2 votes
Accepted

Importing a world into another world in gazebo

If you mean merging other world's contents into an open world file in the Gazebo GUI, no, there is no way to do that. You can however open the world files in a text editor and just copy contents over....
xperroni's user avatar
  • 1,296
2 votes

Syntax highlighting for source code of urdf & sdf (xml-based) files on Github

The GitHub page on code blocks has a section on syntax highlighting that says: Syntax highlighting You can add an optional language identifier to enable syntax highlighting in your fenced code block. ...
Chuck's user avatar
  • 15.9k
2 votes

Am I checking for a white pixel correctly?

You said: the RGBa values I set in my model in gazebo all have value 1 and you also said: ...
Chuck's user avatar
  • 15.9k
2 votes

Why can't the Controller Spawner find the expected controller_manager ROS interface?

It is always recommended to mention your ROS distribution and OS. I believe the error is coming from missing ROS package controller_manager. You can download and install it from the following link ...
Franky's user avatar
  • 536
2 votes
Accepted

How to reset odom positions of robots while setting initial positions of robots in gazebo simulation through launch file

Usually, robot's float a topic (eg /mobile_base/commands/reset_odometry for TurtleBot) to reset the odometry. The URDF for the Rosbot2.0 uses Skid Steer plugin. ...
vyi's user avatar
  • 140

Only top scored, non community-wiki answers of a minimum length are eligible