Difference between revisions of "User talk:Zyx/Radar Widest Area Angle"

From Robowiki
Jump to navigation Jump to search
(Question for Starrynte)
(I think you are right)
Line 4: Line 4:
  
 
Hmm... well, I may be mistaken... but thinking this over, I'm pretty sure turning the radar towards the center will always do the same as this 'widest area angle' indeed... --[[User:Rednaxela|Rednaxela]] 01:53, 17 October 2009 (UTC)
 
Hmm... well, I may be mistaken... but thinking this over, I'm pretty sure turning the radar towards the center will always do the same as this 'widest area angle' indeed... --[[User:Rednaxela|Rednaxela]] 01:53, 17 October 2009 (UTC)
 +
 +
: I will add small check to see if turning to the center gives the same result as this code, but I think you are both right, intuitively it seems to have the same output and code is so much simpler :-/. About not adjusting, I call the adjust method in the onScannedRobot event and at the beginning I set to turn radar, gun and bot. But that is for 1v1 and not melee. --[[User:Zyx|zyx]] 05:08, 17 October 2009 (UTC)

Revision as of 06:08, 17 October 2009

In one of my melee bots (now retired), I set the radar, gun, and robot to turn towards the center, and not to adjust gun and radar for robot turn until after 3 ticks. Not sure if this would have a similar effect --Starrynte 01:10, 17 October 2009 (UTC)

Is disabling 'adjust xxx for yyy turn' really needed? I wouldn't expect it to be needed... hmm --Rednaxela 02:43, 17 October 2009 (UTC)

Hmm... well, I may be mistaken... but thinking this over, I'm pretty sure turning the radar towards the center will always do the same as this 'widest area angle' indeed... --Rednaxela 01:53, 17 October 2009 (UTC)

I will add small check to see if turning to the center gives the same result as this code, but I think you are both right, intuitively it seems to have the same output and code is so much simpler :-/. About not adjusting, I call the adjust method in the onScannedRobot event and at the beginning I set to turn radar, gun and bot. But that is for 1v1 and not melee. --zyx 05:08, 17 October 2009 (UTC)