I am building a little maze solver project using Webots. I am writing my controller in C programming language. I am using Windows OS.
Can someone let me know if there is a way to pause the simulation when a certain event happens?
Something like :…
I've this robot with physics and all:
The problem I face is that, as soon as I start the simulation, a part of the robot will sink into the RectangleArena, like this:
The Robot does have some weird joints, but if you pay attention to the bottom…
I've a Robot node with children = [SolidCylinderJoint]. SolidCylinderJoint is a proto that I created, which defines a DEF node as a field, i.e.,
field SFNode geometry DEF BODY Cylinder {
height 0.1
radius 0.05
…
I have this code from webots lidar.wbt . I need to get some lidar data to be plotted using opengl for another project.
#include
#include
#include
#include
#include…
I want to use Simulink of MATLAB to calculate the foot trajectory and send the data to Webots to execute. Meanwhile, Webots send the data which measurd by sensors in robot to Simulink and modify the controller. Can I realize it? Is there a more…
When I am debugging my webots controller in Pycharm, I noticed that a motor will have two constants: LINEAR and ROTATIONAL.
The proto for the NAO lists "RShoulderPitch" as a rotational motor (for a Hinge2Joint), but in PyCharm, the motor returned by…
When I try to do cross compilation or remote control with any controller in the last version of webots, whether with some example of the Darwin robot or some controller that I have programmed, I have many errors. I get the following code when I try…
I want to implement some scheduling algorithm using webots, like FIFO, EDF(preemptible), to control automobile's tasks( like turn left, turn right).
But it looks like there's no way to control one task's preemption. So how can I create a task called…
Short version is the post title.
Long explanation here.
Recently, I've been working on a rover project, the suspension mechanism for which is rocker-bogie mechanism with a differential bar (not a gearbox) .
I have been working on the simulation…
I'm trying to use reinforcement learning in Webots with keras-rl, but resetting the world with supervisor bot kills the whole python process. Is there a way to reset the simulation without killing the process?
I'm running Ubuntu and using IntelliJ…
I am trying to simulate an overtaking scenario by editing the existing highway_overtaking.wbt in Webots to observe the indicator lights turn on/off before switching lanes. How do I use the Driver library to do so?
In the modified scenario I…
I want to create a real time simulation of autonomous vehicle for an intersection manager. I was able to do it by creating a fixed number of cars before the simulation starts. Now, I would like to create a simulation for the same purpose but now I…
I want to use a BallJoint in my proto however, I am getting this Warning: (PROTO) > Solid > BallJoint: Skipped node: Cannot insert RotationalMotor node in 'device' field of BallJoint node. Any ideas how to fix this? Here's how I define it:
…
I want to have a controller that somehow runs 3 processes to run the robot's code.
I am trying to simulate a humanoid soccer robot in webots . To run our robot's code, we run 3 processes. One for the servomotors' power management , another one for…
I'm currently trying to make the Connector Device work with ROS. My first step was to just take one of the robots of the "connector.wbt" world and place it in a new world and switching the robots controller argument to "ros"as one can see…