• Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 天前

    Couldn’t dont() just be an order to halt and goingToCrashIntoEachOther can be a simple true/false?

    So the drones both stop, then start moving and immediately see they will crash into each other so they halt again. Drone version of you go, no no you go

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 天前

      In my head, the drones were going so fast that just slamming into the brakes wasn’t enough and you’d rather have to dodge. Not sure, if that’s only in my head or if I actually saw the video of these drones a long time ago.

      But yeah, if they are going really slow, then that could work.
      Maybe you’d even have them back up a bit and then turn at a random angle before trying to continue flying, so you don’t end up in the deadlock you described. 🙃