Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0

Worldwide drone navigation


Hi everyone,

I'm trying to make a drone delivery service which works using pickup points. The drone departs at the warehouse, then it has to travel 28 thousand blocks (And possibly even more) to get to the spawn and from there it will either move to the next pickup point and drop off the order there or it will drop it off at the spawn and return to the warehouse. The only problem is that i need a navigation system to send the drone to chosen pickup point, and it will have to charge several times on its way. How would i do this, knowing that even the biggest map possible would not be enough to navigate from the warehouse to pickup point?

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I'm assuming that you fly your drones above the build limit to ensure that you don't hit obstacles

Call one point (probably either the start or world origin (x 0, y 0, z 0)) the 'origin', represented as x 0, y 0 and z 0.

Then you can put the start, every destination and every recharge node in a list with their coordinates relative to the origin and type and have your drones keep their x y and z position relative to the origin in a  (or multiple) variables.

When your drones move, they also add the dx, dy and dz arguments to their relative x, y and z respectively.

You can then set 'routes' from the start to each destination (probably just a list of the indexes of the different nodes in order) and have the drones go to each node and, do one of the following according to what it is:

  • Start: Report to the warehouse that you are home, recharge and listen for a network message of a new order and grab required items
  • Recharge node: Recharge until battery is about 99% full / whatever is needed to get to the next recharge node
  • Destination: Drop off items inside a chest and maybe also recharge

Then, you can listen at the warehouse for 'new order' messages and send them to one drone from the list of 'ready' drones and remove said drone from the list

When a drone reports that its home, you can add it to the list of 'ready' drones to use when a new order comes in.

You can send most of this data (nodes + routes) to the drone over a wireless network when the drone starts

Link to post
Share on other sites
  • 0
On 2/14/2022 at 3:40 PM, BrisingrAerowing said:

A relay system with multiple nodes (like Factorio Roboports) would probably work well. They could take in packages and sort them to send to other nodes.

This would work, but it'd be really expensive to do. I'll play around on a smaller scale.


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.