I have made an object like the one in the picture. How to make bounding objects follow their shape?
https://i.stack.imgur.com/NCnIu.jpg
I learn to make that shape in this tutorial…
I am trying to build a tensegrity structure in Webots, where a fundamental structural feature is 2 bars and a linear spring connecting end to end to form a triangle. Is there any way to build such a structure?
To be more specific, I built a 2-bar…
Im attempting to use the numpy module in webots but whatever I try I always get
INFO: assignment_2_controller_2: Starting controller: python3.6 -u "assignment_2_controller_2.py"
[assignment_2_controller_2] Traceback (most recent call…
I am using two cameras without lens or any other settings in webot to measure the position of an object. To apply the localization, I need to know the focus length, which is the distance from the camera center to the imaging plane center,namely f. I…
I have a simulation where a robot simulate an ants behavior: while on his way back to the nest, the robot leaves a trail. In the real world ants use trail pheromones to achieve this.
To emulate these pheromones in the simulation I want my robot to…
Robot controller uses RRT to generate a set of nodes (x,y) taking it from start to finish. If possible I would like for these nodes to somehow show in the environment.
Edit:
root = supervisor.getRoot()
root_children_field =…
I'm new to webots program and I'm building a new robot controller, but when I hit the start simulation button, it gives me this error :
WARNING: "python3.8.exe" was not found.
Webots requires Python version 3.7 or 2.7 (64 bit) from python.org in…
I'm using webots to test my algorithms on a simulation robot model. I want to test my robot with an uneven ground to prove the robustness.I find a floor object called unevenTerrain in webots, which can randomly generated uneven terrain based on…
I want a webots robot to move forward and then rotate 90 degrees clockwise in exactly the same manner 4 times to go around a square. The robot will do the first leg perfectly but I can not figure out how to reset the position sensor to 0 at the end…
I have read the FAQ on how to get velocities from nodes. Yet, of the methods described, none feature a way to get the velocity from a passive servo motor (motor sensing).
I'm trying to use a motor, set to torque 0, which makes it 'loose', as a…
I am attempting to modify the controller file highway_overtake.py in order to access keyboard inputs from the user. After following the documentation, the relevant code appears as follows:
from Controller import Keyboard
keyboard =…
When using an external python script to start webots (or when restarting an environment) it would be necessary to know when the simulation is ready, for an external controller to (re-)run.
Is there any sort of "ready" signal that webots returns…
I'm modifying the highway_overtake.py controller to be able to track the position and speed of the neighboring SUMO vehicles (the ones that are highlighted in transparent colored boxes). How can I access the SUMO vehicle information that is in close…
I am writing a new ros node in webots-ros and sometimes I get this warning: QObject::startTimer: Timers cannot have negative intervals. And the webots simulation freezes.
Any ideas on what can be the problem?
Is it possible to control the simulation/ world / physic step through the (supervisor) API ?
(this would be needed for an external ML evaluation & action intervention before continuing the sim)
This is somewhat related to Controlling Webots…