BicycleEater wrote: βFri Sep 01, 2023 4:15 pm
I don't see any reason why this would be noticably more UPS intensive. The operations involved are:
1. like 4 multiply operations to find the location the robot would recharge at
2. "find roboport to recharge at" (notably this operation would have had to be done anyway)
3. literally nothing else
I'm not clear why it's believed this problem exists, and I'd like you to explain what you think would be so UPS intensive
2. Why would they "have" to be done anyway? This operation is only done if the robot needs to charge, it's not done at all if it manages to go from point A to point B. So you're already adding redundant operations.
If you have a base optimized around robots most of the time they will be going straight from point A to point B.
Adding operations to check if they *can* make this trip is clearly more UPS intensive than not doing so.
I agree.Well, no, the implementation shown here is objectively better than the original, performing at least as well. Note that in the original, flying on low energy to the destination was not the behaviour the bots showed. They just got stuck. The new behaviour is an improvement.
I said it takes longer than going in a straight line, I didn't dispute that your implementation reduces travel time, just that it is more computational intensive.The solution we are proposing can *literally never* result in a longer path than the new behaviour.
I don't think this is the expected behavior, the last video doesn't seem to support it, either way it would be trivial to make it so it doesn't path to the same roboport it just came from. I'd also add that your solution doesn't fix it, it would still be possible to make bots get stuck, but I'd call that a base design issue and it's up to the players to fix it.No, the last part does not address it. If there is no closer roboport to the destination than the drone currently is, the drone will still turn around, away from the destination to recharge, at least, that's my interpretation.
You're adding redundant operations to bots behavior. I guess it would be better for poorly designed bases and worse for well designed ones.Also same as above, it doesn't seem to add any non-trivial performance cost to robot journeys.
You can make it so if the nearest roboport is the one they came from they just continue towards their destination.juliejayne wrote: βFri Sep 01, 2023 4:42 pm The "solution" for bots running out of fuel and turning back, seems like a good idea when you have it set up as in the example. But if their start point was the nearest roboport to their destination, it wouldn't help.
Why not treat the bots like ants. If x number of bots have to turn around then the next x don't. Instead they sacrifice themselves for the greater good and drop down transforming into temporary mini charge points. The next tranche of bots can then get further and maybe they too will have to sacrifice themselves at 2/3rds of the trip. But eventually they will get there, with their temporary charge point brothers and sisters charging and cheering them on.