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 simulation: Mobsya's Thymio2 pen doesn't write

I want to simulate a Thymio 2 drawing sewing patterns on fabric. So I created a world and implemented the behavior of the robot. Then I added a Thymio2Pen to the bodySlot but the pen didn't draw at all. The robot did however drive how it is supposed…
User883
  • 21
  • 1
2
votes
1 answer

Problem with linking OpenCV to Webots(Ubuntu)

I've just started using Webots and I want to include OpenCV for a project. I read that in order to do this, I should modify the makefile of my controller. So, I made a simple controller in which the robot goes forward and it is just fine. I opened…
loukasp96
  • 33
  • 4
2
votes
1 answer

How to import Webots controller in a Ros-python script

I want to write a controller in Python and trying to import Webots controller library: #!/usr/bin/env python import rospy from std_msgs.msg import String from time import sleep from controller import Robot and get the error Traceback (most recent…
2
votes
2 answers

Running an external python controller from console

While trying to figure out how to integrate the gym interface, I'm trying to get an extern robot python controller running from console. I have follwed the offical guide and my (macOS) env vars set accordingly. When I try to run the controller by…
Aerodynamic
  • 782
  • 5
  • 19
2
votes
1 answer

PositionSensor Resolution Unit Definition?

The position sensor's resolution field simply has a float value, but not even the documentation of the position sensor specifies what unit is used, does anyone know ? (or can we just infer that it is rad/s as the motor's position is in that unit)
Aerodynamic
  • 782
  • 5
  • 19
2
votes
1 answer

Webots - Open multiple windows side by side

I'd like to edit my proto files and my project files side by side in two different windows (I've a big screen / monitor). However seems like I can only create a "New world" which will open in the same window, and there is no "Window" menu either. Is…
Sanjay Verma
  • 1,390
  • 22
  • 40
2
votes
1 answer

Ros controller joystick

I have to make Controller for Pedestrian, that will be managed with joystick (C++ and ROS). Does somebody have any Controller that does a similar function.
2
votes
1 answer

How to edit PUMA560 proto file in webots

I'm new to webots and want to design simulation using PUMA560. In there I need to change the gripper shapes and size. But when I replace the existing gripper with a new solid box shape, suddenly everything went disappear. How can I edit the proto…
2
votes
1 answer

NAO robot sinking into floor (webots)

I am having trouble with my NAO robot sinking into the webots floor. For the floor material, I have tried a plane, a box, a regular floor, etc. In all cases, once the NAO's selfCollision is set to TRUE, the robot stinks into the floor when I start…
Sheila
  • 35
  • 4
2
votes
2 answers

Webots displaying processed numpy image (OpenCV Python)

I am trying to simulate a line follower with Pioneer 3AT in Webots. This is the first step towards my application involving swarm robotics. I have placed camera. However, I am not able to display image processed with OpenCV in the simulation display…
Prasad Raghavendra
  • 198
  • 1
  • 6
  • 15
2
votes
1 answer

Can I use simulink to control a robot in Webbots 2019a?

I have made a robot in webots 2019a and it can run with c controller. But if I want control the robot in simulink, how to do it? I can't find any Tutorials from Official document.
LING
  • 37
  • 3
2
votes
1 answer

How to sync robot in ROS?

In Webots to synchronize robots synchronization field should be set to True, so that it waits for wb_robot_step as stated here. I have two questions: How to use wb_robot_step when using ROS, as we have no option to use it in the context of…
Tahir Mahmood
  • 305
  • 1
  • 11
2
votes
1 answer

Does Webots have headless mode

I saw this question from 2014 on the webots forum, but nothing since then. We would like to run our simulation on a powerful server and remotely access it. Does webots have the ability to start in a headless mode, or does it require a graphical…
2
votes
1 answer

How to attach Connector after locking

I created a small sample simulation with a custom gripper and "handle". To connect the gripper to the object I used the Connector. Locking seems to work. However, I can't get the object move together with the gripper after locking. Any ideas on how…
machinekoder
  • 196
  • 1
  • 9
2
votes
2 answers

How to run Webots examples with MacPorts?

When i try to run the samples/robotbenchmark/squar_path example I first got the message: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
1
2
3
16 17