Questions tagged [webots]

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

Links

255 questions
0
votes
1 answer

Is there any api for setting the initial position and rotation of a specific robot in webots

I'm programming with a robot such as robotis op2.For some reasons, I want to set the initial position and rotation of the robot with the code rather than directly click the scene tree to change the field. Can i change the position (such as (0, 0.5,…
0
votes
0 answers

Webots recorded movie default saved location

I used Webots with Python external controller and want to try to record my simulation. By looking at the console output of webots, I can see that recording movie success. I used Python with ROS to create controller for DarwinOP3, Normally all files…
Eko Rudiawan
  • 187
  • 3
  • 9
0
votes
0 answers

How Dyanamics of car model is encorporated in webots

I am trying to control the car in webots using some control laws from literature. I want know that how dynamics of car are incorporated in webots for various car models......?
0
votes
1 answer

Problem while setting a specific rotation to a humanoid robot in webots

I have a humanoid robot which is something like a modified version of robotis op3. When I change its rotation, the robot surprisingly happens to face ridiculous problems. For example, its joints start to take apart or merge into each other. Does…
S.kh
  • 45
  • 5
0
votes
1 answer

Cannot get the value of the position sensor in webots::PositionSensor object

I am trying to get the position of a PositionSensor using Webots. I am using the e-puck robot and my code is below #include #include #include #define TIME_STEP 64 #define MAX_SPEED 6.28 // All the…
Jav Solo
  • 576
  • 1
  • 6
  • 15
0
votes
1 answer

How to make a complex robot model in webots?

I make my robot using cyberbotics webots. I can’t figure out how to make a beautiful 3D model. At least at the mantis hexapod level. I understand that you can import ready-made fraud only in vrml97 format, but it is not supported by fusion 360 and…
nixoid
  • 15
  • 4
0
votes
1 answer

How to Recognize objects using camera on Webots

I am trying to use the camera on https://robotbenchmark.net/ for the Highway Driving, but I have some difficulties understanding the manual of the camera and object recognition. I have been able to recognize some objects as seen below with…
Costas Revi
  • 3
  • 1
  • 2
0
votes
1 answer

Problems using the Torque mode for vehicle control

I'm trying to use torque and braking to control the vehicle but the error "wb_motor_set_force() called with an invalid 'force' argument (NaN)." keeps appearing. Here are the code…
Nelson
  • 67
  • 5
0
votes
0 answers

webots 2020a-rev1 snap controller matlab problem Ubuntu 18.04.3

I installed the snap version of webots 2020a-rev1 in Ubuntu 18.04.3. I have to define controllers as extern. But how does webots know which kind of language is used for controller? Maybe the problem is related with another post which defines that…
0
votes
2 answers

Integration with open-ai gym / stable baselines

Open AI gym is best posed to become the benchmarking standard for ML, as well as the stable baselines algorithms are one of the most popular ML libraries. Is there any guide on how to integrate Webots with the gym environment for that…
Aerodynamic
  • 782
  • 5
  • 19
0
votes
1 answer

Webots: robot simulator

I downloaded and try various versions of the Webot software but after installing it always shows the error of unexpected stop working webots on windows. I need the software please give some solution.
0
votes
1 answer

problem using MATLAB(R2019b) controller in Webots R2020a revision 1

OS: both of Windows 10, Ubuntu (64bit) MATLAB: R2019a, R2019b Webots: R2020a revision 1 World file: webots/projects/languages/matlab/worlds/e-puck_matlab.wbt Problem: Can not run MATLAB example [matlab] Could not find file allincludes.h. [matlab]…
0
votes
1 answer

How to set sensor noise/resolution by code?

I would like to set the noise & resultion values on startup by code (instead the node viewer). I have been looking through the API for motor and position sensor, but can't find a function that allows to get or set those values.
Aerodynamic
  • 782
  • 5
  • 19
0
votes
2 answers

Webots e-puck turn 90 degrees

How can I make a e-puck robot turn 90 degrees into a certain direction in Webots ? I tryed using wb_robot_step(TIME_STEP) to make the robot rotate for a certain amount of time but I didnt quite get it. I also read somewhere online that I could…
ROBlackSnail
  • 501
  • 1
  • 5
  • 20
0
votes
0 answers

Migration from older version

Helloo, Folks! I am tring to migrate from webots 7.4.3 to newest version that's 2019b rev1 but find no clues. For now, when I open old model, some errors occur as following (tons of similar items have been filtered out): ERROR:…
Bond Sun
  • 1
  • 1