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…
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…
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…
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…
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)
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…
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.
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…
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…
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…
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.
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…
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…
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…
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…