Skip to content

[sample] Apollo moon program nagivation filter demonstration #260

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ filter.update(position_x, position_y, variometer);
- 1x1x1 constant velocity dynamic model filter of the [1-dimension position of a dog](sample/kf_1x1x1_dog_position.cpp).
- 2x1x1 constant acceleration dynamic model filter of the [1-dimension position and velocity of a rocket altitude](sample/kf_2x1x1_rocket_altitude.cpp).
- 8x4 constant velocity dynamic model filter of the [2-dimension position and velocity of the center, aspect ratio, and height of a bounding box](sample/kf_8x4x0_deep_sort_bounding_box.cpp).
- [Apollo guidance, navigation, and control](sample/apollo.cpp).

# Installation

Expand Down Expand Up @@ -313,6 +314,7 @@ Resources to learn about Kalman filters:
- [How Kalman Filters Work](https://www.anuncommonlab.com/articles/how-kalman-filters-work) by Tucker McClure of An Uncommon Lab.
- [Wikipedia Kalman filter](https://en.wikipedia.org/wiki/Kalman_filter) by Wikipedia, the free encyclopedia.
- [Applications of Kalman Filtering in Aerospace 1960 to the Present](https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=5466132) by Mohinder S. Grewal and Angus P. Andrews. IEEE 2010.
- [R-649: The Apollo Rendezvous Navigation Filter Theory, Description and Performance, Volume 1 of 2](https://archive.org/details/R649Volume1) by Eugene S. Muller, Jr., and Peter M. Kachmar.

## Projects

Expand Down
2 changes: 1 addition & 1 deletion sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ foreach(SAMPLE "kf_1x1x0_building_height.cpp" "kf_1x1x0_liquid_temperature.cpp"
endforeach()

foreach(SAMPLE_EIGEN
"ekf_4x1x0_soaring.cpp" "kf_2x1x1_rocket_altitude.cpp"
"apollo.cpp" "ekf_4x1x0_soaring.cpp" "kf_2x1x1_rocket_altitude.cpp"
"kf_6x2x0_vehicle_location.cpp" "kf_8x4x0_deep_sort_bounding_box.cpp")
get_filename_component(NAME ${SAMPLE_EIGEN} NAME_WE)
add_executable(kalman_sample_eigen_${NAME}_driver ${SAMPLE_EIGEN})
Expand Down
20 changes: 20 additions & 0 deletions sample/apollo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include "fcarouge/kalman.hpp"

#include <cassert>

namespace fcarouge::sample {
namespace {
//! @brief Estimating...
//!
//! @copyright This example is transcribed from R-649: The Apollo Rendezvous
//! Navigation Filter Theory, Description and Performance, Volume 1 of 2.
//!
//! @see https://archive.org/details/R649Volume1
//!
//! @details ...
//!
//! @example apollo.cpp
[[maybe_unused]] auto apollo{[] { return 0; }()};

} // namespace
} // namespace fcarouge::sample