Hi If you want to adjust the Video time, you have to change the Basic Time Step in the WorldInfo node. You can find more information about it in the User Guide...
Hi Stevie, The only way is to use these supervisor_field_get(..) functions. I would recommend you to do it in the first iterations of the main loop (you can ...
Dear All, What is the value of M_PI dfined constant in webots it is in radians or degrees. Mr. Vinayak S. Nageli Scientis. Center For Artificial Intelligance...
Hello, M_PI is a standard C constant that represents the number pi, approx 3.1415... So it does not have units ... It is normally defined in the standard...
Hello, In summary, to make a real-time video, you must tune basicTimeStep and displayRefresh (WorldInfo) such that: basicTimeStep * displayRefresh = 1 / 25 ...
Hello I have been looking at the performance of my robot in simulation and the real robot. Everytime I increase the walking speed of the robot in simulation...
hi i know there is a supervisor_set_controller() function to allow a controller to be changed. is it possible for a supervisor to get the filename of a...
Hello Stephen, In the main() function of the controller: argv[0] is the executable file name: int main(int argc, char *argv[]) { printf("filename: %s\n",...
Hi everyone, I'm having some difficulty making controllers using borland C builder to work with webots. If I don't include the Controler.lib file I get a long...
Anthony Morse
anthony.morse@...
Feb 7, 2007 2:39 pm
1715
Hi everyone, It seems the problem is that MSVC uses a different format for it's .lib files, I either need the file Controller.lib in an OMF format, or the ...
Anthony Morse
anthony.morse@...
Feb 7, 2007 3:02 pm
1716
Dear Anthony, To convert the Controller.lib file from the MSVC format to the Borland format, there is a tool provided within your Borland environment. This ...
This will only work if the .lib file contains only commonly used commands. I can generate an appropriately formatted Controller_bcpp.lib file using this but...
Anthony Morse
anthony.morse@...
Feb 8, 2007 10:00 am
1718
hello, I would like to do some simulations using the draganflyer quadrotor helicopters (http:// www.rctoys.com/rc-products-catalog/RC-HELICOPTERS.html ) and I...
An update... We have a console application working using the khepera simulation and everything seems to be fine there, but what we want is an application using...
Anthony Morse
anthony.morse@...
Feb 8, 2007 1:25 pm
1720
That sounds very strange... On my side, I downloaded the free version of the Borland compiler and I could compile the void.c example. I created a Borland...
Dear All, I am trying to plot trajectories in 3d. I am using webots for simulating a manipulator. I created a PEN attached to the gripper and made a "canvas"...
Speranzon, Alberto
alberto.speranzon@...
Feb 13, 2007 5:14 pm
1723
Hello Alberto, The Pen device can only draw on the XZ-plane ... However, if you want you can add 3D OpenGL plot with Webots physics plugin function:...
please can you post your code if your "3d pen" works? thank you ... Da: webots-users@yahoogroups.com [mailto:webots-users@yahoogroups.com] Per conto di Yvan...
Hi, I have been investigating how to use the Visual C++ debugger with a Webots controller and it is actually very simple: Simply add the following line in your...
Hi Olivier, I sent you an email asking you how to implement a control panel for a custom robot. You said me we have an example of this based on the wxWidgets...
Hi Vicente, This sample controller program is included in recent versions of Webots and may not be included in 5.1.0 which is pretty old. In Webots 5.1.12, the...
Hi, I'm developing (trying...) a controller with C# and Visual Studio 2005. It is supposed that my main function has to call firstly the robot_live function,...
oohhhhh I'm stupid...I didn't think that I have the info in the .h files.... sorry... I'm not used to the C programing... Thanks once more ... 2005. ... ...
Hello Alberto, I don't have time to write the code for you but there is absolutely no doubt that this would work ! Basically you have to create a physics...
Hi, Is there any way to set the accumulated charge level of a battery charger from a supervisor? I want a switch in the environment to enable and disable the...
Anthony Morse
anthony.morse@...
Feb 21, 2007 2:37 pm
1733
Hello Tony, It is not possible to change the energy level of a charger, however what is possible is to control the energy level of the robots, and therefore...
Hi Yvan, Thanks for this, I'm still having a few problems though... What does assert(robot); do? this seems to cause compilation problems but without it...