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

Hand Held GPS System

Started by nateracecar5, 28 March 2014 - 11:37 PM
nateracecar5 #1
Posted 29 March 2014 - 12:37 AM
This is a WIP! It's very feature lacking, and personally I wouldn't even download it at it's current stage.

I have created a GPS system with the Pocket Computers that allows you to enter a home location, and track your current location. All it does is print these two out, and I haven't implemented any new features yet. I plan on adding a four way compass to point where you should go to get home, and waypoints to change your home location.

If you would like to download it in it's very-pre-beta stage, you should enter the following in shell:

pastebin get DQEc7P86 gps

Remember, this is a WIP, and not even CLOSE to it's final stage. I have big plans, some of which I cannot accomplish without better knowledge, so if you don't mind, would you guys help add features to this application? I would like to look at your code, and see what I can learn from it! It would really help me, and be fun for you! So by all means, edit this thing!

Screenshots:
Spoiler




Hope you enjoy! And again:
Feel free to edit this and add features! Please upload them and show me so I can learn more things!
oeed #2
Posted 29 March 2014 - 12:57 AM
A compass would be awesome. Although, now I think about it without knowing the user's orientation it'd be rather hard.
CometWolf #3
Posted 29 March 2014 - 01:03 AM
A compass is entirely doable,although it would require movement to update. It would also require constant location tracking, idk how long the GPS triangulaiton takes, but it's probably faster than a player can move.
awsmazinggenius #4
Posted 29 March 2014 - 03:22 AM
I personally don't see how this is better than using a minimap, but if you want people to edit the code you may want to just add a license, just for legal reasons. The MIT license should do you fine, it permits almost anything and just doesn't let people hold you liable for problems.

Edit: Just put this at the bottom of your post:
License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Edited on 29 March 2014 - 02:24 AM
oeed #5
Posted 29 March 2014 - 04:31 AM
I personally don't see how this is better than using a minimap, but if you want people to edit the code you may want to just add a license, just for legal reasons. The MIT license should do you fine, it permits almost anything and just doesn't let people hold you liable for problems.

Edit: Just put this at the bottom of your post:
License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Well, if you don't have a minimap then it's better than nothing.
awsmazinggenius #6
Posted 29 March 2014 - 04:42 AM
Minimaps are normally client side - I don't see why you would use this instead of one, cause you can have one even if the server doesn't use it.
nateracecar5 #7
Posted 29 March 2014 - 12:39 PM
I personally don't see how this is better than using a minimap, but if you want people to edit the code you may want to just add a license, just for legal reasons. The MIT license should do you fine, it permits almost anything and just doesn't let people hold you liable for problems.

Edit: Just put this at the bottom of your post:
License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

I know what you mean, this was just a little experiment for me to try out. I want to see what I can do with what little knowledge I have, and learn more from it.

It looks like Lyqyd has made a gps, so go check his out instead. :D/>
Edited on 29 March 2014 - 11:40 AM
apemanzilla #8
Posted 04 April 2014 - 07:52 PM
"Handheld Global Positioning System system"

Heh