Difference between revisions of "GITS/Targeting"

From Robowiki
Jump to navigation Jump to search
Line 1: Line 1:
'''GITS Targeting''' - ([[GITS_Targeting_Source|Source]])
+
'''GITS Targeting''' - ([[GITS/Targeting/Source|Source]])
 
----
 
----
 
(The original Targeting formula is from the [[WaveSurfing_Challenge/Bot_B|WaveSurfing Challenge Bot B]] from this [[Linear_Targeting|Code Snippet]].)
 
(The original Targeting formula is from the [[WaveSurfing_Challenge/Bot_B|WaveSurfing Challenge Bot B]] from this [[Linear_Targeting|Code Snippet]].)
  
Improvements:
+
==Improvements==
 +
These are improvements I made to the targeting formula.
  
'''RadarSweep''' (extremely buggy): RadarSweep is a little glitch that I educe to expand the Radar Coverage. It's improved the detection of robots, but it also improved the chance of the Robot to switch between shooting at two different robots if they are close together.
+
===RadarSweep (extremely buggy)===
 +
RadarSweep is a little glitch that I educe to expand the Radar Coverage. It's improved the detection of robots, but it also improved the chance of the Robot to switch between shooting at two different robots if they are close together. I have this disabled until I can refine it further.
  
'''PowerConserve''': PowerConserve is a start on trying to stop firing at a target just before it's destroyed to conserve power for damage buffering (if needed). Further testing and tweaking is needed to figure out the minimum energy at different distances needed to shut off the gun.
+
===PowerConserve===
 +
So far, PowerConserve has been a huge success. The gun will fire the correct amount of bullets within medium distances from GITS (on a 800x600 field). It will, however, overshoot by one or two if the target is far away or undershoot by one if the target is extremely close to GITS. This has also only been tested on static terms (i.e., GITS standing still and SittingDuck). Theoretically, GITS should always be spot on if it was a dynamic test, since Robots never stand still in battle. I'm also going to implement a dynamic Bullet Power script that'll further improve PowerConserve's ability by limiting the Max Power of the Bullet (if needed) to kill the other robot (instead of the static 3.0 power).

Revision as of 16:19, 15 May 2009

GITS Targeting - (Source)


(The original Targeting formula is from the WaveSurfing Challenge Bot B from this Code Snippet.)

Improvements

These are improvements I made to the targeting formula.

RadarSweep (extremely buggy)

RadarSweep is a little glitch that I educe to expand the Radar Coverage. It's improved the detection of robots, but it also improved the chance of the Robot to switch between shooting at two different robots if they are close together. I have this disabled until I can refine it further.

PowerConserve

So far, PowerConserve has been a huge success. The gun will fire the correct amount of bullets within medium distances from GITS (on a 800x600 field). It will, however, overshoot by one or two if the target is far away or undershoot by one if the target is extremely close to GITS. This has also only been tested on static terms (i.e., GITS standing still and SittingDuck). Theoretically, GITS should always be spot on if it was a dynamic test, since Robots never stand still in battle. I'm also going to implement a dynamic Bullet Power script that'll further improve PowerConserve's ability by limiting the Max Power of the Bullet (if needed) to kill the other robot (instead of the static 3.0 power).