I'm writing a program for Webots in C++ in Visual Studio. I'm trying to cross-compile from the Webots software onto the e-puck1, but since I'm in VS it doesn't have the makefiles necessary to do so, as far as I know. I've tried to remake the…
I'm trying to simulate a custom gripper in Webots. For this purpose, I use an active-passive connector to simulate the custom gripping mechanism. So far, so good. The gripping works fine.
However, then I move the object together with the gripper.…
I'm writing a double joint robots and its controller for a forward kinematics example.
An interesting thing is that the second rotational motor attached to the first rotational motor with a link starts moving to the target position only after the…
Is there a way to import Webots controller library in a simple python script running a ROS node inside a ROS workspace?
I have seen the Webots ROS_Python exmaple and understand the concept behind. But I am unable to import
from controller import…
There are many papers that use "servo" to motor the robot, but the base nodes of Webots 2019a don't include "servo". what's the difference between "servo" and "HingeJoint"? Should I use the "servo" node if I want to know the joint position? The…
I want to control a robot using MATLAB in Webots 2019a. When I start the simulation using launch.m, it always fails. The information of the error is: Undefined variable "matlab" or class "matlab.addons.installedAddons" How can I solve this…
Webots have walking parameters in config.ini file for Robotis Op 2.
I want to learn the limits of these parameters like X offset, foot size.
Can you help me?
Walking Parameters
This appendix explains all the parameters that can be set in the…
I created a new controller for Webots in Visual Studio in c ++ (Wizard -> new project controller ...) but when I run the simulation the controller is crashed
this is the code:
Basically it is the controller that comes from deafult
#include…
I have to run an optimization on tendon stiffnesses in a modelled leg. Changing the spring constants manually causes no issues and the physical model seems to work well. The issue presents itself when I attempt to optimize for these values.
Since…
Sensors are usually enabled with wb_XXX_enable(tag, sampling_period),
and the sensor values can be retrieved with wb_XXX_get_values(tag).
How do we know if the values retrieved with wb_XXX_get_values(tag) are new values?
A naive approach would be…
I would like to measure the distance between the rear wheel axis middle point until the driver's seat of the BMW X5 and Citroen CZero models available in WeBots. Can any of you suggest a program to measure such distance, or a way to get it from the…
I'm trying to make a line follower in Webots using the infrared distance sensors (same as the e-puck line follower). The problem is that the sensors return very inconsistent values ranging from 250-550 on black surface and between 700-1100 on white…
I am using the last version (2019) for both webots and visual studio, what i'm trying to do is to connect these two according to https://cyberbotics.com/doc/guide/using-visual-studio-with-webots. but once i put $(ProjectName).exe in Linker > General…
I wish to have a touchsensor on the end of a moving arm. However, through the Python API, getDevice('touch_sensor') only returns sensors that are directly under the Robot parent.
Is there a way I can either get a sensor that is nested (under a…
According to https://www.cyberbotics.com/doc/guide/epuck#bluetooth-remote-control I can remotely control from webots e-puck robots. I have e-puck2 robots, can I do it for this version of robots?
Or can I cross-compile it and upload to e-puck2?
If…