Darwinbots Forum

Welcome To Darwinbots => Newbie => Topic started by: hkwh on September 25, 2008, 07:11:05 AM

Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 07:11:05 AM
I am getting 1540.6 cycles per second for the simulation, it is NOT fast mode, please help how to slow the animation down? I can't watch the simulation at all its too fast!
Title: too fast animation!help!
Post by: Peter on September 25, 2008, 07:53:40 AM
Quote from: hkwh
I am getting 1540.6 cycles per second for the simulation, it is NOT fast mode, please help how to slow the animation down? I can't watch the simulation at all its too fast!
If it is right, somewhere at the upper panel there is a speed-limit buton. limits to 15 cyc/sec if right.

Atleast is use too. I don't use it. Mostly I just think my sims are too slow.

1540 is extremely fast. What sim do you have, or even better what monster of a computer do you have.
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 08:36:06 AM
Quote from: Peter
Quote from: hkwh
I am getting 1540.6 cycles per second for the simulation, it is NOT fast mode, please help how to slow the animation down? I can't watch the simulation at all its too fast!
If it is right, somewhere at the upper panel there is a speed-limit buton. limits to 15 cyc/sec if right.

Atleast is use too. I don't use it. Mostly I just think my sims are too slow.

1540 is extremely fast. What sim do you have, or even better what monster of a computer do you have.
(http://i28.photobucket.com/albums/c206/woohoi/gry.jpg)

the "limits to 15 cyc/sec " button is always gray for me, I can't press it ...I don't know why

the simulation is so fast that I only seeing some dots flashing around..
Am I install my program right?
I Install the setup of darwin 2.1 then I download the 2.44 exe and put it in the 2.1 folder.
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 10:15:12 AM
I suspect you have not specified any bots for your sim.  Do that via the species tab on the options dialog...
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 10:20:04 AM
I now know how to lower the cycles per seconds but the bots moving so fast like crazy and sometimes even bump inside the vegetable and shaking abnormally, can I lower the movement speed of the bots?
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 10:25:59 AM
I suspect the reason you sim is running so fast is that you too few bots in there.  It really would help if you could exit the simulator, look for a file called lastexit.sim in your \saves subdirectory and post that file to this topic.  That way I can investigate properly.

Welcome to DB by the way....
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 12:29:52 PM
ok now
I try to simulate Alga_Minimali and T_Preservans

In version 2.1 , I get over 100 Cycle per second all the time steadily with default setting.all bots move so fast and I am dizzy.But I like its particles and all their size are the same is good.

I donwloaded the 2.44exe and put it in my 2.1 folder

In version 2.4, I get about 40 Cycle per second in the first 3 minutes(I still feel the bots moving too fast) and 3.5 cycle per second after 5 minutes!!(so choppy the bots looks like warping but still moving fast, looks like jumping from a position to another further distance position) with default setting.

Alga_Minimali ticked vegetable and fix position
I also hate the particles in 2.4 , the particles shoot out so fast and too few.

I hope I can have a smooth, steady cycle per second, slower moving bot animation.Please tell how..Is it able to keeping 60 cycle per second all the time,robot move and turn slower,bots all in same size like in 2.1 or at least don't make it too small unable to see, I guess the smallest size shouldn't smaller than 2.1 but it can grow bigger,2.1particles system?
Title: too fast animation!help!
Post by: Peter on September 25, 2008, 12:58:17 PM
I gues I have a hunch what your problem is. You're using old bots into the new simulator. The phycics have changed somewhat. Becouse of that the 'old bots' can act strange.

Download some newer bots. Easiest way would be downloading a whole league. Look under the league-forum and you can download a whole pile of new bots in one time. They're zipped then trough.
You can also download them one at a time at the beastery.

Oh, and welcome.

DB doesn't use a graphics-partice system as far I know.

The smallest bots in DB2.44 can be really small. Most bots won't get that small.
(the new fruit-flies is an exeption, by the way)

Oh, and Eric if you read this. Put the old speed-limiter somewhere on your list todo. I can imagine that it would be handy in some cases.
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 01:00:08 PM
I just found a solution
In 2.1 I set max energy in the field to 1400000 and the cycle per second maintain 50-60.
I change the physic Moving faction = .4 ,friction =1 ,other=0

at least it looks better , stop bouncing and turning everywhere like crazy, I don't know can 2.44 able to do it..
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 01:07:23 PM
Quote from: Peter
I gues I have a hunch what your problem is. You're using old bots into the new simulator. The phycics have changed somewhat. Becouse of that the 'old bots' can act strange.

Download some newer bots. Easiest way would be downloading a whole league. Look under the league-forum and you can download a whole pile of new bots in one time. They're zipped then trough.
You can also download them one at a time at the beastery.

Oh, and welcome.

DB doesn't use a graphics-partice system as far I know.

The smallest bots in DB2.44 can be really small. Most bots won't get that small.
(the new fruit-flies is an exeption, by the way)

Oh, and Eric if you read this. Put the old speed-limiter somewhere on your list todo. I can imagine that it would be handy in some cases.
ooh I just read your post, do you have a link to the files of the new bots ? Will they move slower and not that small?the T_Preservans is really moving very fast and just tiny when I use it in 2.44...if it doesn't help I will just use 2.1 instead of 2.44
well I wonder why would the new bot and old bot will have difference?they are just programming using the same coding method!

The particles I means is the dots that robots shooting out, they are too few and too fast comparing to 2.1 version.
Title: too fast animation!help!
Post by: Peter on September 25, 2008, 01:20:59 PM
Quote from: Peter
I gues I have a hunch what your problem is. You're using
ooh I just read your post, do you have a link to the files of the new bots ? Will they move slower and not that small?the T_Preservans is really moving very fast and just tiny when I use it in 2.44...if it doesn't help I will just use 2.1 instead of 2.44
The particles I means is the dots that robots shooting out, they are too few and too fast comparing to 2.1 version.
Two of the leagues.

Formula 2 (http://www.darwinbots.com/Forum/index.php?act=attach&type=post&id=608)
Formula 1 (http://www.darwinbots.com/Forum/index.php?act=attach&type=post&id=615)

I don't know about all bots, some will go pretty fast. It are the leagues after all. But some will go slowly.

If you can't find a proper bot. Your saying about a slow bot reminds me about a multibot a made. Called 'Stupido something'. It is also pretty slow becouse fast movement where breaking the tie-connection in the multi-bot. It isn't a very smart bot if that would be what you''re looking for.
I found the link for my MB, Stupido Idiotus (http://www.darwinbots.com/Forum/index.php?showtopic=2230&hl=stupido) , if you think that would be something.
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 01:44:35 PM
Quote from: Peter
Quote from: Peter
I gues I have a hunch what your problem is. You're using
ooh I just read your post, do you have a link to the files of the new bots ? Will they move slower and not that small?the T_Preservans is really moving very fast and just tiny when I use it in 2.44...if it doesn't help I will just use 2.1 instead of 2.44
The particles I means is the dots that robots shooting out, they are too few and too fast comparing to 2.1 version.
Two of the leagues.

Formula 2 (http://www.darwinbots.com/Forum/index.php?act=attach&type=post&id=608)
Formula 1 (http://www.darwinbots.com/Forum/index.php?act=attach&type=post&id=615)

I don't know about all bots, some will go pretty fast. It are the leagues after all. But some will go slowly.

If you can't find a proper bot. Your saying about a slow bot reminds me about a multibot a made. Called 'Stupido something'. It is also pretty slow becouse fast movement where breaking the tie-connection in the multi-bot. It isn't a very smart bot if that would be what you''re looking for.
I found the link for my MB, Stupido Idiotus (http://www.darwinbots.com/Forum/index.php?showtopic=2230&hl=stupido) , if you think that would be something.

yes Stupido Idiotus has the suitable speed  well is the programming method of 2.44 is different from 2.1? I can't import Stupido Idiotus to 2.1 but only in 2.4..are there a new programming tutorial for 2.1? which one can be vegetable in the new robots?
I hope there is a option that can let the bot shoot out more quanity of particle in 2.44
Title: too fast animation!help!
Post by: Peter on September 25, 2008, 01:57:49 PM
Quote from: hkwh
yes Stupido Idiotus has the suitable speed  well is the programming method of 2.44 is different from 2.1? I can't import Stupido Idiotus to 2.1 but only in 2.4..are there a new programming tutorial for 2.1? which one can be vegetable in the new robots?
I hope there is a option that can let the bot shoot out more quanity of particle in 2.44
Nice, to hear it has the right speed. The reason you can't import is possible becouse stupido uses some minor calculations. I don't know if the first versions support that.
I haven't heard of a new programming tutorial, but there was a old bot tutorial from PY in the wiki. Newer tutorials are also there.

Any bot can be vegetable, just click the tab vegetable.

As far I know there isn't a option to increase quantity of the bots. A chance towards new version was that a bot can decide itself how much it shoots, or how far or how it spreats.
If you're looking for big 'amount' of shots I could think of helios, altrough it doesn't work in current versions.
Title: too fast animation!help!
Post by: Peter on September 25, 2008, 02:07:53 PM
Quote from: hkwh
I just found a solution
In 2.1 I set max energy in the field to 1400000 and the cycle per second maintain 50-60.
I change the physic Moving faction = .4 ,friction =1 ,other=0

at least it looks better , stop bouncing and turning everywhere like crazy, I don't know can 2.44 able to do it..
I just read your post .

Indeed, ofcourse that can be done in 2.44. There are more phycics options then in 2.1 . You can see it in the tab phycics and costs. Play with the setting and you will see. Now I understand your problems, if phycics are set easy ofcourse the bots move faster, why didn't I thought of that.
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 02:51:54 PM
I found that in 2.44 the bot can move inside the vegetable....can I make it not able to move inside the vegetable and bounce off vegetable surface?


also in 2.44 the Cycle per second drops to 2.9 after 5 minutes..in 2.1 it is always stable and steady, what should I set in 2.44 to keep the cycle per second stable at maybe 60?
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 02:58:29 PM
Collision elasticity on the Physics tab is what you want.

Sim speed is a function of many factors.  Unless you post your sim, it is difficult to help you.
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 03:31:48 PM
Alga_Minimali and T_Preservans

Super small and low cycle sim:
http://www.wikiupload.com/download_page.php?id=61994 (http://www.wikiupload.com/download_page.php?id=61994)

Screenshot:
(http://i28.photobucket.com/albums/c206/woohoi/sml.jpg)


Only Stupido Idiotus has better situation the all other bots get the same problem..
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 03:58:59 PM
4.4 cycles/sec with 457 bots in such close proximity is about the expected execution speed.  This Topic (http://www.darwinbots.com/Forum/index.php?showtopic=1683) may be helpful.

Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 04:23:02 PM
Quote from: EricL
4.4 cycles/sec with 457 bots in such close proximity is about the expected execution speed.  This Topic (http://www.darwinbots.com/Forum/index.php?showtopic=1683) may be helpful.

strange , I always get above 100 cycle in 2.1 although the field is fill with bots...
and in 2.44...so weird..hmm is it able to limit the bot population in 2.44?
Don't you think those bots are tiny..?
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 04:25:35 PM
2.44 does a lot more.  Also the cycles/sec may just be broken in that old version.  

You can limit populations using costs.  Auto costs in particular can keep a sim population within a specific range.




Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 04:27:11 PM
Quote from: EricL
2.44 does a lot more.  Also the cycles/sec may just be broken in that old version.  

You can limit populations using costs.  Auto costs in particular can keep a sim population within a specific range.
auto cost??do you mean f1 default?
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 04:30:33 PM
Quote from: hkwh
Don't you think those bots are tiny..?
Compared to what?  If you don't want bot size to vary with body, then feel free to use fixed bot radii.

Quote from: hkwh
auto cost??do you mean f1 default?
sorry, it's called Dynamic Costs Adjustment. On the Custom Costs dialog.
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 05:46:34 PM
the bots sometimes shoot out strange line in 2.4 which 2.1 version don't have :
(http://i28.photobucket.com/albums/c206/woohoi/line.jpg)

what is it?
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 05:51:16 PM
Its a movement vector - a visual representation of the bot's voluntary movement.  Turn it on/off via the View menu.
Title: too fast animation!help!
Post by: Numsgil on September 25, 2008, 06:04:01 PM
Why is the 15 cyc/sec button disabled?
Title: too fast animation!help!
Post by: hkwh on September 25, 2008, 06:06:42 PM
What setting are you using for 2.44? I want a best setting that I can watch the smoothest animation,can someone upload your setting file?

and the view option cant save!I have to untick the view such as vector movement everytime I open the program..
Title: too fast animation!help!
Post by: EricL on September 25, 2008, 06:54:00 PM
Quote from: Numsgil
Why is the 15 cyc/sec button disabled?
I wasn't aware that it was.  I've enabled it for the next release.
Title: too fast animation!help!
Post by: bacillus on September 26, 2008, 11:16:48 PM
The previous settings should be kept over loading, but maybe 2.44 is different. I suggest making the changes you want, then saving the settings under 'default.set'. The save/load settings button is at the bottom left corner of the settings window.
Title: too fast animation!help!
Post by: Peter on September 27, 2008, 01:42:16 AM
Quote from: bacillus
The previous settings should be kept over loading, but maybe 2.44 is different. I suggest making the changes you want, then saving the settings under 'default.set'. The save/load settings button is at the bottom left corner of the settings window.
I don't believe settings work right in 2.44 anyway. Just load a saved sim and you can take the settings from that.
Title: too fast animation!help!
Post by: EricL on September 27, 2008, 02:12:20 PM
Quote from: Peter
I don't believe settings work right in 2.44 anyway. Just load a saved sim and you can take the settings from that.
Settings work fine but not everything is saved into settings files (or sim files for that matter).  I have followed a philosophy that makes a distinction between those settings which are specific to a particular simulation and those settings which are not.  The former includes physics, costs, sim-options like field size, toroidal, no ties, fixed radii, species lists and so on.  The latter includes things like window positions and sizes, which graphs are open, whether the display is on or off and viewing options such as shot impact dots, resource gauges and movement vectors.   The state associated with these latter things IMHO should not be placed into either sim or settings files since they are really solely for the viewing pleasure of the human.  They have no impact on the sim itself and they should in fact should persist across multiple sim invocations.  You would not want all your graphs to close or your window positions and sizes to change every time you load a sim.   Instead these things  should be persisted in a sim-independent manner into their own INI file or the registry so that they persist across program invocations.  Unfortunately, today they are not persisted at all.  Doing this is on my list of work items but it is not high priority.  I think that most people would agree that it is not an undue hardship to re-open a graph, resize a window or turn-off a viewing option once each time they start the simulator.     I'll get to it someday, but not near term.