Questions tagged [webots]

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

Links

217 questions
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…
Michael Trouw
  • 4,268
  • 3
  • 25
  • 41
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
  • 2
  • 11
1
vote
2 answers

`bash: webots: command not found` in my docker container because of multiple FROMs

I have a docker container that has Webots and ROS2 installed. However, running webots while inside the container returns bash: webots: command not found. Why? Container that does run webots (but no ROS2) Here's a container run from the Webots…
Drake P
  • 149
  • 5
1
vote
1 answer

How to communicate between Android app and Webots robot

I have an Android app simulated on Android Studio and written in Java and a robot simulated in Webots using python. I am trying to figure out a way for them to communicate between each other so for example, the app can send a signal to webots to…
RishtarCode47
  • 166
  • 3
  • 14
1
vote
1 answer

Webots - Adding animatedGeometry to my tracked robot gives strange shapes for the belt containing the wheels

Dears Thanks in advance If anybody can point me to the problem I've made a tracked robot , and added the left track with 7 wheels, defined the bounding Objects to include the wheels, but I get a strange shape as shown below : Best Regards
1
vote
1 answer

How to include Webots in a Docker container build?

I want to add Webots to my Dockerfile, but I'm running into an issue. My current manual installation steps (from here) are: $ # launch my Docker container without Webots $ wget -qO- https://cyberbotics.com/Cyberbotics.asc | sudo apt-key add - $ sudo…
Drake P
  • 149
  • 5
1
vote
1 answer

Adding delay to robot controller in webots

I'm doing a pick and place task using UR3 in webots. I need the robot to go to Pick position, grasp the object (close its fingers), and go to Place position. Something like following code: while (wb_robot_step(TIME_STEP) != -1) { // 1. Go to…
1
vote
1 answer

Use Python to read camera image the world run very slow in webots

I try to use python to read webots camera image, and publish it by ros topic. But when I write like: Img = camera.getImageArray() in the main loop, the simulation world will be very slow, speed like 0.1x. my program like this: from controller…
ke li
  • 11
  • 1
1
vote
0 answers

HTC Vive doesn't display with Webots

I want to render my simulations (for example images of a Mavic2Pro camera) on a HTC Vive. When I select View > Virtual reality headset > Enable, nothing but the 3 axes within a black background displays on the headset and view window. Here's a…
Gerald Kio
  • 11
  • 1
1
vote
1 answer

Change parameters during robot learning using simulators (Webots, Gazebo, etc)

I am searching a simulator for my robot learning research. In the learning process, I need to change parameters of both environment (friction coefficients, terrain height in the world) and robot itself (mass, inertia). How can simulators like Gazebo…
1
vote
1 answer

Creating delay between drone movements in Webots

I'm using Webots software to simulate a drone. I want my drone to takeoff and after reaching the desired altitude, it will remain at that position for about 5 seconds before initiating some other moves automatically. I have tried to create that…
Namfield
  • 35
  • 6
1
vote
1 answer

Webots crashes at startup on Windows

I downloaded Webots R2020a revision 1 and installed it on my Windows 10 machine. The first time I opened it, I got the following error message: The problem persists on uninstalling and reinstalling the software.
SmarthBansal
  • 143
  • 1
  • 8
1
vote
1 answer

/bin/netedit: symbol lookup error: /usr/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction

Error: /bin/netedit: symbol lookup error: /usr/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction This error appears when I try to run netedit. I have both the Webots simulation software, as well as the SUMO simulation…
1
vote
0 answers

Where to start on client side for Webots Web Simulation to create my own instance of RobotBenchmark

I am working to create my own instance of Webots RobotBenchmark to teach high school students Robotics and Python for online learning. I have established a cohosted, VMware based Ubuntu based session server and simulation server. Webot runs on the…