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
2answers
119 views

Cmake Error While Buliding Pixhawk simulator

I am trying to run "px4 SITL simulation" using gazebo7 on my machine with "UBUNTU-14.04 LTS" using these commands: ...
2
votes
1answer
53 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
69 views

Gazebo - Unable to load SensorPlugin

I want to write a Doppler Velocity Log (DVL) SensorPlugin for gazebo, but gazebo fails to load the plugin. My DvlPlugin.cpp looks like this ...
0
votes
1answer
179 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
181 views

How to solve action client not connected?

Does anyone know how to solve error action client not connected? The error text is: ...
0
votes
1answer
90 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 ...
1
vote
1answer
418 views

How to simulate water/ pool for underwater vehicle in Gazebo/SimScape?

I have tried SimScape and gazebo but I did not get a solution for simulation of a swimming pool. Can somebody help with the same? Do I have to create the whole swimming pool using simple rectangular ...
0
votes
1answer
54 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
254 views
0
votes
1answer
70 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
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 ...
2
votes
5answers
867 views

Why my robot is lying down in gazebo simulator?

this is my first post about ROS and Gazebo also I am new in ROS. I spawn KUKA robot in Gazebo using urdf file from KUKA github repository following answer from this question I spawned my urdf file in ...
1
vote
0answers
40 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 <...
0
votes
0answers
22 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 ...
0
votes
0answers
40 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
0answers
11 views

Simulation flight gives inconsistent sensor data

I made a short outdoors flight of 10 minutes with hector quadrotor on Ubuntu 16.04 Gazebo 7. The sensor readings and the path images are as attached. The flight was simple. I took of slowly, moved ...
0
votes
1answer
44 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
33 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
27 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
25 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
24 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
159 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
35 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
29 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
347 views

Simulating the robot using moveit with ROS

I'm an absolute beginner in this field so I request you to help me although the question seems very silly. I want to send the robot (in simulation) pose goal from ROS node. I want to use to moveit ...
0
votes
0answers
21 views

Industrial robot kuka210 wobbling/vibrating in gazebo environment

i have spawn a kuka210 robot in gazebo but the robot is wobbling i tried to make change in urdf file and gazebo_control.yaml file, according to the given solution but it could not help, Why my robot ...
2
votes
1answer
574 views

rospack Error: package 'script' not found

I am trying to run rosrun script forward.py but it gives me an error saying [rospack] Error: package 'script' not found In my ...
0
votes
1answer
66 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 ...
0
votes
0answers
44 views

Stale values in tf2 lookupTransform ROS-Gazebo

I have been trying to implement a low-level motion controller for my robot in ROS-Gazebo simulation. For this purpose, I need to convert some of my states i.e. CoM from body frame to Inertial (map) ...
1
vote
1answer
80 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
1answer
2k views

Gazebo: moving joint with model plugin

This is my first week with Gazebo. The tutorials are clear (except for my dearth of C++ knowledge) but now that I'm working to move out on my own things are getting cloudy. I made a model comprising ...
0
votes
2answers
1k views

gazebo import robot gives error

I'm trying to import the tutorial robot given at this link However this gives the following error: ...
2
votes
0answers
42 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
0answers
41 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
0answers
193 views

How to install hector_quadrotor in ROS Melodic?

From this link you can see that the hector_quadrotor is only available for indigo and kinetic so, I assume there are no melodic-compatible versions. On looking through the github issues, this has been ...
1
vote
2answers
209 views

setting custom variables on catkin workspace environment

I am developing a package for the ROS, in fact, it is a package of resources/models for the Gazebo, and I need with the presence of this package in the Workspace of Catkin to automatically set the ...
4
votes
1answer
1k views

ROS Gazebo Odometry Issue

I am setting up a Gazebo model for use with the navigation stack. I have been reading the Navigation Tuning Guide and am confused about the lidar data in the odom frame. I would think that the tuning ...
0
votes
0answers
67 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
0answers
27 views

Robot rolls and rotates with different parameters

I am currently trying to build a robot with ackermann steering. As an example I found https://github.com/trainman419/ackermann_vehicle-1 for this robot. It works pretty well with the set parameters ...
1
vote
0answers
214 views

Gazebo crashes and burns launching empty world in new package [closed]

I'm launching empty_world copied into my package with the command roslaunch my_package empty_world.launch. Here is ...
0
votes
1answer
41 views

Real world dynamic problem suggestion for PID [closed]

I need you guys to suggest me a problem that requires to change PID coefficients in different times. Lets say every 1 minutes the environment should change and readjust the PID’s parameters. Note that ...
4
votes
1answer
5k views

System Requirements for Gazebo

According to this document from Gazebo's (Beginner:Overview) online web site, for the installation of Gazebo version 7.0 on Ubuntu OS, these are the following System Requirements: A dedicated GPU (...
0
votes
1answer
84 views

Running ROS on Digital Ocean?

Has anyone done this? Create a "droplet" or whatever they call it and set up ROS, and be able to actually run roscore, gazebo, rviz, etc. from there? I can imagine various complications, like having ...
0
votes
1answer
588 views

Why no cmd_vel topic when running Turtlebot simulation on ROS + Gazebo?

I have been having a very difficult time trying to understand why my system does not have the cmd_vel topic. I am trying to get a ROS system running with Gazebo so that I can work through tutorials ...
2
votes
1answer
430 views

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

I'm having trouble including a spherical/ball joint in my robot model. I have tried using the 'ball' joint type defined by sdf (http://sdformat.org/spec?ver=1.6&elem=joint#joint_type) but the urdf ...
2
votes
2answers
321 views

Ackermann Motion Model Does not Drive in an Arc, but Turns on the Spot

Im trying to implement an ackermann motion model which estimates the x,y and theta for a robot I have. I have a gazebo simulation running which publishes a steering angle for the virtual tricycle ...
3
votes
2answers
900 views

Using Gazebo installed on same machine in MATLAB

I am planning to use MATLAB and Gazebo for one of my course projects. However all the tutorials I have seen till now use Gazebo by using a virtual machine which has ROS and Gazebo installed. I have ...
0
votes
1answer
442 views

how to get h*w point cloud from laser scan not just planer

I am trying to convert a laser scan into point cloud so i can use its cartesian cordintes for computer vision purpose. But when i do it it seems like the width of point cloud converted is only 1. ...
2
votes
0answers
165 views

Getting started with motion planning

I have recently finished the coursera Motion Planning course and I am looking for a project to do, using ROS, OpenRave, Gazebo and similar tools. My project would be in the area of motion planning for ...
1
vote
0answers
181 views

How to make ROS enabled Quadrotor with raspberry pi? [closed]

I am working on a project "ROS enabled Quadcopter", and am using hector_quadrotor package. But I am facing problems in Flight controller. My world and quadcopter is running in gazebo but I don't ...