Satellite Tracking site

Satellite Tracking site

11 devlogs
5h 23m
•  Ship certified
Created by harry rogers

a simple site to track satellite using open apis

Timeline

Ship 1

1 payout of shell 137.0 shells

harry rogers

18 days ago

harry rogers Covers 11 devlogs

Hours of headaches later I HAVE DONE IT.
I spent a lot of time just thinking and working it out. I'm just so annoyed. it felt like it was gonna be a simple project. it ended up being way harder than I expected.

It was about 5 hours of coding, but so much more time just spent bashing my head against a wall.

Update attachment

Okay so I ditched my own algo as its was insanely incorrect and I'm and working on it being better but for now but now look at this. THIS TOOK WAY TO LONGG

Update attachment

Another dev log time. i have set up a node server to stream the json data and i finally rendered all the satellites

Update attachment

red dot is my calculations and green is the real data. i can see how far off my calcs are. its insane :(

Update attachment

I did something.

Update attachment

Math is messed up somewhere idk whats going on and what i did wrong but its progress

Update attachment

okay now works for json. and il work on the map after i sleep this was some real 3 am coding work and it was pain.

Update attachment

Well so what is J2. so earth is not a perfect round its fatter around the middle. Earths chubbiness ig is the j2 and it makes orbits wobble. so for better estimates I needed to calculate it. also needed to calculate drag for low earth sats. so i did that. this has effort reaffirmed what i know in school I'm good at maths if i have the equations anway enjoy more code :)))))

Update attachment

UPDATE LETS GOO so i got the lip down it taking wayyyy to long imo.
so im hating maths now but i love how this works next on the list is to get real geo cords and then put them on a map butt progress is going. anway enjoy some more of the 3 am code

Update attachment

OKAY MATHS I HATE IT. after research i needed a SGP4 Library and i thought im good at physics il make it my self. annnnnndddd the answer is why did i do this to myself. anyway here a code snippet from my lib for now

Update attachment

Ima write a step by step how I'm building this ig. Well I thought about using and API but then rate limiting and how certain sites use APIs like Space-Track.org use cookies and CelesTrak has no API, N2YO API only has objects above you. I'm going to get data from CelesTrak and then use TLE data (i just learnt about) and build my own js lib to use the TLE data to get the current pos in the sky. enjoy my project structure :)

Update attachment