Difference between revisions of "Talk:GresSuffurd/Version History"

From Robowiki
Jump to navigation Jump to search
(→‎0.2.27: wave mismatch?)
(→‎0.2.27: precise MEA simulation in gun)
Line 25: Line 25:
  
 
About that virtual guns not matching the real firing angle, I managed to get rid of it by marking the *previous* wave as the one with the bullet, and not the current one at the time of firing, because it was the previous wave that was used to aim the gun to its current angle. Don't know if you've accounted for this =) Good to hear that you've sorted that out with your 'brute force precise gunangle' implementation, I always love it when old school tech can be hacked to allow for modern improvements =) --[[User:Skilgannon|Skilgannon]] 05:56, 24 February 2011 (UTC)
 
About that virtual guns not matching the real firing angle, I managed to get rid of it by marking the *previous* wave as the one with the bullet, and not the current one at the time of firing, because it was the previous wave that was used to aim the gun to its current angle. Don't know if you've accounted for this =) Good to hear that you've sorted that out with your 'brute force precise gunangle' implementation, I always love it when old school tech can be hacked to allow for modern improvements =) --[[User:Skilgannon|Skilgannon]] 05:56, 24 February 2011 (UTC)
 +
 +
Ok, released it, although I'm not happy with the implementation. I had to use some tricks to be able to hit rambots ??!! I don't expect it to pass [[Firebird]] yet, but [[YersiniaPestis]] should be no threat anymore. --[[User:GrubbmGait|GrubbmGait]] 22:24, 28 February 2011 (UTC)

Revision as of 23:24, 28 February 2011

0.2.13

Great work! I'm curious to see what you changed - that's quite a huge jump at that rating. Just a tweak or two away from returning to the top 20. =) Congrats! --Voidious 21:59, 14 September 2009 (UTC)

Thanks, but I didn't change that much. Only the wallsegment calculation of the gun is done differently now, next to the very small imperfection in the fireangle to fool BulletCatcher. I used to calc that by extending the current direction of the enemy with 75/150 pixels. Now I assume the enemy orbits me at constant distance and I extend their path with Maximum Escape Angle. I did not expect 22 Glicko-points from that change. 0.2.13 should be compared against 0.2.11 btw, the imperfection of fireangle in 0.2.12 is to big and causes quite some difference in score against other bots besides BulletCatcher. --GrubbmGait 22:43, 14 September 2009 (UTC)

0.2.24

The addition of the second, decaying, gun brought less points than I expected. Although the four bots with the worst difference just seem to have 'unlucky' battles. When I improved the gungraphics, I found a bug that was present since the time I used a kind of Precise Intersection, October 2006. It turned out that the killing bullet was never processed in my gun.

A bigger problem is that my bullets are not always are where I expect them, they should be on the cyan line (gun 1) or on the orange line (gun 2, decayed), but sometimes the bullet is half a botwidth away from either line. I really have to look into that. I still have one improvement I want to make in the gun, next to cleaning up that messy Wave class, and then I will switch to movement, starting with some updated graphics. I really, really want to pass that 'Swedish block' in front of me, the gap to place 10 seems a bit to much for now. --GrubbmGait 10:44, 26 January 2011 (UTC)

Good luck with that Swedish block - you're so close! I still remember when I first found the rumble, thinking, "wow, German flag at #1, but Sweden has 2nd AND 3rd place!" =) Is half a bot width of error so bad? I check if my gun turn is within half a bot width. --Voidious 13:52, 26 January 2011 (UTC)

The sequence I work with is: Fire Gun - determine bulletpower - Calc Gunturn - endofturn. When calculating the gunturn on time T, i approximate the data on T+1, so on time T+1 the gun should be pointing exactly right. (and I check if gunturnremaining = 0). Maybe I have to check the rules in what order things happen when calling execute. It may be not so bad, but it struck me as not what I expected. --GrubbmGait 15:59, 26 January 2011 (UTC)

I'm pretty sure you have it right with regards to the order things happen when calling execute. I use that same gun sequence, and have tested it for precision of wave position and angles quite a bit. --Rednaxela 02:14, 28 January 2011 (UTC)

I think I found the problem. On T+1 I store the wave with the 'HOTAngle' of that tick. I should use the angle I approximated on time=T for T+1. The offset should be max 4 pixels, both bots braking, but on screen it seems a lot more. Oh well, at least I now have gungraphics that are not useless. --GrubbmGait 11:13, 28 January 2011 (UTC)

0.2.27

I finally know why my development for this version has such a poor performance. I am currently implementing a 'firing bin limitation' to simulate precise MEA in my gun. I implemented it with fixed bin-layout, meaning the first bin is located counterclockwise and the last bin clockwise. It performed ok, but sometimes I couldn't hit a simple full-speed orbital movement. So I got busy changing things without any clue, resulting in bullets fired 'mirrored' to the HOTangle, bullets always fired left, bullets always fired at extreme MEA etc etc. Finally, this morning the truth struck me. In my gun, I use relative bins and not fixed bins. I mean, relative first bin is in the opposite of enemies current direction, last bin is in the current direction of the enemy. So, this evening the fixed version will see the light and will start chasing Firebird. Note: that misalignment of real bullets and virtual guns still exists. --GrubbmGait 14:11, 23 February 2011 (UTC)

About that virtual guns not matching the real firing angle, I managed to get rid of it by marking the *previous* wave as the one with the bullet, and not the current one at the time of firing, because it was the previous wave that was used to aim the gun to its current angle. Don't know if you've accounted for this =) Good to hear that you've sorted that out with your 'brute force precise gunangle' implementation, I always love it when old school tech can be hacked to allow for modern improvements =) --Skilgannon 05:56, 24 February 2011 (UTC)

Ok, released it, although I'm not happy with the implementation. I had to use some tricks to be able to hit rambots ??!! I don't expect it to pass Firebird yet, but YersiniaPestis should be no threat anymore. --GrubbmGait 22:24, 28 February 2011 (UTC)