-
Notifications
You must be signed in to change notification settings - Fork 69
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
The surface navball #1263
The surface navball #1263
Conversation
@@ -70,6 +71,7 @@ using physics::KeplerianElements; | |||
using physics::RotatingBody; | |||
using physics::RigidMotion; | |||
using physics::RigidTransformation; | |||
using physics::BodySurfaceFrameField; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alphabetize.
auto plotting_frame_as_body_surface_dynamic_frame = | ||
dynamic_cast<BodySurfaceDynamicFrame<Barycentric, Navigation>*>( | ||
&*plotting_frame_); | ||
if (plotting_frame_as_body_surface_dynamic_frame != nullptr) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use ==
and swap the branches.
@@ -908,24 +910,29 @@ std::unique_ptr<FrameField<World, Navball>> Plugin::NavballFrameField( | |||
public: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add TODO(phl): Clean up this mess!
.
CoordinateFrameField<Navigation, RightHandedNavball>>(), | ||
sun_world_position); | ||
std::unique_ptr<FrameField<Navigation, RightHandedNavball>> frame_field; | ||
auto plotting_frame_as_body_surface_dynamic_frame = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const
@@ -42,8 +42,6 @@ public partial class PrincipiaPluginAdapter | |||
private IntPtr plugin_ = IntPtr.Zero; | |||
|
|||
private bool display_patched_conics_ = false; | |||
[KSPField(isPersistant = true)] | |||
private bool fix_navball_in_plotting_frame_ = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reminds me that I'll need to update the Wiki to reflect the new UI.
Comments on #1263 and make the tests pass.
Which is flipped, as it happens.