question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for local satellite reference coordinate system

See original GitHub issue

In skyfield I want to calculate alt-az distance from one reference satellite to next (for antenna pointing simulation). My current workaround is to create the reference observer at sat1 height and calculate the alt-az angles:

    sat_observer = sat_ref.subpoint()
    ref_PoV = Topos(sat_observer.latitude, sat_observer.longitude, elevation_m=sat_observer.elevation.m)
    
    satellite = Sat(name)
    orbit = (satellite - ref_PoV).at(time[0])
    el, az, distance = orbit.altaz()

Code is able to calculate relative pointing angles at one time instance. This method is not working for absolute values as the alt-az reference always points to Earth north (the local observer coordinate system at satellite panel will rotate around alt axis in the next time instant).

It would be nice to have support for local coordinate system (LVLH frame) at satellite in skyfield to obtain the alt-az angles respective to this LVLH frame.

Further discussion can be found on stackexchange here.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
matijabrumatcommented, Dec 2, 2020

@brandon-rhodes, I managed to produce the LVLH coordinate frame and calculate the view angles. Minimal working example is published at stackexchange: https://space.stackexchange.com/questions/48796/local-observer-coordinate-system-at-satellite-panel-lvlh-coordinate-system

0reactions
brandon-rhodescommented, Dec 9, 2020

Thanks for the working example, complete with code! I should have time to take a look within the next couple of weeks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Coordinate Reference System and Spatial Projection - Earth Lab
Coordinate reference systems are used to convert locations on the earth which is round, to a two dimensional (flat) map.
Read more >
Specify a coordinate system—ArcGIS Pro | Documentation
A coordinate system is a reference framework that defines the position of features ... In a new, empty map or local scene, the...
Read more >
Coordinate reference system
coordinate reference system (CRS) is a coordinate-based local, regional or global system used to locate geographical entities. A spatial reference system ...
Read more >
Reference Frames Coordinate Systems - NASA / NAIF
This tutorial provides an overview of reference frames and coordinate systems. – It contains conventions specific to SPICE. • Details about the SPICE...
Read more >
Reference Frames in GNSS - Navipedia
WGS-84, is a unified terrestrial reference system for position and vector referencing. Indeed, the GPS broadcast ephemeris are linked to the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found