Questions tagged [gazebo]

gazebo is a simulator makes it possible to rapidly test algorithms, design robots, perform regression testing, and train AI system using realistic scenarios.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

base_footprint vanished on converting urdf to sdf

I am using ROS2 Foxy and Gazebo11 in Ubuntu 20.04. I converted a xacro file to a urdf file using xacro my_file.urdf.xacro > my_file.urdf, and then converted this ...
0
votes
0answers
10 views

Image Based Visual Servoing in Gazebo [closed]

I am trying to do image based visual serving with an arm manipulator, my problem statement is very much similar to this - https://www.youtube.com/watch?v=02Bx0... but the VISP page does this in ...
0
votes
1answer
21 views

What robotic simulators simulate the reflectivity of objects?

I want to simulate the reflectivity of objects in a simulation because I want to use a 2D laser scanner to detect certain objects that have higher reflectivity than other objects in a particular scene....
0
votes
1answer
25 views

Reload Gazebo without quitting app

I'm using Gazebo with ROS 1. Every time I re-run my ROS code, I seem to have to quit the Gazebo client and start it up again. Starting up the Gazebo client application takes a long time and I am ...
0
votes
0answers
43 views

Simulate Wind in Gazebo - physics_msgs

I am trying to simulate a drone inside an environment with constant wind. I have found a good plugin (link below) and I have done the following to integrate this plugin in my system: include the ...
0
votes
1answer
31 views

gazebo world with roof

Does anybody know of any readily accessible gazebo worlds with a roof? I have several environments without a roof, and one with a roof (that is too high up for the required purpose), i could do with ...
1
vote
2answers
60 views

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

I am doing a very complex calculation inside a node using some other libraries. The node is... doing the calculation in an endless loop it is calculating from the last calculation to ROS::Timer::Now()...
0
votes
1answer
31 views

How do I build a world for a line follower bot in gazebo?

I am just starting off in robotics with my own little pet project: a line follower using openCV. However, I have no idea how to create a world in Gazebo for the bot. I went through the official Gazebo ...
0
votes
0answers
26 views

TF broken in Hector Pose Estimation when fusing IMU and Pressure Sensor, frames are not correct and pose also not correct

Im doing some underwater UUV Gazebo simulation and would like to use the hector_pose_estimation package to fuse IMU and Fluid pressure sensors input for pose estimation. In the gazebo launch file I ...
0
votes
0answers
28 views

Gazebo sensor plugins for barometric pressure Sensor with geometry_msgs/PointStamped?

Im doing some underwater UUV Gazebo simulation and would like to use the hector_pose_estimationhector_pose_estimation package to fuse IMU and Fluid pressure sensors input for pose estimation. But when ...
0
votes
0answers
86 views

Takeoff service not working as expected

I'm simulating Iris quad sing px4+mavros+gazebo. I'm trying to get my drone to takeoff using python code. When I publish height using mavros/setpoint_position/pose, ...
0
votes
1answer
19 views

Why does the quadcopter become unstable after turning?

I'm trying to write a simple test MAVROS node where my quadrotor is expected to go in a straight line and then have 180-degree turn and come back and land on where ...
0
votes
1answer
108 views

How to disable GPS in ROS/MAVROS and sent the points myself?

I'm trying to create a simple MAVROS node that takes off, goes to a specific location and then comes back to its home location. As this is currently being tested ...
3
votes
1answer
67 views

Pose difference estimation in cartesian impedance control

I am trying to implement a cartesian impedance controller in simulation (gazebo + KDL). The method which I am using is the following: Compute the EE pose from KDL's forward kinematics for the ...
0
votes
1answer
219 views

Modifying Turtlebot3 to include different camera

I'm new to robotics in ROS. I've been learning about ROS and Gazebo using turtlebot (not turtlebot3 actually) on the platform The Construct. I would now like to incorporate turtlebot3 into my project. ...
0
votes
0answers
42 views

How to connect to a kinova gen3 arm in gazebo through MATLAB and ROS?

I want to simulate a kinova gen3 arm in Gazebo through MATLAB and ROS. I am using a windows laptop which is running MATLAB natively, and I am running ROS and Gazebo via a virtual machine. I have ...
2
votes
1answer
274 views

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

