Again, Webots does exactly this assignment: dMassSetParams(&mass,value,1,2,3,4,5,6,7,8,9); If the values retrieved from dBodyGetMass() are wrong, then it is...
Hi Amit, You should declare the fed structure as a global variable, otherwise, it won't work if declared in one function and used in another... i.e.: static...
Hi: I'm trying to write a java supervisor that send the actual position of my robot to the controller. I'm reusing the java supervisor example that is in the...
Hello Olivier, When I tried to retrieve the values using dBodyGetMass() after setting them with dMassSetParams(), I got the correct results. thanks and...
Hi, I am trying to simulate a robo-soccer field. The problem however is that the once the ball is kicked, it does'n't seem to stop and keeps on moving. It does...
It extracts a coordinate from terrain and it moves the khepera with the destination which it designates. Store the coordinate which it extracts from terrain...
Hi, Did you tried to reduce the bounce parameter as well? Please note that many of those parameters are actually an average of the Physics fields of the two...
Hi again: Finally we have found the solution: to do a robot_step(0) after getting the position. After all, we achieved to send a float[] from a java supervisor...
It wants executing the piglet. Must do an environment set how from the webot, it will not know. Do how and probably it will be able to execute the piglet from...
Hi Olivier, I did reduce the bounce parameter of the ball. Also, as adviced by you I did reduce the bounce parameters of other objects such as the ground,...
Hello Dhaval, What you need to do is to add the aerodynamics drag force to your simulation ! Webots simulates correctly the gravitational force, motor forces,...
Hello Dhaval, Apparently your are using Windows ... I don't know much about visual studio, however, I can explain you how I did compile this code using MinGW...
hello all, I need to implement a robot omnidirecional in webots. robot with 3 sweedish wheels. Have anybody an example or model for webots? thanks leitejr...
Hello, The problem below is still present in version 5.1.7. (i.e. to send to several receivers listening to different channels within a single execution of the...
Hello. I am a new user of Webots. I am try to simulate a humanoid robot just lik the one in our lab. I just want to know how to develop our own controller for...
Hello, Some people will be working soon on improving the Emitter / Receiver API in Webots. The API will be based on packets instead of buffers which should fix...
The battery field is only useful for DifferentialWheels based robots. It is a facility which was introduced especially for the programming contests. It doesn't...
Hi, I would not recommend you to use Dev-C++. Instead, I would recommend you to use the Webots built-in editor which is well integrated with MinGW. You can...
hi can someone tell me if an LED on one robot can be detected by the light sensors of another? by changing the orientation of the LED will this alter the...
Hi Stevie, It not possible to detect the LED activity from a LightSensor node. Instead, you should use a Camera node to detect the color or status of a LED...
Hi Webots users, I would like to have some help with this robot... I am trying to replicate Prof. Yasuo Kuniyoshi's experiments with chaotic functions working...
hello to everyone, I have a simple question: is it possibile to debug a webots controller inside the visual studio environment, as one usually does with the...
hi paolo i debug my controllers by causing a protection fault with *((int*)NULL)=0 after that windows offers me to attach a debugger. it's kinda ugly, but it's...
Hi, I'm trying to detected a collision between a Servo of my robot and an other Servo of another robot. It detects the collision between the two Servos I'm...
Hi, Could anyone please give me a link to tutorials on webots C programming. Something from the basics. I have worked on it before but have lost touch since a...
Dear users, is there an ODE command to retrieve the relative position (angle) of a rotational servo? Using the rotation matrix or the dJointGetHingeAngle...
Hello Lorenzo, What about using dBodyGetRotation() to retrieve the rotation matrix (4x3) of each body ? http://www.ode.org/ode-latest-userguide.html#sec_6_2_0 ...