Weather satellite tracking application | Pyephem, TCP-socket and MIT app inventor

preview_player
Показать описание
First video! This video is not meant to be educational but if you would like to see a video on how I did this I could make one.
A little info on the program(s):
To host the TCP-socket I wrote a python program that also uses the pyephem package to calculate satellite location. The program accepts the client trying to connect and runs a while-loop that awaits data sent from the client, which is my phone in this case. The app on the phone establishes a connection to the socket using an extension to MIT app inventor and I have four buttons, one for each satellite, that send the satellite name to the TCP-socket host.
When the host receives the data I compare it to four values, each the name of each satellite, in a simple if-statement. If the if-statement runs into a true statement it sends the lat/long coordinates of the corresponding satellite to the client which it then displays in the app on a label that show all the data received from the host.
Thank you for watching:)
Рекомендации по теме
Комментарии
Автор

Which extension did you use in appinventor?

archanaprasad
welcome to shbcf.ru