Talk:Fusion

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Error in the code016:17, 15 September 2013
AVG Velocity411:07, 9 September 2013
First page
First page
Next page
Next page
Last page
Last page

Error in the code

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);
Maribo (talk)16:17, 15 September 2013

AVG Velocity

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.

BeastBots (talk)00:56, 7 September 2013

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.

Voidious (talk)22:15, 7 September 2013

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.

GrubbmGait (talk)12:26, 8 September 2013

Thanks for letting me know. I did not want to copy anybody without permission.

BeastBots (talk)00:59, 9 September 2013

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!

GrubbmGait (talk)11:07, 9 September 2013
 
 
 
 
First page
First page
Next page
Next page
Last page
Last page