This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LtKillPuppy's profile picture

Remote-Excavator-Builder System

Started by LtKillPuppy, 10 December 2014 - 10:35 AM
LtKillPuppy #1
Posted 10 December 2014 - 11:35 AM
Introducing the Remote Excavator-Builder system, aka the REB!



You can use the REB to dig out 3d zones, or build 3d zones. You can control it from the turtle itself, or use its spiffy remote-control program via a wireless connection.

And that's about all it does. But it does both of those things very well, or at least I think so. :)/>

This was a fun little project I created on a friend's server to assist us with large-scale building of structures. We've used it to build underwater bases and lengthy rail tunnels, plus it was really handy for constructing large floors/ceilings for buildings.

Learn how to install and use REB right here.

Github repo of REB system. (Note, you will need to use max96at's github downloader for this project.)

Features of REB:
  • Can excavate a 3d area of nearly any size.
    • Note: REB is optimized for small digs, <64^3 blocks in size but can be used for larger.
    • Will automatically re-dig when moving upwards if it detects sand or gravel has fallen upon it.
      • Note this option does slow down the digging, so it is off by default.
  • Can build a 3d area of nearly any size.
    • REB turtle will utilize all blocks that it finds in its inventory, starting from the left-topmost and working its way down.
    • Will build from bottom-to-top and stop once it places the last block.
    • Can be configured to do destructive building (replacing every block) or to pause if it runs into a block.
  • Smart movement system, will fill in/dig out areas using alternating spirals.
    • Turtle can be paused mid-task, in case you need to move something or alter its inventory.
    • Turtle can be relocated to new area to begin a new task without having to break/drop turtle.
  • Auto-refuel system.
    • Auto-refuel system can be configured to accept fuel in first slot only, or any slot.
    • Amount of fuel items to burn at once can be configured, to minimize turtle wasting fuel.
  • Auto-unload system when excavating.
    • If a turtle detects all inventory slots are full, it will automatically return to unload its inventory.
    • Will also auto-unload at the end of excavation run.
    • Can be disabled for smaller projects when you don't want to place a chest.
  • Remote or direct control of turtle.
    • Drive the turtle directly from the turtle itself.
    • Use a wireless/wired modem via rednet on a remote computer to control the turtle.
    • Both programs use the same set of text commands to control the turtle.
  • Remote control application that is designed specifically for advanced pocket computers.
    • Remote will also work on a normal/advanced computer, but won't look as nice. :)/>
    • Remote program displays turtle status and:
      • Fuel amount and status.
      • Heart-beat pulse so you know it's working.
      • Turtle position and orientation.
      • Progress bar for current task.
      • Scrollable log of all messages the turtle has sent, for debugging problems.
  • Built-in reference navigation system which does not require GPS system.
  • Robust but simple packet system, including a "fake" local loop-back system.
  • Robust turtle management system with lots of failsafe/error checking.
Rieu #2
Posted 29 December 2014 - 04:44 AM
When trying to follow your instructions to download the program I get the following error: Github:67: attempt to index ? (a nil value)

I am using the Github Repo Downloader by max96at. Can you offer any help with this, or possibly put the code on the Computercraft forum?

Thanks
Rieu