I'm in the process of creating a coordination system for a multi robot system. For that i currently have created a ROS based simulation in gazebo using Rosbot2.0 (Robot physically available as well). ...
0
votes
1answer
45 views

How to setup ROS and it's GUI tools in local server and connect to local macbook

I recently started learning ROS and I am having Macbook (MacOS Catalina) which is not ideal for running ROS. So, I decided to install ROS in my local home ubuntu 20.04 desktop server and connect it to ...
0
votes
0answers
33 views

Setting up a workstation for Baxter

I am trying to setup a workstation for Baxter to simulate Baxter in Gazebo. I am using this tutorial: https://sdk.rethinkrobotics.com/wiki/Workstation_Setup, but I am stuck on this step: Edit the '...
1
vote
1answer
141 views

How to remap /move_base_simple/goal to my own topic in turtlebot3_navigation?

I am running turtlebot3_navigation and want to make it subscribe to my own waypoints topic /my_waypoints rather than RVIZ's Set 2D Goal topic ...
0
votes
0answers
155 views

Docker on WSL2: ROS gazebo in "docker-compose": demo "test talker" needed as the input of the standard RViz listener

Taking the image and the X server setting that you get from Docker on WSL2: how to test whether ROS gazebo can connect to already working X server (using its X11 window on Windows)?, I was curious how ...
1
vote
1answer
369 views

Docker - Dockerfile: /bin/bash: catkin_init_workspace / catkin_make: command not found

I follow the guide of kinetic - Installing from source and put the steps in a Dockerfile. At this point, I get an error, although I follow exactly the guide, and although it works in the bash of the ...
0
votes
1answer
384 views

Docker on WSL2: Dockerfile: how to test whether ROS gazebo can connect to already working X server (using its X11 display on Windows)?

I had the following errors and warnings in a ROS project. They showed up using docker-compose or when running a mere container from the image, which strangely had worked once somehow but then later ...
0
votes
2answers
530 views

Tried to advertise a service that is already advertised in this node [/leo/controller_manager/list_controllers]

I'm trying to do a multi agent simulation using leo_rover which is open source. I'm comfortable with single system, but when I add a second robot using namespaces i get the second robot spawned in the ...
1
vote
1answer
240 views

Gazebo freezes on vm after running roscore

I'm a beginner in ROS, since the learning curve for ROS is steep i decided to use a book to learn how to use ros ([ROS Robotics Projects - Second Edition][1]). I'm currently on the third chapter. I'm ...
0
votes
1answer
298 views

Failed to load plugin libgazebo...: libgazebo...: cannot open shared object file: No such file or directory

When running a command similar to the roslaunch gazebo_ros empty_world.launch of the Tutorial: Using roslaunch to start Gazebo, world files and URDF models, I get ...
0
votes
1answer
104 views

Error when "catkin_make" is run

I cloned a gazebo ROS package from https://github.com/YugAjmera/omni3ros_pkg and if I try to do catkin_make,I get the following error. I am using Gazebo 11 and ROS Noetic and i've made sure to source ...
2
votes
1answer
465 views

Running ROS, Gazebo and RViz on Macbook

I have recently started learning robotics. Being at uni, I had access to Linux PCs where I could easily run ROS and Gazebo. However, due to the current pandemic and closure of universities, I now have ...
0
votes
1answer
688 views

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

I have a quadruped robot with base link (BL), 4 child links called LFT, LFT, RFT, RFT, T for thigh and each having 4 children with name LFC, LBC, RFC, RBC, C for Calf. 8 joints - Base link to 4 thighs ...
0
votes
0answers
17 views

Why do inverse directions give correct movement?

I am currently working on driving a bot based on the location of a white ball and I find that giving it negative angular movement moves it to the left rather than the right. Here's a code snippet for ...
1
vote
2answers
184 views

Am I checking for a white pixel correctly?

I am currently going through all the pixels in an image to determine what is a white pixel. I then have to decide where to drive the bot. I am also using sensor_msgs/Image.msg that I get from the <...
2
votes
1answer
37 views

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

