Is there any website which shows Perseverance live / current position relative to earth or sun ?
(Because i couldnt find any so far)
Space Exploration Stack Exchange is a question and answer site for spacecraft operators, scientists, engineers, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
This is a great question! Hopefully there will be more answers, but I can think of two websites and one App that sort-of meet your specification but may not be exactly what you are looking for.
The second one (listed first because it's kind-of cool) is NASA JPL's Deep Space Network DSN-NOW; https://eyes.nasa.gov/dsn/dsn.html It is not exactly what you want and it will only occasionally display the Mars 2020 Mission as
M20 when communication is happening LIVE! At the moment that I'm writing this M20 shows on Goldstone's DSS24 with a status of "Setup / Teardown / Tracking". If it was communicating real data LIVE! you'd see a squiggly line coming out of the dish and you would be able display not only the distance but the direction in real time, and while the directions are not super-accurate ways to get the position they're close, and did I say they were LIVE!?
If you go to EYES and M20 is not there, you can poke around in their extensive log of contacts for all of the Deep Space Network. Understanding the information contained in the Deep Space Network XML data? and answers there give some url's and Python scripts to read them. You can write a script to sparsely sample .xml's (say spaced in 15 minute increments for one day) and then if you find a region of time where the M20 spacecraft code appears you can look further.
The first one I can think of is Horizons because I can to there any time and find out where Mars 2020 is almost certainly going to be. It is LIVE in the sense that you can get the position of Mars 2020 (Perseverance) right now as well as times in the future and the past. Since it's an ephemeris and NOT a live measurement, if the spacecraft suddenly fired up its engines and changed course all by itself, that would absolutely not show at all, until some time later when they'd remeasured, recalculated, and then updated the ephemeris. But since that's not likely to happen, you can pretty much think of it as live, in a sense.
Here is a Horizons tutorial and here is where Mars 2020 is at 14:25 UTC when this answer is posted
JD: 2459062.100694444, Date: A.D. 2020-Jul-31 Time: 14:25:00.0000, X(km or km/s) Y(km or km/s) Z(km or km/s) position 9.418850600743376E+07 -1.176268303108757E+08 1.476154837187082E+05 velocity 2.644540590547819E+01 1.963228187117516E+01 1.252159399481125E+00
There are now several automated ways to get state vectors from Horizons. While How exactly to use astroquery.jplhorizons to get the state vectors of Mercury and the Parker Solar Probe? remains unanswered, there may be eve better ways.
The page https://eyes.nasa.gov/ has a big button in the middle that says "Download the APP to get Started" and since I don't have it running anymore I can't say for sure if Mars 2020 is there or not. If it isn't already, it will be. It's a lot of fun, at least at first. When I ran it before it used to make the fan in my laptop run which I could never figure out why, but if you like video games at all you will probably really enjoy it for a while at least.
Appendix 1: Setup for Horizons:
Appendix 2: Screenshot of what DSN NOW looks like when Mars 2020 is mentioned (as M20):