Questions tagged [webots]

Webots is an open source and multi-platform desktop application used to simulate robots. It provides a complete development environment to model, program and simulate robots.

Filter by
Sorted by
Tagged with
7 votes
2 answers
2k views

Instantaneous Center of Rotation for a differential Drive Robot

I want to find the instantaneous center of rotation of a differential drive robot. Assuming I know that the robot will travel with a particular linear and angular velocity $(v,w)$ I can use the ...
canatan's user avatar
  • 111
7 votes
2 answers
804 views

Measuring speed of movement in Webots

I have been experimenting with different fitness functions for my Webots robot simulation (in short: I'm using genetic algorithm to evolve interesting behaviour). The idea I have now is to reward/...
Anna Pawlicka's user avatar
4 votes
1 answer
70 views

Webots: Increase Calculation Speed On Supercomputer

I am using a supercomputer (MSI, Minnesota Supercomputing Institute) to run my Webots simulations. However, on my own laptop (MacOS) the amount of time necessary to calculations is much shorter. I was ...
user33074's user avatar
3 votes
2 answers
258 views

How to Access Robot Fields Inside a Webots-ROS2 Plugin?

I'm running Webots R2023a where I have a robot node marked as Supervisor in Webots world (*.wbt file) to be controlled by an external node in ROS2 network. When writing a webots-ros2 plugin, I'm faced ...
S4JJ4D's user avatar
  • 33
3 votes
1 answer
263 views

In Webots is there a way to easily modify an existing robot (like the Mavic drone)

I am wondering if there's an easy way of modifying an existing robot, such as the Mavic drone, and then test how this modification worked. For example, I would like to change the shape or angle of the ...
Dr Sokoban's user avatar
2 votes
1 answer
376 views

How do I record video from webots simulated cameras?

I'm currently trying to find a way to record the output from Webots cameras to video files. Currently I'm saving frames every cycle and converting them to videos afterwards using Shotcut. Is there a ...
Craig MS's user avatar
2 votes
1 answer
282 views

How to convert Gazebo SDF worlds to Webots?

We are in the process of moving our warehouse simulation from Gazebo to Webots. We would like to set up a "realistic" warehouse environment in Webots. The factory sample already provides a ...
Gergely Kis's user avatar
2 votes
1 answer
622 views

Why a car is sinking into the ground in my Webots simulation?

I added a car from the Webots library into my scene, but when I start the simulation the car is sinking into the ground. This is the same BmwX5 car model used in the sample simulation "city.wbt&...
Stefania Pedrazzi's user avatar
2 votes
1 answer
121 views

Webots: Spawn multiple nodes and disable collision between them, but not the environment

In Webots, I am spawning 10 vehicle nodes at the same time and position for reinforcement learning. I would like the vehicles to not interact with each other (collision and LIDAR) but still have ...
Computing Corn's user avatar
2 votes
1 answer
1k views

How to import a 3D model in Webots_R2022b?

I have a 3D model which is made by SolidWorks. I remember that in older versions there was a function to import 3D models but I can't find it in R2022b. Can you tell me how to import it? Thanks so ...
Zxx's user avatar
  • 23
2 votes
1 answer
83 views

Trouble Downloading Assets in Webots 2023a Version on MacOS

I've recently downloaded and installed the Webots 2023a version on my MacOS. The installation process went through without any issues. However, I'm encountering a problem when I try to install ...
Khilan S's user avatar
2 votes
1 answer
51 views

How can I model a monorail robot in Webots by importing a Solidwork CAD model of robot?

I am new to Webots. I have not good idea about the considerations what should I consider when import a SolidWork CAD model to the Webots. I have a SolidWork model of robot. But I have not good idea to ...
Chathuranga Weerasinghe's user avatar
2 votes
1 answer
28 views

Measure processor loading in Webots

Is there a way to measure the CPU usage or the processor loading per simulation time step? I essentially want a way to compare the computational cost of different controller implementations I reckon I ...
ssk255's user avatar
  • 23
2 votes
1 answer
30 views

Displaying a png-file on a display - stays black

In Webots with a Python controller: I have a PNG-File (640x480) which displays a Matrix-Numpy-Array-figure which is getting produced by my code. I would like to display it on an Display overlay. But ...
HackMack's user avatar
2 votes
1 answer
366 views

Choosing suitable simulator for a swarm of AUVs [closed]

Which of the following simulators is the best choice for simulating a swarm of AUVs working together to perform a mission? Please clarify your reason and if you know any better choice, I would greatly ...
Hossein Abedi's user avatar
2 votes
0 answers
30 views

Extern Controller, Cannot connect to Webots instance

I installed ROS2 on WSL2, Ubuntu22.04, and follow the tutorial in this link, which helped me install webots on Win11. But when I execute this command ...
flying_doraemon's user avatar
2 votes
0 answers
76 views

DJI Mavic Pro 2 drone in Webots nosedives at high speeds

I am using the webots_ros2_mavic package found here to simulate a drone in Webots. The drone is controlled by publishing a simple Twist message with linear and angular velocity components. I noticed ...
neo's user avatar
  • 21
2 votes
1 answer
73 views

Can't make new CadShape models have the same appearance as previous PBRAppearance

Has anyone else had issues with appearances while trying to use the new CadShape node instead of an imported model with a ...
Pyphais's user avatar
  • 21
2 votes
1 answer
62 views

Why does Webots 2022b not support VRLM97?

I am creating a complex robot and I do not know what is better: Use Webots 2023a and use CADshape. The .DAE doesn't look great because it's a mesh. Use Webots 2021b and import VRLM97. It looks much ...
Ernesto Flores's user avatar
2 votes
1 answer
628 views

How to change the controller in Webots?

I'm rather new at Webots. How do I change the controller for a node to another controller code in a different location? I'm having trouble changing the code for an e-puck. The edit controller always ...
Shimi43's user avatar
  • 21
1 vote
3 answers
781 views

Swarm Robot Simulation

Both V-rep and Webots simulator says that they can simulate multiple robots. Is these simulators are capable for simulate swarm robots? Can I simulate the swarm intelligence algorithms like ACO, ...
Arun K S's user avatar
  • 113
1 vote
1 answer
263 views

How can I use the pen Node on my custom robot in webots?

I am starting to attempt a new project about a mechanical arm using a pen to draw random things as I move the robot's arm. so to do that Webots already has a node named "Pen" (Webots doc, ...
Arya Parvizi's user avatar
1 vote
1 answer
422 views

Matlab Simulation using Webots!

I am trying to run this youbot ( sample world) from webots, where the controller is implemented in MATLAB, on running the code it pops out the following error seen in the picture attached. I have also ...
Aditya Sharma's user avatar
1 vote
1 answer
62 views

ROS2: name 'Node' is not defined

we are working on Webots environment with ROS2. when we launched the following example in the Webots-ros2 tutorial, we got the following error, could you help us to overcome that problem, thanks. The ...
nejattukenmez's user avatar
1 vote
2 answers
156 views

How do I make a robot imported using urdf and ROS2 gravity? It just floats

I can't seem to find any examples with imported URDFs (the universal robot examples don't seem to have any physics settings beyond joint inertias etc). My robot has mass from the urdf: But it seems ...
Craig MS's user avatar
1 vote
2 answers
217 views

