View source for Talk:Fusion
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Robocode Repository most popular | 2 | 16:30, 10 October 2013 |
Error in the code | 0 | 16:17, 15 September 2013 |
AVG Velocity | 4 | 11:07, 9 September 2013 |
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Fusion/Robocode Repository most popular.
I'm not sure - I don't think Dan Lynn, the guy who runs the Robocode Repository, frequents the RoboWiki. So you might want to try and find a contact link on the site.
That said, Fusion is a really, really old bot. I wouldn't be surprised if the 56 downloads is the part that's wrong, not his spot in the most popular list.
I think there is a mistake in your code. It seems you have switched from degrees to radians, but not switched all of the actual math.
setTurnRightRadians(e.getBearing()+90-40*movementDirection);
This should actually be
setTurnRightRadians(e.getBearingRadians() + Math.PI/2 - (Math.PI/4.5)*movementDirection);
or
setTurnRightRadians(Math.toRadians(e.getBearing() + 90 - 40*movementDirection);
I know it may seem like segmented or statistical targeting, but is it truly? I myself am not sure. Maybe an expert can tell me.
It sounds like Circular Targeting but with averages instead of current values for speed/turn rate? If so, one of GrubbmGrb's guns is like that.
Yep, it is. Don't know anymore if it is only the speed averaged or also the turnrate, it is a bot from 2006. Main reason for the averaged gun was to be able to hit those pesky stop and go bots.
It is no problem to copy/lend ideas, otherwise this whole wiki would have no existence. In no way I was/am original in my ideas, but I try to be original in my implementation. It is about your translation of an idea to your situation and code. So feel free to develop the best averaged circular gun there is!