Questions tagged [webots]

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

Links

217 questions
5
votes
1 answer

Changing global coordinate frame in webots

I just started with webots and are faced with the following problem: Webots global coordinate frame defines its y-axis to show upwards (gravity vectory with negative y-component). However I would like to build a world around a coordinate frame in…
4
votes
1 answer

Control Webots from external Python IDE

Is it possible to control Webots from external Python IDE (like pyCharm) ? I would appreciate if there is an example showing how to do so and location of modules to be added. Thanks
wbadry
  • 643
  • 11
  • 24
4
votes
1 answer

Webots Programming with python

I am a Student in Newcastle University, currently undergoing my Master's Degree. My final project is a simulation using webots. I have to simulate a mobile robot, using python 2.7 coding. The problem is that I cannot find any documentation on python…
3
votes
1 answer

Webots - Avoid "joint" objects getting inside one another (i.e. how to enable collision for objects in hinge joint?)

I have a hinge joint between two objects, a sphere and a box. I wonder how I can avoid the sphere going inside the box when it's rotating around the box with a rotational motor. Here is a snapshot of the sphere getting inside the box when rotating…
Sanjay Verma
  • 980
  • 14
  • 33
3
votes
1 answer

How to run python files in Webots

I am a new user to webots R2109b. I wrote a code to run youbot but I'm not able to run the controller python files. Even if I reload my world files it's not compiling my controller files. Should I change the python path to the webots directory? if…
3
votes
1 answer

Robot Model drops off the floor after running the simulation

I imported a model in webots simulation from URDFs in ROS. The robot is a tricycle drive with 3 castor wheels. I have followed the wheel style as in the webots style guide and changed accordingly. My problem is that when I run the simulation the…
Tahir Mahmood
  • 307
  • 1
  • 8
3
votes
2 answers

SUMO ego vehicles keep right lane after a while

I'm using Webots to simulate an autonomous vehicle. I created the net files and sumo.rou.xml, but after starting the simulation, all ego vehicles will keep their right lane. I want to have traffic in all lanes. Is there anybody here to tell me how…
Mojmal
  • 33
  • 4
3
votes
1 answer

Vehicle modelisation on WeBots

I would like to know how the vehicle's objects are modeled in WeBots and its dynamics equations. I know that two types of control can be used: using cruising speed, with targets a final velocity but with a constant acceleration (proportional to the…
Nelson
  • 57
  • 5
3
votes
1 answer

Adding supervisor node on Webots R2019a

I am very new in Webots simulator as well as in robotics. I am using new open source version of webots. I believes it is not compatible with older versions of webots. I tested some old programs available on GitHub. That doesn't work. In some…
Arun K S
  • 156
  • 2
  • 7
3
votes
1 answer

MAC 10.7 : Where is the gl.h file?

Possible Duplicate: FreeGLUT on Mac OS X Lion First quizz : could anyone just please explain me why am I not able to find the gl.h file anywhere on my mac ?! If this question can simply be answered maybe you do not even have to read the rest, but…
Wat
  • 101
  • 1
  • 2
  • 5
2
votes
0 answers

Genetic Algorithm Implementation for Self Balancing Robot

I have made a Self Balancing Robot in Webots that learns to balance itself with the help of a Genetic Algorithm. The setup works well enough but I'm not really sure how much of a good Genetic Algorithm it is and because I did this on my own I'm not…
2
votes
1 answer

Drone simulation in webots

I want to develop a drone using Webots with python or c++. I want to program the drone to take off automatically, follow a predetermined route (like moving on a sinusoidal pattern) and then return and land. Does anyone have an experience in doing…
Namfield
  • 35
  • 6
2
votes
1 answer

Webot UI text too small

Hi, I used Webots and I found that not only the texts in scene tree view but the pop-up window are extremely small. I tried to change my display resolution but I found that only one available (3840x2160), and xrandr can't solve the question. The…
Sean Lu
  • 63
  • 5
2
votes
1 answer

Webots simulation: Mobsya's Thymio2 pen doesn't write

I want to simulate a Thymio 2 drawing sewing patterns on fabric. So I created a world and implemented the behavior of the robot. Then I added a Thymio2Pen to the bodySlot but the pen didn't draw at all. The robot did however drive how it is supposed…
User883
  • 21
  • 1
2
votes
1 answer

Problem with linking OpenCV to Webots(Ubuntu)

I've just started using Webots and I want to include OpenCV for a project. I read that in order to do this, I should modify the makefile of my controller. So, I made a simple controller in which the robot goes forward and it is just fine. I opened…
loukasp96
  • 23
  • 3
1
2 3
14 15