Question about getting global coordinates of lidar point cloud from relative in Webots

I need to do custom mapping of surroundings with lidar using mobile robot in Webots. What I use for that: GPS for getting robot position. Compass for getting direction robot. Lidar for getting info ...
RavenCloud's user avatar
1 vote
1 answer
171 views

Controller Design using Webots!

I am trying to work on a Digital Twin of a Physical Robot which is used at my uni. I made a rough model of the robot using Webots (Open source). I need to design certain controllers aiming at the Tilt,...
Aditya Sharma's user avatar
1 vote
1 answer
535 views

biped walking using Genetic Algorithm

I am working on a project but I lack advanced programming knowledge, especially about genetic algorithms. I am developing a prototype using WEBOTS 7.4.3 for the simulation. The project is to use ...
Atoy's user avatar
  • 11
1 vote
1 answer
162 views

Multiple Robots in Webots and Control Them independently with ROS2?

I am following the tutorial of Setting up a robot simulation in Webots (Basic) which is in ROS2 humble documentation. Here I have a .wbt world file, .urdf file according to the tutorial. I have added ...
RAMISHA ANJUM's user avatar
1 vote
1 answer
145 views

Issues with Sending ROS2 Action from roslib.js to rosbridge_suite: Unable to Import Message Classes

I'm encountering difficulties sending a ROS2 action from roslib.js to rosbridge_suite. The action is supposed to be handled by rosbridge_suite, but I'm encountering issues related to the import of ...
tapanij's user avatar
  • 21
1 vote
1 answer
54 views

How to use the DEF keyword for CadShape parts in Webots?

In Webots is it possible to define a DEF for defining a feature in order to reuse it more time in the same world It works very well we do the tutorials online creating a solid and then a shape. But it ...
Wilhelm's user avatar
  • 700
1 vote
1 answer
103 views

How to get sensor data over a topic with webots_ros2 plugin?

I've installed webots 2023b and after I saw that a world with and inverted pendulum has been already shipped in the default installation directory, I decided to use that world for my project. ...
Wilhelm's user avatar
  • 700
1 vote
1 answer
43 views

How to access devices in webot robot?

