Re: Re: webots 5.1.6 and 5.1.7

Olivier Michel <[email protected]> Fri, 29 Sep 2006 11:57:40 +0200
Newsgroups gmane.comp.cybernetics.webot.contest
Organization Cyberbotics Ltd.
Message-ID <[email protected]>
It seems that those 100 seconds correspond exactly to the time necessary 
to empty the battery and indeed, if you look at the battery level 
displayed in the robot window, the robot controller will die immediately 
when this level reaches 0. So, this is the normal behavior.

Please read my comments below for the other questions:
>
>     Hello Oliver,
>
>     We collected a couple of questions about these webots versions.
>
>     We used 5.1.6 under windows xp (because 5.1.7 became unstable there
>     after the controller modification), and version 5.1.7 under gentoo
>     linux.
>
Version 5.1.9 should be more stable than 5.1.7 as we fixed many small bugs.
>
>     1) In both versions the simulations are finished by the
>     environment after 100 seconds (independently from battery state).
>         Why does it happen? Can you disable it?
>
It works fine for me (the simulation stop when one of the robot reaches 
a 0 battery level). Did you display both robot battery level?
>
>     2) In both versions if you press the Alt or the Ctrl button, the
>     environment thinks you never release them,
>         so you have to revert the simulation to get the control back.
>     It is very disturbing after an Alt+Tab pressing.
>         Anyway the robot_keyboard_get_key function hardly notices the
>     keyboard events if we use a few (more than 3)
>         robot_console_printf function call in every simulation step
>     (we only tested it with the 5.1.6 version).
>
This should work much better in Webots 5.1.9. Can you give it a try?
>
>     3) In 5.1.7 version after the simulation finishes I think the
>     robot_die function is not called because the processes are killed
>         and the appropriate string is not printed on the console. It
>     works fine in the 5.1.6 version.
>
This was also fixed in Webots 5.1.9.
>
>     4) The webots internal text editor is always opened after a
>     simulation revert.
>         Can I disable it somehow? :)
>
No, if you don't have a registered version of Webots...
I could disable it by default, but I believe it's nice to see the text 
editor the first time you open the simulation world...
So, I am not sure whether or not we should disable it by default... 
Maybe I can create another version in which the text editor doesn't popup...
>
>     5) In the 5.1.7 version under linux, it is printed sometimes:
>
>                 transform field # = 0x3
>
>                 ** ERROR **: file api/scene_manager.c: line 140
>                 (scene_manager_read_transform_update): should not be
>     reached
>                 aborting...
>
>        Anyway I don't know when exactly, because I didn't notice any
>     problem in the environment because of it.
>
This should also be fixed in Webots 5.1.9.
>
>     6) I noticed that Aibos' don't have GPS. This info would be good
>     for us later in fitness functions, so I tried to
>         "simulate" GPS by the supervisor function, but I have two
>     questions about the emitter - reciever concept:
>
Real Aibos don't have a GPS...
>
>                 - How you can set the channel of a receiver like in
>     the case of emitter with emitter_set channel?
>
Webots 5.1.9 has a function to do it.
>
>
>                 - What are the receiver_get_x and receiver_get_z
>     functions?
>
These functions are not documented because they are not supported and 
may be bugged. They were used to know the relative x,z position of the 
emitter... I would recommend you not to use them.
>
>                   (these seem to be what is needed for GPS, but I
>     don't know how to use them
>                    and they are not in the API documentation)
>
>     7) Is that possible that the supervisor process pause the simulation?
>         For example to run a new thread from a robot controller which
>     makes some computation until the simulation is paused.
>
Not within the framework of the contest. Of course if you have a regular 
license of Webots, you can do it.

-Olivier



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/webots-contest/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/webots-contest/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/