Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
0 votes
1 answer
17 views

Can I see the logs when Webots crashes?

Wondering if there's something built-in already to show me the error/crash report when Webots crashes unexpectedly? I'm getting intermittent crashes when interacting with custom protos in the scene ...
Pyphais's user avatar
  • 21
0 votes
0 answers
15 views

PID Control on differential drive robot

I have tried to control the Pioneer robot in Webots simulator to follow the static target. This is the code I have developed. My main goal is to make a go-to single goal controller. The problem is ...
V.Ajall's user avatar
0 votes
0 answers
20 views

How should I optimize a PID in Webots correctly?

As stated above, I need to optimize the PID gains (the feedback) in the torque controller for trajectory tracking I am currently doing. This is what I have done until now: Begin simple, with just one ...
Offel21's user avatar
  • 11
-1 votes
0 answers
22 views

Tools for building deep learning systems for humanoids

I'm looking to build deep learning systems to control humanoid robots in complicated realistic environments and have access to pre-built environments. Which tool should I use? Here's what I have found ...
Rishi Malhotra's user avatar
0 votes
0 answers
13 views

`urdf2webots` Converter is producing wrong results

To convert my URDF to a PROTO I ran: ros2 run xacro xacro path/to/in/file | python3 -m urdf2webots.importer --output=path/to/out/file, but I end up with some weird ...
mink4sure's user avatar
0 votes
0 answers
11 views

Ros2 Iron, Tutorial Webots, Setting up a robot simulation (Basic) Connection Issue

Following the basic tutorial with the goal to use webots with ros2, I've run into the following problem: ...
Merlin's user avatar
  • 1
1 vote
0 answers
14 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
2 votes
0 answers
59 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
0 votes
1 answer
11 views

Trouble downloading assets in Windows version 2023a

I'm trying to load a world on Webots, but I've been having trouble downloading the required assets. Whenever I load the desired world, a pop-up appears saying "Downloading assets 0%", before ...
Sophia Yara Yano's user avatar
0 votes
0 answers
14 views

Screen cropping and camera issues of Webots

An issue occurred where the screen was cut off when running webots. Also, I have a question because when I overlay the camera, the size is too small and I cannot drag or move the position with the ...
solarbean23's user avatar
0 votes
0 answers
37 views

"Cannot find any instance of Webots"

you guys are my last straw :) I just started using ROS2 together with Webots. I downloaded ros-humble-webots-ros2 and Webots2023b and launched my scipt with ...
g. h.'s user avatar
  • 1
0 votes
1 answer
14 views

Webots: add a RosCamera to ros_automobile controller?

I took the boomer example project and changed it to a ros_automobile controller by copying the source of ros_automobile into my project. It works and I can put it into gear and set the throttle and ...
Lucas Walter's user avatar
  • 3,347
0 votes
0 answers
8 views

How do I use the WorldInfo gpsReference? It doesn't work as expected

I'm experiencing some challenges trying to get a realistic GPS output from my simulation. I'm based in New Zealand so my real-world Lat/Long is in the -40.3789 and 175.6129 range in WGS84, but when I ...
Craig MS's user avatar
0 votes
0 answers
11 views

WARNING: supervisor_manager: The process crashed some time after starting successfully. Fail to allocate bitmap

I am trying to navigate a drone moves towards target(car) using PPO algo. after 1320 episodes, I got this message: ...
Saher Shah's user avatar
0 votes
1 answer
22 views

Webots: How to fix a base_link in simulation

So I set up a simulation of a robotic arm in Webots. However, the collisions between the base_link and the ground_plane seems to ...
Mink's user avatar
  • 1
0 votes
1 answer
44 views

Importing 3D files in Webots

I am trying to import a 3D model of a Humanoid robot into Webots, I tried to import the whole model as an OBJ file using the CAD shape node or a shape node with a mesh node. Still, in both cases, the ...
Ahmed Samir's user avatar
0 votes
0 answers
13 views

Unable to simulate a differential wheeled robot with kinematics mode (World file and controller code attached)

According to the webots documentation, a robot with differential wheels is automatically detected and can be automatically simulated in kinematics model if the physics node is disabled The Robot ...
Oceanionner's user avatar
0 votes
1 answer
191 views

Webots ros2_control and controller_manager issue

I have been trying for the past week searching forums and documentation to solve this issue. I am trying to make a simple simulation using ros2 humble and webots 2023b. I had switched from Gazebo ...
hylander's user avatar
0 votes
0 answers
39 views

Only one instance of the Robot class should be created

I am working on a Webots project using the Python R2021a version, in which four E-puck robots are used that push the box to target locations with the Python class for each robot "Class ...
Kazim's user avatar
  • 1