I have trouble finding out what devices are in my robot currently I am using e-puck but I want to use a robot such as the Tesla car. I want to know what devices I can control. Example if e-puck has 2 ...
Alan L's user avatar
  • 11
1 vote
1 answer
101 views

Is it possible to import a .dae mesh file, with its materials, into a webots world?

I don't have an example right now (not at my computer), but I'm hoping to be able to import a world designed, modelled, and textured in Blender (poly count isn't an issue). I can import the model as a ...
Craig MS's user avatar
1 vote
1 answer
176 views

How can I set the sample rate/frequency for a Webots GPS module?

I'm trying to simulate a GPS module I have on a real robot (using ROS 2) which has a position update rate of 1Hz. Is it possible to set this in a GPS device? I'm importing the device directly to ...
Craig MS's user avatar
1 vote
1 answer
524 views

How do I integrate webots sensor plugins into a ros2 URDF/Xacro file?

I am trying to set up a Lidar, IMU, and depth camera in Webots on a ROS 2 robot in its xacro file (starting with just the Lidar). I currently have the following: ...
Craig MS's user avatar
1 vote
1 answer
141 views

Webots - Copy Paste a Robot

In Webots: I want to do a Predator/Prey simulation and need to spawn the exact same robot when an event occurs. How do I copy/paste a robot I have in my world scene tree. I build it my self therefore ...
HackMack's user avatar
1 vote
1 answer
363 views

Are there any tutorials for transitioning from Gazebo Sim to Webots?

Are there any decent/recommended tutorials around for transitioning to webots from gazebo Sim? Or at least setting up existing ROS 2 robots in webots? I got a bit sick of trying to get the latest ...
Craig MS's user avatar
1 vote
1 answer
140 views

Webots hinge joint, physics issue

I am in the process of carrying out my thesis, I am using Webots software to measure the displacement of linear actuators and then carry out PID control for a manipulator of an ROV which is based on ...
kuba's user avatar
  • 25
1 vote
1 answer
180 views

How to add a new sensor to webots ros2 plugins?

I was wondering how can add a new node type to activate under the <device> tag in the URDF file. Looking in the webots_ros2 repository, I found that is ...
Angel Ayala's user avatar
1 vote
1 answer
76 views

How can I make an invisible wall in Webots?

I need to create an invisible wall in Webots but I don't know how to do it. Could someone please help me?
Titouan's user avatar
  • 13
1 vote
1 answer
308 views

robotic arm controlled by mouse

I want to create a webot simulation for robotic arm. The entire arm should be controlled by the mouse. Is it possible to implement in webots? I am trying simulation for this https://youtu.be/...
pavan kumar sharma's user avatar
1 vote
1 answer
463 views

wheels are spinning but robot doesn't move

I build a new Robot with Webots (two wheel cart + 1) and build a simple controller. I can see the wheels are rotating when I start the robot, but robot is not moving at all. I am very new to Webots ...
ZDima's user avatar
  • 13
1 vote
1 answer
2k views

How to import 3D models in Webots?

I have 3D models with UV mapping and textures in Blender and I would like to import them in Webots. Can you please recommend the best way to do this?
Olivier Michel's user avatar
1 vote
1 answer
127 views

How can I get the equations of motion used in webots?

I am trying to use the webots platform for developing controllers. I need the differential equations governing the motion of the robots. How can I get the equations of motion used in webots?
q than a's user avatar
1 vote
0 answers
9 views

webots, 4 wheel robot's heading angle by Rotation field

I'm using Webots R2023b. I created a 4-wheeled robot following the tutorials (https://cyberbotics.com/doc/guide/tutorial-6-4-wheels-robot). However, I'm having difficulty obtaining the heading angle ...
charlie's user avatar
  • 11
1 vote
1 answer
204 views

How can I turn custom robot into a PROTO in Webots 2023?

I created a custom robot using the Robot Node by importing some meshes and creating boundary boxes with primitive shapes. I want to use it in another world, and I know the process involves creating a ...
Marcelo Ortiz's user avatar
1 vote
1 answer
36 views

How do I increase the resolution of the Webots Pen device?

I'm using the Pen device at the moment but I'm trying to get the resolution better finer so I can see smoother curves. I'm currently just using the Webots Grass appearance. Is scaling the used ...
Craig MS's user avatar
1 vote
1 answer
164 views

No module webots_ros2_driver

We would like to implement our controller developed by our team on CF2 simulator. We got the following error: ...
nejattukenmez's user avatar
1 vote
0 answers
53 views

Accessing Proto Fields of Underlying Proto Object in Webots

I'm working on integrating Webots with FIRST Robot Code's builtin simulation utilities. As part of this, I've created a few base protos which define common types of parts, and extended them with ...
CoolSpy3's user avatar