http://robowiki.net/w/index.php?title=Thread:Talk:Path_Surfing/Reminds_me_of_what_I_was_working_on/reply_(2)&feed=atom&action=historyThread:Talk:Path Surfing/Reminds me of what I was working on/reply (2) - Revision history2024-03-29T04:59:04ZRevision history for this page on the wikiMediaWiki 1.34.1http://robowiki.net/w/index.php?title=Thread:Talk:Path_Surfing/Reminds_me_of_what_I_was_working_on/reply_(2)&diff=56597&oldid=prevKev: Reply to Reminds me of what I was working on2021-06-14T23:44:26Z<p>Reply to <a href="/wiki/Thread:Talk:Path_Surfing/Reminds_me_of_what_I_was_working_on" title="Thread:Talk:Path Surfing/Reminds me of what I was working on">Reminds me of what I was working on</a></p>
<p><b>New page</b></p><div>BeepBoop uses something like a lookup table (actually a kd tree) for finding paths, but a pretty small one. Given a current velocity, desired distance to travel, and desired ending velocity it outputs a "path" (sequence of 1s/-1s/0s corresponding to calling setAhead(100/-100/0)) that approximately meets those criteria. When its surfing, BeepBoop sets the desired distance to one that will take it to a low-danger area of the wave (kind of like GoTo surfing) and sets the desired end velocity to 8, -8, or 0 randomly, which means it will try out a variety of ways of getting to that area. It then precisely predicts the looked-up paths along with the standard going forward/backward/stopping paths true surfers use.</div>Kev