Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added visibility status to struct predict_observation. #36

Merged
merged 3 commits into from
Oct 5, 2015
Merged

Conversation

bjorgan
Copy link
Member

@bjorgan bjorgan commented Oct 4, 2015

Added new field to struct predict_observation. Will result in extra call to sun prediction within predict_observe_orbit, if that is acceptable. Otherwise, we could create a new function.

@@ -287,6 +287,8 @@ struct predict_observation {
double range_x, range_y, range_z;
///Range velocity (km/s)
double range_rate;
///Visibility status, whether satellite can be seen through optical means
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding: The satellite is "visible" if all of these apply:

  • The satellite is in sunlight
  • The satellite is above the horizon
  • The sun is low enough to make the sky so dark that the satellite is visible (this obviously depends on a definition of darkness)

The short description of the variable is OK, but I'd like to see a longer description containing all the details.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've written a longer comment (commit a41ccb8).

@ryeng
Copy link
Contributor

ryeng commented Oct 5, 2015

If we want several definitions of "dark enough", I think we'll need to make separate functions for this. See also #17 (comment).

But I'm fine with the current solution for now if we create an issue to look at this in the future.

ryeng added a commit that referenced this pull request Oct 5, 2015
Add visibility status to struct predict_observation.

Closes #33.
@ryeng ryeng merged commit 07e03ef into master Oct 5, 2015
@bjorgan bjorgan deleted the issue33 branch October 5, 2015 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants