LogicBots

LogicBots

Not enough ratings
3-3 allstars~configurable
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
308.379 KB
4 Mar, 2017 @ 3:44am
4 Mar, 2017 @ 6:43am
2 Change Notes ( view )

Subscribe to download
3-3 allstars~configurable

Description
*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 Comments
Trook  [author] 7 Mar, 2017 @ 3:15am 
Thx - Now i'm curious^^
Disentius 7 Mar, 2017 @ 3:07am 
Impressive stuff. :)
Going to pick it apart first, comment later.