Questions tagged [webots]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
11 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 ...
0 votes
1 answer
23 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/...
1 vote
1 answer
72 views

How to make the output axis of hingejoint with rotational motor not affected by physics?

Hello basically what I want is that I want only the rotational motors be affected by my controller, it must not be affected by physics? How to fix this? To prevent problems like this. Video Link here &...
3 votes
1 answer
77 views

Retrieving the global 3d position of a robot or object in Webots

In the context of my simulation, I need to programmatically get the position of robots and objects in the world (in global coordinate system). How can this be done? I'm using Webots R2023a.
0 votes
1 answer
38 views

The Matlab controller doesn't work for the Webots robot

I create a bipedal robot and I would like to use MATLAB to control two rotational motors. The code for controller is simple but some warning just shows up. Does anyone know how to solve this? WARNING: ...
2 votes
1 answer
105 views

Webots world built from sources environment not working in distributions

I made a simulation of a farm in Webots using the new animals objects released with R2023a. I first developed my simulation using these instruction to build Webots from sources: https://github.com/...
0 votes
1 answer
23 views

Webots simulation, damped world

I am a master's student at the physics department of the Goethe University Frankfurt am Main. I started to learn about Webots, which I intend to use for my master's thesis. I am at the very beginning, ...
0 votes
1 answer
34 views

Webots Ros2 Docker Extern controller plugin silently crashes when asking for keyboard

I am using webots 2022b inside of a docker container. In my vs code, it runs fine, but when I try to run the command straight from the docker container, I am running into an issue where the controller ...
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 ...
2 votes
1 answer
40 views

Webots cannot download objects and textures

After installing the newest version of Webots, I find that the objects (PROTO) and textures of the scene cannot be downloaded. The console throws many errors about download failures and the 3D scene ...
1 vote
2 answers
44 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 ...
1 vote
1 answer
103 views

How can I speed-up my Webots simulation?

My simulation is running correctly but is slow. How can I speed it up? (I am part of the development team of Webots and we often get this question so I hope it will help some people!)
2 votes
1 answer
35 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 ...
1 vote
1 answer
110 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 ...
2 votes
1 answer
92 views

How can I draw in the 3D window in Webots?

I would like to draw some text or objects in the 3D view of Webots, how can I do that?
1 vote
1 answer
75 views

Create object that is invisible to the RangeFinder sensor

The title says it all. I would like to have object that the rangeFinder can't see. This would help me to model real life shiny objects for a ToF sensor in webots. Any suggestions?
0 votes
1 answer
1k views

Resetting position of e-puck in Webots using Supervisor node - problem with getting a handle to the robot

I am writing a method (Java) that will reset the position of e-puck in Webots. I have been following tutorial on Supervisor approach. I have two controllers in my project: SupervisorController ...
0 votes
2 answers
54 views

Is it possible to use coordinates to modify the floor into a polygon in Webots?

I'm using Webots to model an irregular polygon floor for a coverage problem. I want to define the floor using the coordinates of the vertices. So far I have been able to generate an irregular polygon ...
0 votes
1 answer
63 views

what are the main steps to build a swarm robots system and train it to achieve foraging task using deep Q network

I studied reinforcement learning deeper and prepared myself to use Webots, and when I decided to build a swarm robots system and drive it by deep_Q_networks I feel too confused how can I begin and is ...
1 vote
1 answer
517 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 ...
3 votes
1 answer
313 views

Why is Webots running so slow on my computer?

The provided sample simulations are running very slowly in Webots. How can I improve this? I am using Webots R2022b on Ubuntu 22.04.
1 vote
1 answer
99 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, ...
1 vote
1 answer
85 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?
0 votes
0 answers
109 views

Compile webots for Python 3.6 for Windows

I would appreciate if someone could assist me in compiling webots source for Python 3.6 to allow me and others to use TensorFlow with it. I already tried but apparently there is something not ...
0 votes
0 answers
45 views

Controller Design Using Webots! (Heading, Velocity, tilt,balance)

I am trying to design and implement certain controllers for a robot. I am currently designing controllers for the robot, where it aims to control the Heading, Velocity, Tilt, Balance of the robot. ...
3 votes
1 answer
150 views

Is it possible to immobilize one part of a robot?

I need to fix one part of my robot to the static environment. Can this be done in Webots? I'm using R2022b.
1 vote
1 answer
114 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,...
1 vote
1 answer
355 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 ...
3 votes
1 answer
33 views

Read device value from another robot controller in Webots

I'm using Webots R2022b and I would like to have a supervisor controller that applies an algorithm on the camera data recorded by the Mavic2Pro drone on an another robot. But, when calling the ...
7 votes
2 answers
684 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/...
0 votes
0 answers
87 views

Webots Inverse Kinematics on Differential Drive Robot

I'm learning Webots these days and have gone through their example project on inverse Kinematics.(https://cyberbotics.com/doc/guide/irb4600-40) In their example project they are testing Inverse ...
3 votes
1 answer
56 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?