Note: I posted this on stack overflow but couldn't get an answer. I am trying it here. I have files that are in urdf [Unified Robot Description Format] for ...
1
vote
0answers
209 views

How to remove 'insert' paths in gazebo UI

I added some paths for model insertion in the gazebo UI. I have since move the projects elsewhere or deleted some of the models but can't seem to figure out how to delete the paths showing up under ...
0
votes
1answer
873 views

Unable to find my robot with an error

This question and the docs pointed me to $GAZEBO_MODEL_PATH as being the environment variable to change to include models in a gazebo world. However, I am getting ...
0
votes
1answer
270 views

Is a gazebo world unmodifiable after you hit save?

I created a world in gazebo with 2 levels and realized that I wouldn't see my robot moving in it. So I tried to delete the 2nd level but couldn't find a means to do so. Is the GUI not capable of doing ...
0
votes
1answer
51 views

My robot keeps getting saved as one cylinder leaving out the bottom cube

I created a robot in the model editor that is made up of a cube and a cylinder with a revolute joint between them but after saving it and inserting another instance into the world, I only get the ...
0
votes
1answer
311 views

Importing a world into another world in gazebo

Is it possible to start with a with an empty world, empty.world and then import walls (other worlds into it)? I can't seem to find an import option in the gazebo ...
0
votes
1answer
147 views

Gazebo throwing error in opening model created in it

I created my world with gazebo9 and saved it. world$ tree . └── myworld ├── model.config └── model.sd Now when I start it with ...
1
vote
2answers
2k views

Gazebo not reading the material color in URDF

I have a chassis link that has casters. I would like the casters to be grey and the box to be blue. The ROS link doc mentions ...
0
votes
1answer
200 views

Can you refresh gazebo when you load through ROS?

I have a urdf model that I have loaded with: roslaunch my_robot world.launch I noticed that I gave the wrong color to a part of the robot. I have made changes. ...
0
votes
1answer
80 views

Coordinates seem to show overlapping but RViz doesn't

How can you place two objects that seem to overlap with their units but appear stacked on top of each other [original intent] in RViz? I was watching this video tutorial on ROS and URDF. I have ...
0
votes
1answer
51 views

Why are shapes in ROS and Gazebo called links?

I have been trying to figure out why shapes in ROS are called links, ie <link> tags in urdf and ...
0
votes
1answer
97 views

How to simulate a quadcopter using robotics simulator?

I am building my own autonomous quadcopter. I wish to simulate it using V-REP/Gazebo in order to tune the flight controller. I see that there are inbuilt models but they have properties(physical ...
1
vote
1answer
165 views

Controller algorithm implementation in ROS/Gazebo

I am doing some robotic simulations in ROS/Gazebo and wondering what is the best way (programming-wise since I don't have a CS background) to implement a robot's motion controller. Here are the ...
2
votes
0answers
68 views

Corrupted Robot Model in Gazebo

I'm trying to run multiple instances (18 instances) of gazebo in parallel processes on my system to do reinforcement learning. However i'm running into an issue where the robot model in some of the ...
2
votes
1answer
92 views

Designing own robot for Gazebo simulation?

For my project I am trying to model and control a quadrotor with actuating arms. As I don't have a physical model with me, I want to simulate and control the robot using ROS and Gazebo. At the ...
0
votes
1answer
146 views

Gazebo GUI doesn't show up

I tried Gazebo 9 and 10 on Ubuntu 18.04 MATE and it quits in a few seconds without showing Gazebo GUI. I'm running it on 32-bit Intel CPU with 950 Graphics chipset (pretty old). Here is what I see in ...
0
votes
0answers
103 views

Robot moves sideways in RVIZ ROS

I'm using robot_localization to fuse odom, imu and gps data on a husky robot. After fusion, the robot now moves forward in gazebo but sideways in rviz. I found this question. But the suggested ...
0
votes
1answer
679 views

Gazebo: SetPosition() function in the Joint class doesn't set the joint position and returns false sometimes

I am trying to initialize the positions of my robot using Gazebo Plugins. SetPosition() function of the Joint class is supposed ...
1
vote
0answers
406 views

How to solve action client not connected?

Does anyone know how to solve error action client not connected? The error text is: ...