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

[ins] reset reference position from INS not from NAV #644

Merged
merged 8 commits into from
Feb 27, 2014
Merged

Conversation

gautierhattenberger
Copy link
Member

Nav is (almost) independent of the GPS which is a sensor and should only
be seen by the INS/AHRS subsystems.
It also allow to make shared INS filters more easily (example with
invariant filter).

Nav is (almost) independent of the GPS which is a sensor and should only
be seen by the INS/AHRS subsystems.
It also allow to make shared INS filters more easily (example with
invariant filter).
ins_impl.ltp_initialized = FALSE;
ins.hf_realign = TRUE;
ins.vf_realign = TRUE;
ins_reset_ground_ref();
Copy link
Member

Choose a reason for hiding this comment

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

I think calling it ins_reset_ltp_ref() would be more descriptive...

Copy link
Member Author

Choose a reason for hiding this comment

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

it is the same interface for utm and ltp, that's why I called it ground_ref

@flixr
Copy link
Member

flixr commented Feb 26, 2014

The gps include in navigation.c also seems to be not needed anymore now and can be removed, looks good to me otherwise....

@gautierhattenberger
Copy link
Member Author

unfortunately, we still need gps.h in nav for the GpsValid() function, but this should go in state in the end

@flixr
Copy link
Member

flixr commented Feb 26, 2014

Right, then maybe a comment at the include that it is needed for auto_nav from the flight plan...

flixr added a commit that referenced this pull request Feb 27, 2014
- reset reference position from INS not from NAV
- remove hf_realign, vf_realign from ins struct
- remove ins_realign_v and ins_realign_h API functions
- weak functions for things that don't need to be implemented in each algoritm
@flixr flixr merged commit 7cb1f8a into master Feb 27, 2014
@flixr flixr deleted the ins_reset branch February 27, 2014 17:53
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