Advertisement
Leo_Verto

Leosat README

Jan 5th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. LeoSat is a turtle operating system designed for remotely operated turtles floating at maximum height, serving as rednet nodes and GPS hosts simultaneously.
  2. It includes a login system to prevent unauthorized users from using administrative commands.
  3.  
  4. List of commands to user over rednet:
  5.  
  6. help: Returns basic info and list of commands (create a file called "help" and write something into it for custom help)
  7. ping: Returns PONG by default, returns location if GPS host is enabled
  8. pingmap: Returns a serialized table containing id, msg and distance of computers that answered a ping
  9. login <password>: Attempts to authenticate
  10. logout: Removes the current computer from the list of authenticated IDs
  11. up: Sends the turtle up into the sky, only works if there is enough fuel for traveling up and down, requires auth
  12. down: Sends the turtle back to the ground, requires auth
  13. reboot: Reboots the turtle, requires auth
  14.  
  15. The GPS host works similar to the built-in one, you can either provide coordinates manually or it will try to get them automatically from other hosts in range. You can also disable the feature manually.
  16.  
  17. Examples:
  18. leosat <x> <y> <z> uses these coordinates for the host (do not use the current y but the one you want the turtle to go to)
  19. leosat false disables the GPS host and does not attempt to get the coordinates
  20. leosat attempts to get the coordinates from other hosts in range, disables GPS host if unable to determine position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement