Questions tagged [webots]

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

Links

255 questions
2
votes
1 answer

How to Change the command line macros in Visual Studio 2017

I'm trying to create a Webots controller in VS2017 (through the webots software). When it loads up Visual Studio, everything is linked correctly and compiles correctly until I close VS and reopen it. Afterwards the macro of $(WEBOTS_HOME) changes to…
Josh Chica
  • 23
  • 2
2
votes
2 answers

Controlling Webots simulation step

Is it possible to calculate the Webots simulation step programatically, i.e. each time one module finishes its planing than the Webots should calculate the next simulation step dependent upon the output of the module. I have checked the Supervisor…
Tahir Mahmood
  • 305
  • 1
  • 11
2
votes
1 answer

Rare wheels (Hinge2joints) not rotating

I am using hinge2joints to model spherical wheels. I have set the parameters i.e. anchor and 2 axis(y, z). The wheel rotates as desired when I change the position of joints. After running the simulation and moving the robot, these two rare wheels do…
Tahir Mahmood
  • 305
  • 1
  • 11
2
votes
0 answers

Steering angle exceeds the value specified

I have simulated a robot in Webots. The robot has one active castor wheel. The castor wheel has two motors one for steering and one for linear velocity. I am using Webots ROS control which gives everything in the form of ROS services. For…
Tahir Mahmood
  • 305
  • 1
  • 11
2
votes
1 answer

How to edit the nodes of the built-in robot

I found that in the latest version of webots (2019a), it is not possible to edit the model tree nodes of the built-in robots. They seem to be encapsulated and there are no Children nodes. I hope to learn modeling with examples of built-in robots,…
Alan Liu
  • 23
  • 2
2
votes
1 answer

Changing origin of the floor

Is it possible to change the origin of a floor from center to say left upper corner in Webots? For exmaple the size of then rectangular arena is 20x20 and I want to set its origin from 0,0 to 10,10
Tahir Mahmood
  • 305
  • 1
  • 11
2
votes
2 answers

How to obtain the global position of Transfom Node nested inside a Proto

Dear Webots community, I'm currently trying to obtain the global position of a Transform (An attached part of a robot's body). I now that the supervisor_API gives the possibility to get the position of a node. However, as stated in in the…
2
votes
1 answer

How to program a controller using python3

Does webots support python3? If yes, how can I change the interpreter? I need to use python3 in order to load other packages that I need, ros, pandas, numpy.
Francesco Z
  • 164
  • 1
  • 12
2
votes
0 answers

Robot fails to move in the Webots environment

I am trying to teleoperate a robot which is a forklift. The details of the robot are as follows: Weight 700KG 1 actively steered caster wheel and 2 passively steered rear wheels 2 passive standard wheels at forks (these 2 break sometimes after…
Tahir Mahmood
  • 305
  • 1
  • 11
2
votes
1 answer

Remote object creation in Webots

I have a robot that is remotely controlled by ROS (python) in Webots (it is using ros_automobile controller). All I want to do right now is to create (render) object remotely given location and orientation of object in my python code. For example,…
kurshakuz
  • 31
  • 4
2
votes
1 answer

How to synchronize Webots Time with ROS time?

I'm currently trying to synchronize the ROS time with Webots. What I'm expecting: The ROS time is fully depends on the Webots time. If the simulation starts running slowly, the ROS time should slow down as well, if I run webots in fast mode (>…
2
votes
1 answer

Structure of proto projects

I have multiple Webots projects which are managed in each git repository. How can I import the projects into git submodules so that I can put different types of robots into a project? The projects have the following structure: robotA repo …
Inbae Jeong
  • 4,053
  • 25
  • 38
2
votes
0 answers

Ploting an image with 'imshow' of opencv in webots

hi I am using opencv in webots and I want to plot an image . This is the controller: #include #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include…
S.kh
  • 45
  • 5
2
votes
1 answer

Webots R2019 OSM importer only generating trees

The Webots R2019 OSM importer tool is only generating trees in the World (.wbt) files, as shown in this example: python ~/webots/resources/osm_importer/importer.py --input=map.osm --output=map.wbt * OSM filed parsed * 0 roads generated * 0…
K Caldas
  • 45
  • 3
2
votes
1 answer

Turning robot precisely

I want to control a robot having differential wheels. Is it possible to turn a robot in certain degrees without encoders? How can I turn robot precisely in webots in certain degrees? For example 90 degrees or 20 degrees.
Arun
  • 343
  • 3
  • 12
1 2
3
16 17