Questions tagged [webots]

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

Links

217 questions
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
  • 307
  • 1
  • 8
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
  • 307
  • 1
  • 8
2
votes
1 answer

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
  • 154
  • 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
  • 307
  • 1
  • 8
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
  • 3,823
  • 23
  • 36
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 K S
  • 156
  • 2
  • 7
2
votes
1 answer

Webots R2019 OSM importer with 3D enabled

I'm trying to use the Python OSM importer from Webots R2019 to generate a world file with elevation information, using Geonames, but I'm getting the following error: python ~/osm_importer/importer.py --input test.osm --output=map.wbt…
K Caldas
  • 45
  • 3
2
votes
1 answer

color field of ElevationGrid

I'm trying to convert a 3d point cloud to an ElevationGrid node. Each point of the cloud has a color, so I thought that I could use color and colorPerVertex fields of ElevationGrid, but I don't think Webots renders the colors. What am I missing? The…
Inbae Jeong
  • 3,823
  • 23
  • 36
2
votes
0 answers

Cross compiling a Webots controller

I'm trying to use MinGW to cross compile from Linux to Windows a robotic controller (.exe) for Webots (simulation software). Webots supplies a Makefile.include file common to all platforms, that prepares the building environment for compilation…
joaocandre
  • 1,251
  • 2
  • 20
  • 31
1 2
3
14 15