Skip to main content

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
0 answers
12 views

Webots to epuck2 bluetooth remote control - unclear documentation / getting started

been looking at using the epuck2 with webots for educational purposes and I hit a snag. Windows 11, Webots r2023b, epuck2 (latest firmware manually updated) Bluetooth connection to the epuck2 works as ...
user98908's user avatar
2 votes
1 answer
17 views

Trying to launch my robotic arm in Webots fails

I am trying to launch my urdf file in Webots but somehow it launches the default robot from the ROS2 Simulators tutorial. I edited the robot_launch.py according to the changes in the tutorial but ...
persona's user avatar
  • 23
1 vote
1 answer
17 views

Different simulation speeds between Python controller and C++ controller in Webots

I am working on a project in which i want to use Reinforcement Learning to fly the Crazyflie drone. To do this, i need the webots simulation to run as fast as possible. I managed to create a python ...
PLLBSS's user avatar
  • 11
1 vote
0 answers
17 views

Seeking Guidance on Achieving Extensive Control Over Webots Scene Elements

I need extensive control over the scene elements in Webots. My goal is to modify and move scene nodes, access sensors from multiple robots, and control the timestep in a centralized way. Does the ...
Sergio Eslava Velasco's user avatar
0 votes
0 answers
28 views

ROS 2 Jammy: Unable to Install Webots distributed package

I'm currently trying to install the distributed package for ros2_webots but keep receiving the following error: ...
Tyler Roman's user avatar
0 votes
0 answers
13 views

webots mass question

I've set the robot's mass to 100,000 in Webots, but the robot's wheels are sinking into the ground. Adjusting the CFM to 1e-05 didn't improve the situation. How can I solve this? Can Webots only ...
陈泽民's user avatar
0 votes
0 answers
11 views

Webots wb_robot_step and basicTimeStep

In the Webots user manual, it is mentioned that wb_robot_step should be a multiple of basicTimeStep. This indicates how many times basicTimeStep is executed within wb_robot_step. Assuming Scenario 1: ...
陈泽民's user avatar
1 vote
0 answers
24 views

How do I access a device inside a procedural proto node in the robot controller when the proto is regenerated mid-simulation?

Context: I've made a procedural proto node that contains several proto sensors. It works basically by having an MFNode field in the definition that I put my proto-gps in (that proto contains basically ...
Pyphais's user avatar
  • 31
0 votes
1 answer
33 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
  • 31
0 votes
0 answers
22 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
1 vote
0 answers
28 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
  • 31
0 votes
0 answers
16 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
28 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
25 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
3 votes
0 answers
147 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
23 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
18 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
77 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
17 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,367
0 votes
0 answers
9 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
13 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
30 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
76 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
266 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
46 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
24 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
16 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
248 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
33 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
305 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
28 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
714 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
74 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
52 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
80 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
  • 702
0 votes
1 answer
172 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
138 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
  • 702
1 vote
1 answer
358 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
46 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
68 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
467 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
197 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
49 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
63 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
112 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
35 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
82 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
86 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