Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LeoSat is a turtle operating system designed for remotely operated turtles floating at maximum height, serving as rednet nodes and GPS hosts simultaneously.
- It includes a login system to prevent unauthorized users from using administrative commands.
- List of commands to user over rednet:
- help: Returns basic info and list of commands (create a file called "help" and write something into it for custom help)
- ping: Returns PONG by default, returns location if GPS host is enabled
- pingmap: Returns a serialized table containing id, msg and distance of computers that answered a ping
- login <password>: Attempts to authenticate
- logout: Removes the current computer from the list of authenticated IDs
- up: Sends the turtle up into the sky, only works if there is enough fuel for traveling up and down, requires auth
- down: Sends the turtle back to the ground, requires auth
- reboot: Reboots the turtle, requires auth
- 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.
- Examples:
- 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)
- leosat false disables the GPS host and does not attempt to get the coordinates
- 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