0 votes
0 answers
23 views

WebotsController cannot read ros2_controllers generated from Moveit

So, I have been trying to use a modified UR3e robot with Moveit in Webots simulation. The configurations are created by moveit setup assistant. I start from modifying the provided launch files from ...
TonySatoru's user avatar
0 votes
0 answers
15 views

Use the robot_name of launch file to MyRobotDriver

I am following the tutorial Setting up a robot simulation (Webots) ROS2 Humble. Here is my_robot.urdf file: ...
RAMISHA ANJUM's user avatar
1 vote
1 answer
196 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
0 votes
0 answers
30 views

How to spawn and control 2 robots independently in webots with ROS2?

I am trying to make a simple application of 2 robots moving around in the webots simulator using ROS2 humble. I am following this tutorial. I have done the following things: A description for each ...
Maven92's user avatar
0 votes
1 answer
26 views

In a Blank Webots World, How to Operate the Mavic

I need to operate the mavic drone in a world other than its demonstration but when I do so the robot will just crash to the ground. I thought it was the world parameters or the controller that was ...
Léo's user avatar
  • 1
1 vote
1 answer
189 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
0 votes
0 answers
24 views

Spot simulation in Webots becomes unstable after lifting one leg

I have written a custom controller for the Spot robot that comes in-built with Webots. based on the already given controller. I am having an issue where when I try to lift one leg off from the ground, ...
Alex Csillag's user avatar
0 votes
4 answers
368 views

How can i show on my browser what i see on Rviz?

Im on ROS2-Humble and i want to see my robot's location and movement on the map, the way i see it on Rviz, on my browser. Like the picture above, I want from Rviz to get the Grid, RobotModel, TF, and ...
gxomalis's user avatar
0 votes
0 answers
54 views

How to use ros2 via wsl to webots in windows operating system?

Hi i had recently started on ros2 and i had installed it on the wsl (linux) in windows operating system. I had also installed the webots robotic simulator in the windows instead in wsl (linux). So is ...
Karthik Putchala's user avatar
0 votes
1 answer
40 views

Webots ROS2 Tesla Example: Running Lane Following Code

I would like to know how to run the Webots ROS2 Tesla example that includes lane-following code using ROS 2. Specifically, I want to understand the steps required to set up the ROS 2 environment, ...
Emmanuel 's user avatar
1 vote
1 answer
64 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
0 votes
1 answer
113 views

INFO: 'my_robot' extern controller: Waiting for local or remote connection on port 1234 targeting robot named 'my_robot'

I using ROS-Foxy on Ubuntu-20.04 installed using WSL 2. I also have installed R2023b version of webots on windows (the host). I followed the ROS-Foxy instructions to setup webots-ros2. However, when I ...
BABANGIDA ZACHARIAH's user avatar
1 vote
1 answer
117 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
269 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
38 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
65 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
0 votes
3 answers
382 views

name 'Node' is not defined

when we launched the following example in the Webots-ros2 tutorial, we got the following error, could you help us to get rid of that problem, thanks. The example link: Setting up a robot simulation (...
nejattukenmez's user avatar
1 vote
1 answer
168 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
1 answer
45 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
0 answers
57 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
0 votes
0 answers
104 views

Simulation of Mavic2 pro isn't holding drone on air

I've been trying to perform the simulation of Mavic2 pro on Webots using Python but during simulation the drone doesn't hold on air. I've tried "https://github.com/cyberbotics/webots/tree/master/...
Pallavi Sharma's user avatar
1 vote
1 answer
32 views

How to fix this: WARNING: > Speaker "engine_speaker": Impossible to play ''. Make sure the file format is supported

The full warning is WARNING: Invalid URL 'C:/Users/xxxxx/OneDrive/Documents/my_Webots_learning/controllers/autonomous_vehicle/'. Sounds must be in '.mp3' or '.wav' format. WARNING: MyMicro_Car "...
Doug Frasher's user avatar
2 votes
0 answers
78 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
1 vote
1 answer
79 views

How to import custom javascript modules from procedural proto nodes?

Is there a way to import my own javascript module from a procedural proto node? I have a .js file with some function defined that I would like to use in several .proto files. The file is called ...
Julieta Prieto Tarzia's user avatar
1 vote
1 answer
33 views

How to change the triangle limit in Webots that prevents shadows from a cadshape?

I am trying to get reasonable fidelity on a vehicle body I add as a shape to a vehicle. I model in Alias or Fusion and have good surface quality and don't want to lose that when my vehicle (robot) is ...
Doug Frasher's user avatar
2 votes
1 answer
79 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
3 votes
1 answer
311 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
87 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
52 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
409 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
1 vote
1 answer
105 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