Skip to content

Instantly share code, notes, and snippets.

@jkassemi
Created December 2, 2013 07:40
Show Gist options
  • Save jkassemi/7746307 to your computer and use it in GitHub Desktop.
Save jkassemi/7746307 to your computer and use it in GitHub Desktop.
Drone delivery range - RE: Amazon
Given
1) A drone can carry a recharge load for another drone
2) A drone can fly 2*X distance before a recharge
3) A drone must leave point A, reach point B, and return to point A.
If distance AB < X then no recharge is required.
If distance AB == 2X then
Drone 1 flies to <X
Drone 2 flies to <X, charges Drone 1, returns to A
Drone 1 flies to <2X
Drone 2 flies to >0X, charges Drone 1, returns to A
Drone 1 flies to 2X
Ah 1AM random thoughts that I don't have enough energy to put down full. In any case, the idea is that we can, as long as a drone is able to carry a full charge and return at X, cycle drones and charges to extend drone delivery ranges.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment