Skip to main content
3 votes
Accepted

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

firstly I have to say I'll make a youtube tutorial video on how to do this complete procedure for future students wondering about this problem. Answer with more tweaking on the ...
Arya Parvizi's user avatar
3 votes

How could you have controllers communicate with each other?

Welcome to Robotics, Jonathan Ariel Callejas. You haven't provided your code, but I believe the problem you're having is with variable scope. In your case, your error suggests you're trying to make a <...
Chuck's user avatar
  • 16k
3 votes
Accepted

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

Since version 2023.0.0 of the webots_ros2 package, the Robot node (or Supervisor or Driver) cannot be accessed anymore. This is due to the fact that the ...
Yannick Goumaz's user avatar
3 votes

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

This problem is due to the default value of some contact property between the car wheels and the road. The soft Constraint Force Mixing (softCFM) used by the ODE physics engine to manage local ...
Olivier Michel's user avatar
3 votes

Matlab Simulation using Webots!

You've got two serious problems clearly stated in your error message: Warning: Name is nonexistent or not a directory: C:\Program Files\Webots\lib\matlab And The MATLAB "MinGW-w64 C/C++ ...
Chuck's user avatar
  • 16k
3 votes
Accepted

How to convert Gazebo SDF worlds to Webots?

Although not automatic, it should be pretty straightforward to re-use the shelf object from this AWS RoboMaker world by simply re-using its meshes to create a ...
Olivier Michel's user avatar
3 votes
Accepted

How do I record video from webots simulated cameras?

Webots uses ffmpeg to create movies out of JPG images. The code snippet in Webots is located here. But since Webots embeds ffmpeg, you should be able to use it pretty easily from your controller ...
Olivier Michel's user avatar
2 votes

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

It turns out that as Oliver Michel had said, there was a version mismatch between the compiling version of webots and the executing. In this case, it was as simple as I was colcon building in a window ...
Rugnir's user avatar
  • 121
2 votes
Accepted

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

Basic Example of solution on Python: ...
RavenCloud's user avatar
2 votes

Controller Design using Webots!

Since you already have controller code written for the physical robot, I recommend creating a set of adapters so you can run the same code in Webots, instead of rewriting everything from scratch. The ...
xperroni's user avatar
  • 1,353
2 votes
Accepted

How to import a 3D model in Webots_R2022b?

The functionality to import CAD models was removed from the latest versions of Webots because there is now a better way to handle this. Instead of importing a CAD model, you should now refer to it ...
Olivier Michel's user avatar
2 votes
Accepted

Swarm Robot Simulation

It's important to separate between simulation and artificial intelligence. An environment for simulating hundreds of robots on the screen is called a game engine. It can be realized with standard ...
Manuel Rodriguez's user avatar
2 votes
Accepted

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

Yes, it is possible to disable collision and LIDAR detection with a specific node in Webots. These are two different tasks that can be achieved with the following solutions. Disable collision To ...
Stefania Pedrazzi's user avatar
2 votes
Accepted

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

You can start by checking the e-puck URDF. It can be a good source of inspiration. The problem may come from the conversion of the URDF, which is not creating any physics for the whole robot node. One ...
Yannick Goumaz's user avatar
2 votes
Accepted

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

What you did is not a bad approach to quickly test modifications on a PROTO. However, instead of Convert Root to Base Node(s), you should have selected ...
Olivier Michel's user avatar
2 votes
Accepted

ROS2: name 'Node' is not defined

You forgot from launch_ros.actions import Node in your robot_launch.py file
Wilhelm's user avatar
  • 700
1 vote
Accepted

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

Yes, there are some resources available that can help you transition from Gazebo to Webots or set up existing ROS 2 robots in Webots. Firstly, the official ROS 2 documentation has a tutorial on how to ...
Yannick Goumaz's user avatar
1 vote
Accepted

Webots hinge joint, physics issue

Your model needs some calibration because it uses heavy masses. By default Webots can handle lightweight models properly, but if you are using an heavyweight model, you should adapt some parameters in ...
Olivier Michel's user avatar
1 vote

How to add a new sensor to webots ros2 plugins?

The first possibility is to add the new sensors (Emitter and Receiver) to the list of supported devices in the ...
Yannick Goumaz's user avatar
1 vote

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

I was able to accomplish this by: set SUPERVISOR to TRUE in the WeBots tree for the robot you want to get fields from and save ...
Dan's user avatar
  • 11
1 vote
Accepted

Displaying a png-file on a display - stays black

The Display.imageLoad simply reads the image from file and store it internally in Webots. To actually show the image in the Display, you have to call ...
Stefania Pedrazzi's user avatar
1 vote
Accepted

How can I make an invisible wall in Webots?

In order to create an invisible wall, you can simply create a Solid node with no children field, so that it is invisible, no ...
Olivier Michel's user avatar
1 vote

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

EDIT: the below mention function does not export equations directly, as you requested, but exports the dynamic system in the DIF - Dynamics Interchange Format Webots uses the Open Dynamics Engine (ODE)...
50k4's user avatar
  • 6,662
1 vote
Accepted

Webots: Increase Calculation Speed On Supercomputer

It is very likely that your supercomputer has no GPU whereas your laptop has a GPU with OpenGL hardware acceleration. Webots relies a lot on the GPU, in particular for rendering camera images, lidars ...
Olivier Michel's user avatar
1 vote
Accepted

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

The problem comes from the fact that the environment is applying some forces and torques on your motor and the motor cannot hold its position because it is not strong enough. To fix this problem, you ...
Olivier Michel's user avatar
1 vote
Accepted

robotic arm controlled by mouse

In Webots there is the mouse node, with this you can capture the mouse events, but only the events that happen in the 3D window. Link Reference Manual: https://cyberbotics.com/doc/reference/mouse?tab-...
DrakerDG's user avatar
1 vote

Swarm Robot Simulation

The ARGoS simulator specifically targets swarm robotics development. There is also a really awesome swarm robotics programming language, Buzz, that plugs into ARGoS. There is even a ROSBuzz version. ...
esduran's user avatar
  • 111
1 vote

Swarm Robot Simulation

Any general purpose robot simulator like V-REP or Webots can get your task done, though with not the best support for swarm robots in particular. ARGoS is a good platform for swarm robot simulation, ...
Akshay Kumar's user avatar
1 vote
Accepted

wheels are spinning but robot doesn't move

The problem is the bounding objects defined for your Robot node. Bounding objects are the physical objects used by the physics engine. Currently these objects are not moving so they create friction ...
Stefania Pedrazzi's user avatar
1 vote
Accepted

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

There are different techniques depending on what you want to draw: If you just want to add some 2D text, you can do this by using the function: ...
Yannick Goumaz's user avatar

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