Questions tagged [webots]

Webots is an open-source development environment used to model, program and simulate mobile robots.

Links

255 questions
1
vote
1 answer

Is it possible to monitor terminal for specific output?

I am using NodeJS to run webots by command line and have redirected the stdout too the node terminal. My problem is that I want to trigger an event based on a console log. I tried redirecting the stdout of the command to another file, but this…
1
vote
1 answer

How do you add a PROTO node programmatically in Webots?

Using a Supervisor controller, is it possible to programmatically add Robot nodes to a running simulation which are defined in .proto files? I tried using importMFNode, but it looks like it only supports .wbo or .wrl files.
sciencectn
  • 1,405
  • 1
  • 16
  • 25
1
vote
2 answers

`bash: webots: command not found` in my docker container because of multiple FROMs

I have a docker container that has Webots and ROS2 installed. However, running webots while inside the container returns bash: webots: command not found. Why? Container that does run webots (but no ROS2) Here's a container run from the Webots…
Drake P
  • 174
  • 9
1
vote
1 answer

How to communicate between Android app and Webots robot

I have an Android app simulated on Android Studio and written in Java and a robot simulated in Webots using python. I am trying to figure out a way for them to communicate between each other so for example, the app can send a signal to webots to…
RishtarCode47
  • 365
  • 1
  • 4
  • 18
1
vote
1 answer

Webots - Adding animatedGeometry to my tracked robot gives strange shapes for the belt containing the wheels

Dears Thanks in advance If anybody can point me to the problem I've made a tracked robot , and added the left track with 7 wheels, defined the bounding Objects to include the wheels, but I get a strange shape as shown below : Best Regards
1
vote
1 answer

How to include Webots in a Docker container build?

I want to add Webots to my Dockerfile, but I'm running into an issue. My current manual installation steps (from here) are: $ # launch my Docker container without Webots $ wget -qO- https://cyberbotics.com/Cyberbotics.asc | sudo apt-key add - $ sudo…
Drake P
  • 174
  • 9
1
vote
1 answer

Use Python to read camera image the world run very slow in webots

I try to use python to read webots camera image, and publish it by ros topic. But when I write like: Img = camera.getImageArray() in the main loop, the simulation world will be very slow, speed like 0.1x. my program like this: from controller…
ke li
  • 11
  • 1
1
vote
0 answers

HTC Vive doesn't display with Webots

I want to render my simulations (for example images of a Mavic2Pro camera) on a HTC Vive. When I select View > Virtual reality headset > Enable, nothing but the 3 axes within a black background displays on the headset and view window. Here's a…
Gerald Kio
  • 11
  • 1
1
vote
1 answer

Change parameters during robot learning using simulators (Webots, Gazebo, etc)

I am searching a simulator for my robot learning research. In the learning process, I need to change parameters of both environment (friction coefficients, terrain height in the world) and robot itself (mass, inertia). How can simulators like Gazebo…
1
vote
1 answer

Creating delay between drone movements in Webots

I'm using Webots software to simulate a drone. I want my drone to takeoff and after reaching the desired altitude, it will remain at that position for about 5 seconds before initiating some other moves automatically. I have tried to create that…
Namfield
  • 43
  • 9
1
vote
1 answer

Webots crashes at startup on Windows

I downloaded Webots R2020a revision 1 and installed it on my Windows 10 machine. The first time I opened it, I got the following error message: The problem persists on uninstalling and reinstalling the software.
SmarthBansal
  • 174
  • 1
  • 10
1
vote
1 answer

/bin/netedit: symbol lookup error: /usr/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction

Error: /bin/netedit: symbol lookup error: /usr/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction This error appears when I try to run netedit. I have both the Webots simulation software, as well as the SUMO simulation…
1
vote
0 answers

Where to start on client side for Webots Web Simulation to create my own instance of RobotBenchmark

I am working to create my own instance of Webots RobotBenchmark to teach high school students Robotics and Python for online learning. I have established a cohosted, VMware based Ubuntu based session server and simulation server. Webot runs on the…
1
vote
0 answers

How to solve linker error when using opencv in webots

I have to use opencv in my project and I edit my makefile for opencv. But it gives "undefined reference to " error. Code is compiling and linking if I don't use any opencv functions. I am using opencv version 4.4. I extract the robotic codes to…
Kamil Kaya
  • 47
  • 5
1
vote
1 answer

How to connect two robot arms by sharing one manipulator in webots

I am working on a project that two robot arms control a rope to play a toy. I want to first simulate it in webots. Each robot arm has a stick as the end-effector. And there is a rope connecting both the two sticks. However, in webots simulation,…