Hi Roberto,
Here is the patch. You need to apply it to the argos2 sources.
You find the original sources at this link:
http://iridia.ulb.ac.be/argos/upload/re ... 21.tar.bz2. Open a terminal and type these commands:
1. Download the sources:
Code: Select all
$ wget http://iridia.ulb.ac.be/argos/upload/releases/argos2-source-20120521.tar.bz2
2. Unpack them and go into the argos2 source directory:
Code: Select all
$ tar xf argos2-source-20120521.tar.bz2
$ cd argos2
3. Download the patch attached to this post and put it somewhere. In the following command I will refer to the location as $PATCHDIR.
4. Apply the patch (be sure to be in the argos2 directory!):
Code: Select all
$ patch -p1 < $PATCHDIR/argos2_20120521_realtime.patch
5. Build the code:
6. Make a package, for instance for Debian:
7. Remove the old version of argos you had:
8. Install the new package (make sure you're in the argos2 directory):
To use the new real-time flag when the visualization is not on, just add the attribute real_time="true" to the XML file:
Code: Select all
<experiment random_seed="12345" ticks_per_second="10" length="600" real_time="true" />
Let me know how it goes.
Cheers,
Carlo
I made ARGoS.