Hexapod walk

Share with us how are you using the powerrrr of the force

Moderator: Alain

Hexapod walk

Postby Marmakoide » Fri Apr 28, 2006 6:28 am

Here it is two videos of a hexapod robot that walk :
http://www.lri.fr/~devert/videos

Physic engine = Newton Game Dynamics, of course :D
Graphic Engine = Ogre 3d
Controler = Dynamic system, limit cycle optimised by an evolutionary algorithm
Evolutionary algorithm framework = Open Beagle

Walking gaits optimisation time (Linux 2.6, Pentium 4 3 Ghz) :
Walk -> 0H15
Run -> 1H30

Thanks for all the help from Julio.
"Let's rock baby..."
User avatar
Marmakoide
 
Posts: 6
Joined: Tue Jun 14, 2005 5:38 pm
Location: Paris (France)

Postby aidave2 » Fri Apr 28, 2006 7:34 am

is it using some new codec?
videos wont play on my system
User avatar
aidave2
 
Posts: 56
Joined: Sun Jan 08, 2006 7:09 pm

Postby Marmakoide » Fri Apr 28, 2006 7:54 am

I used mencoder to build the video, with the following command line :
Code: Select all
mencoder mf://*.png -mf w=256:h=256:fps=25:type=png -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o araknid-28-04-2006.avi

The videos are played without problems at least with mplayer, xine and totem, within Linux (no Windows machine under the hand...)
"Let's rock baby..."
User avatar
Marmakoide
 
Posts: 6
Joined: Tue Jun 14, 2005 5:38 pm
Location: Paris (France)

Postby kallaspriit » Fri Apr 28, 2006 9:35 am

Tried with 4 different programs.. you should consider using something else to make the video.. :wink:
kallaspriit
 
Posts: 216
Joined: Sun Aug 14, 2005 6:31 pm

Postby Gianluca » Fri Apr 28, 2006 11:29 am

I don't have problems with videos!!
It is a interesting exapod :-)

kallaspriit ... try with a different O.S. (e.g. Linux) ;-)
Gianluca
 
Posts: 53
Joined: Fri Nov 11, 2005 4:37 am
Location: Rome - Italy

Postby Marmakoide » Fri Apr 28, 2006 12:28 pm

kallaspriit wrote:Tried with 4 different programs.. you should consider using something else to make the video.. :wink:

? I believe I use a Divix or Vidix encoding... Which codec I could use, to make available for my videos for Windows ?
"Let's rock baby..."
User avatar
Marmakoide
 
Posts: 6
Joined: Tue Jun 14, 2005 5:38 pm
Location: Paris (France)

Postby Julio Jerez » Fri Apr 28, 2006 12:29 pm

I can not play it either, I even tried to resample it with VirtualDub, but it sayd it is is using a unknown codec called FMP4
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Marmakoide » Fri Apr 28, 2006 12:33 pm

mplayer said that about the codec :
Code: Select all
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)


I think I can translate this to another codec... But which one ?
"Let's rock baby..."
User avatar
Marmakoide
 
Posts: 6
Joined: Tue Jun 14, 2005 5:38 pm
Location: Paris (France)

Postby Robert Isele » Fri Apr 28, 2006 3:33 pm

I couldn't play it either

I think I can translate this to another codec... But which one ?


i think MPEG2 is the most common one, but it produces bigger files than XVid and DivX.
So if size matters XVid is a better choice
Robert Isele
 
Posts: 1
Joined: Wed Feb 22, 2006 9:43 pm

Postby Julio Jerez » Fri Apr 28, 2006 7:51 pm

I finally saw the videos.
For thoss tah want to see you can download this codex
http://www.free-codecs.com/FFDShow_download.htm

Man the run cycle is absolutely awesome; you are telling me that the genetic algorithm came out with that solution all by itself.
The run cycle really looks organic and that it came out from an evolution process. I guess that having a clear feeback really improve the evolution of the genne and reduces the mutations that lead to such moronics solution like I had seen.
I have seen many creatures walking with thist algorithm with other engines, but I never saw one with such symmetry and coordination.
Congratulation, I am looking for to see more. :D :D

I most say that the walk cycle is not as impresive as the run.
one question after how many iteration did you get that result?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby The unProfessional » Fri Apr 28, 2006 9:46 pm

Careful with that codec... on my home machine it messed up playback of regular xvids.
The unProfessional
 
Posts: 131
Joined: Sun May 02, 2004 9:08 pm
Location: Southern California

Postby MiggyE » Mon May 01, 2006 1:44 pm

That's really cool! It has subtlety of movement that makes it look alive. Nice work!
MiggyE
MiggyE
 
Posts: 8
Joined: Fri Nov 12, 2004 8:33 pm

Postby Marmakoide » Tue May 02, 2006 2:22 am

Julio Jerez wrote:I finally saw the videos.
For thoss tah want to see you can download this codex
http://www.free-codecs.com/FFDShow_download.htm

Man the run cycle is absolutely awesome; you are telling me that the genetic algorithm came out with that solution all by itself.
The run cycle really looks organic and that it came out from an evolution process. I guess that having a clear feeback really improve the evolution of the genne and reduces the mutations that lead to such moronics solution like I had seen.

Absolutly, using the good inputs (angle insteads of force) is less noisy, so it allows a better exploration of the solutions space. The other important point is the design of the controler : made from CPGs (Central Pattern Generator, see Auke Jan Ijspeert papers). Basicly, it's a network of non-linear oscillators. Those oscillators are a simplified model of a neuron group found in the spinal cord of the lamprey.

Julio Jerez wrote:I have seen many creatures walking with thist algorithm with other engines, but I never saw one with such symmetry and coordination.
Congratulation, I am looking for to see more. :D :D

:oops: Impossible without a good physic engine...

Julio Jerez wrote:I most say that the walk cycle is not as impresive as the run.
one question after how many iteration did you get that result?


Here it is the parameters of the evolution :
* Genetic algoritm : CMAES
* Population : 15 individuals
* Mu+Lambda ratio : 2
* Fitness measure : distance performed by the robot

Walk cycle :
* 30 seconds of evaluation per individual
* 5 generations
* 0h15 to evolve
Well, 5 generations, it's mostly random search

Running cycle :
* 90 seconds of evaluation per individual
* 30 generations
* 1h30 to evolve

Very soon : a snake and an articulated 24 legs bug...
"Let's rock baby..."
User avatar
Marmakoide
 
Posts: 6
Joined: Tue Jun 14, 2005 5:38 pm
Location: Paris (France)

Postby Julio Jerez » Tue May 02, 2006 10:39 am

The runner look like one of those bottom feeder creature you see on those PBS documentary.
It would be intersecting to see if obstacle could be added to the landscape, also something like claws for feeding. It may be pushing too much but it would be a good challenge to se how the neural net record that kind of input.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Thomas » Wed May 03, 2006 3:33 am

wow, very cool! i am looking forward to the new creatures. :) (the vlc player (www.videolan.org) played the videos without the need for any codec.)

i am just curious. how far do such evolutionary simulations go currently? what would be possible with the world's fastest super computer for example? i find this very interesting. :)
Thomas
Moderator
Moderator
 
Posts: 65
Joined: Sat Nov 01, 2003 1:51 pm
Location: austria

Next

Return to User Gallery

Who is online

Users browsing this forum: No registered users and 10 guests