Dear Sir, Thank you, yet again, for your advice. i am sorry for the late reply but I was engaged in some examinations at university. Now I will be working on...
Hi, I just implemented this camera_save_image(DeviceTag,const char *filename,int quality) for you in Webots 4.0.21. Please have a look at the reference about...
Hi to you all! I'm trying to transfer a controller which I've developed using Visual C++ under Windows to a real Khepera 2 robot, but I'm confused. I could...
david@...
May 5, 2004 10:27 am
494
Dave, I would recommand you to copy the Makefile.kros2 from the Webots/controllers/khepera directory (or khepera_k213, it's the same) to your own controller...
Dear Mr Michel, Thank you for getting that camera_save_image method ready. It will surely be useful. But I am currently using webots 3 and will upgrade to ver...
... Here is it: #include <png.h> int g_image_png_save(GImage *img,const char *filename) { int i; png_color_8 sig_bit; unsigned short w = img->width; unsigned...
Hello! Thanks a lot Olivier, it help me very much, I notice that at the beginning was a path error, I had the .c files were they should not be. But now I'm...
david@...
May 6, 2004 7:43 am
498
... Yes, you should create a kros directory in your controller directory (as in Webots/controllers/khepera and khepera_k213) ... There my be some harmless...
Hi all users, I'm a Spanish student that I'm doing my final project about simulation of two Robots by Webots. I need more information about supervisor ...
Hi gorka, take a look at the gps_supervisor example (which goes together with gps_supervised). I am also beginning with webbots and this is the example I used...
Dear Sir, Regarding saving image from the camera, I have put the following line in camera.h int camera_save_image(DeviceTag,const char *filename,int...
... I wouldn't recommand you to modify the camera.h file, but rather that you write your own PNG save functions in the source code of your robot controller. ...
... Are you sure you have a corresponding DEF name in the Webots world you use. If so, double-check the spelling. I would recommand you that you perform a...
Hello, I am using webots 3 now. I would like to know a little bit more about how time is handled in webots. I want my robot to travel some distance in the...
... A controller is in asynchronous mode when its synchronization field is set to FALSE. To run simulation which are not dependent on the computer speed, you...
Using Webots 4 in C:/Program Files/Webots MinGW from Dev-Cpp in C:/Dev-Cpp Trying to compile a single file, drive.c, fails on the link stage: gcc.exe -c...
Hi, This feature is new in Webots 4.0.21 (and wasn't in 4.0.20). Are you sure you are using this very last version of Webots ? I tryed with my development...
Any hints on how to debug a Webot controller using gdb? Or is there another debugger I should be using? Even so, how do I get the debugger to trace the...
Olivier, Thanks for including the camera_save_image() function. It makes it a lot easier to sort out what is going on. I don't think I understand how the ...
Under Linux, I use to do the following to debug controllers: 1) compile the controller with the -g gcc option, i.e., add "CFLAGS=-g" in the Makefile of the...
Detailed and helpful, thanks. On Mon, 24 May 2004 12:10:10 +0200, Olivier Michel ... -- Christopher Willmot Using M2, Opera's revolutionary e-mail client:...
Having done a little reading, more specific questions might help. Assuming a projection-screen model, what is the focal length of the camera (lens to screen)...
Chris, The image produced by the camera device is a simple OpenGL rendered image. It uses a perspective projection for the camera model as described in the...
Thanks again. Just what I was looking for. On Mon, 24 May 2004 14:26:48 +0200, Olivier Michel ... -- Christopher Willmot Using M2, Opera's revolutionary...
Olivier, When developing a webot, it is necessary to make and save small changes. In between, it is usually a good idea to run the simulation a little to see...
Sorry to be stupid, but I can't work out how to get a touch sensor to work. I have copied (and enlarged) the touch sensor from the bumper example, and put it...
I am trying to track the ball using a Supervisor. It has a node DEF BALL Solid { translation -0.5 0 0.2 rotation 0.707107 0 0.707107 2.62318 children [ Shape...