Comparing GoTo Surfing with True Surfing?

Jump to navigation Jump to search
Revision as of 1 September 2017 at 14:19.
The highlighted comment was created in this revision.

Comparing GoTo Surfing with True Surfing?

One thing that surprise me is that even if everything else is the same, GoTo movement typically scores worse than True Surfing. Does anyone reproduced this discover? Or I must made something wrong somewhere, which feels really bad.

    Xor (talk)13:06, 1 September 2017

    Again, when a True Surfer adds second wave surfing, the score increases a lot. When a GoTo Surfing adds second wave surfing, the score decreased a lot. Is this phenomenon common? Or is that just because adding another wave exploits some hidden bug in my code?

      Xor (talk)13:10, 1 September 2017

      It might be causing you to skip turns. Goto surfing does a lot more calculations in a single tick.

      Otherwise I would say it is a bug, maybe with the starting conditions of your second wave surfing. Most difficult to get right for me was aligning the time I switch to surfing second wave with when I actually stop surfing the first wave in my real movement.

        Skilgannon (talk)14:06, 1 September 2017
         

        I'm probably having the same problem as you. I'm not using my GoTo code right now just because it won't work, it's always worse. Anyway, visually I feel like I'm wasting too much dodging potential when I arrive to the destination and stop (of course if you choose a point further away, you will hit the wave while moving there, but it's just a consequence). In practice my robot never moves to more than, like, 25% of my MEA, which is pretty weird. Maybe it have something to do with this time aligning thing after all, may be it have to do with my point picking strategy.

        A important question: in usual GoTo movement, if moving to a point clockwise, it's impossible to hit the wave while reversing (ie, going counter-clockwise), right?

          Rsalesc (talk)14:31, 1 September 2017

          You don't have to stop, just adapt your speed that you arrive when the wave hits. Really stopping decreases your MEA.

            GrubbmGait (talk)15:32, 1 September 2017
             

            Exactly what GrubbmGait said. Take your predicted end velocity from the first wave and use it as start conditions for the second wave.

              Skilgannon (talk)16:19, 1 September 2017