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

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
  • 4,053
  • 25
  • 38
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,621
  • 4
  • 25
  • 42
2
votes
1 answer

reverse engineer OSX User Diagnostic Report stack trace

I'd like to find out where exactly an application written in C/C++ fails. I can not debug the application directly, neither using gdb / lldb or using an IDE because the application is launched by a program (it is a robot controller for the webots…
Michahell
  • 4,905
  • 5
  • 29
  • 45
2
votes
2 answers

mobile robotic (e-puck) programming (c language)

i am programming my differential drive mobile robot (e-puck) to move to a certain coordinate with specific orientation. the robot has no problem reaching the coordinate, however when it reaches the coordinate, it cannot settle on the specific…
user168124
  • 21
  • 2
2
votes
1 answer

connect webots and MATLAB

I want to connect cyberrobotics Webots software and MATLAB. In Webots I choose "Robotic Contest" and I opened world "nao_matlab" that is exist in webot and when I compile and run this message in console shown: what's problem? Starting…
irisadaf
  • 101
  • 3
  • 12
1
vote
0 answers

How can I save an image captured by my robot's camera in webots?

I have the below function to get the camera image and return the RGB values for color detection as part of my project. However, I see that the image is also obtained. I would like to save this image so that I can feed it to a CNN model for image…
1
vote
1 answer

PROTO nodes (Current Project) does not exist

I am currently trying to add a PROTO that is in my project file to an existing world. However, when I try to add a new node, it does not display the "PROTO nodes (Current Project)" section. It only shows: _ Base nodes PROTO nodes (Current world…
Platypus
  • 11
  • 2
1
vote
1 answer

"ValueError: `x0` is infeasible." for least_squares.py

I'm trying to use this code in Webots for one of the universal robots. The code works well until I try to the "ikResults" in line 49. The program is trying to use the least_squares.py but I'm getting the error for "'x0' is infeasible". This is the…
1
vote
1 answer

Communicating using receiver node in webots

I want to implement an emitter robot and a receiver robot in webots. I have written following code. #include #include #include #include #define TIME_STEP 64 int main(int argc, char **argv)…
1
vote
1 answer

How do I turn 2 cubes into a 3rd cube in Webots?

I'm trying to simulate an assembly factory. In which, several robots gather the necessary parts (objects A & B) and drop them off on the assembly table. Once A & B are both on the assembly table, I want an event to trigger which converts A & B into…
1
vote
1 answer

Can I run WeBots from Jupyter?

I am reading through Webots official tutorials, and I see they use their IDE, Pycharm etc. But can I use Jupyter? I like Jupyter's ability to run code block-by-block... I see examples in the net, but they are ready to use simulators, while I want to…
Steve Brown
  • 369
  • 1
  • 3
  • 12
1
vote
1 answer

Can we change the field Parameters (Environment Parameters) in Webots using the controller?

I am a new user to Webots. I just wanted to know whether the parameters that we set in the environment be able to change through the controller. As an example, When we add a Distance sensor, will it be able to change its range through the…
1
vote
0 answers

Import .obj and .mtl files in Webots using a PROTO file

I am trying to import a .obj with a .mtl linked to it. When importing it using the 'Import 3D Model' option, everything works perfectly, the material is well kept: But when I try to import it from a PROTO file, the material is not added, and the…
mAxYoLo01
  • 41
  • 2
1
vote
1 answer

Can't connect controller to specific instance of Webots

I am trying using Webots in combination with stable-baselines3 for reeinforcment-learning purpose. I tried using Webot with multiple instances, but connecting the controller to a specific one doesn't work. It mostly connects to the newest one. I…
Hotsch
  • 13
  • 2