LogicBots

LogicBots

评价数不足
3-3 allstars~configurable
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
308.379 KB
2017 年 3 月 4 日 上午 3:44
2017 年 3 月 4 日 上午 6:43
2 项改动说明 ( 查看 )

订阅以下载
3-3 allstars~configurable

描述
*updated: Some adjustments to further improve the accuracy. Just figured out that the position of the gps-marker IS important -.-

Configureable to get all stars with ease!
Config.1 - fast & cheap: r-sensor OR l-sensor -> gps-marker, accuracy = 1.5, precision = 5
Config.2 - cheap & bonus: r-sensor AND l-sensor -> gps-marker, accuracy = 5, precision = 3
(accuarcy and precision refer to the central 'static value gate')

*Tested config.2 multiple times at full speed and it has been very reliable. However If it fails to detect or pinpoint mines just lower the accuracy/precision even more or run the sim at normal speed.

How it works:
Step
x = step*acc
mult = cos(180*step)
y = 7.5 - 7.5*mult
0
0
1
0
1
1*acc
-1
15
2
2*acc
1
0
3
3*acc
-1
15
...
  • The step-counter increases when the distance falls below 0.5 due to the clamp
  • X simply is a multiple of the actual step number
  • Cosinus is used to convert even and odd steps into multipliers of 1 and -1
  • They now allow to easily swap the Y-coordinates each step
  • Et voilà, a hopefully cheap way to create a zigzag grid with an adjustable spacing \o/


feedback/thumbs appreciated :) ty!
2 条留言
Trook  [作者] 2017 年 3 月 7 日 上午 3:15 
Thx - Now i'm curious^^
Disentius 2017 年 3 月 7 日 上午 3:07 
Impressive stuff. :)
Going to pick it apart first, comment later.