Skip to content

Commit

Permalink
Draw polar curve on polar overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei committed Sep 22, 2023
1 parent 1669c9f commit 31ddc43
Show file tree
Hide file tree
Showing 354 changed files with 149,030 additions and 60 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "gopro/gpmf-parser"]
path = gopro/gpmf-parser
url = https://github.com/gopro/gpmf-parser.git
[submodule "libInterpolate"]
path = libInterpolate
url = https://github.com/CD3/libInterpolate.git
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ find_package(Qt6 COMPONENTS Positioning)
find_package(Qt6 COMPONENTS Location)
find_package(Qt6 REQUIRED COMPONENTS Multimedia)


find_package(Boost ) # Required for libInterpolate
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
endif()

qt_add_executable(sailvue WIN32 MACOSX_BUNDLE
main.cpp
InstrDataReader.h
Expand Down Expand Up @@ -72,6 +78,8 @@ qt_add_executable(sailvue WIN32 MACOSX_BUNDLE
navcomputer/NavStatsEventsListener.h
navcomputer/NavStats.cpp
navcomputer/NavStats.h
navcomputer/Polars.cpp
navcomputer/Polars.h
)

target_include_directories(sailvue PUBLIC
Expand All @@ -81,6 +89,7 @@ target_include_directories(sailvue PUBLIC
gopro/gpmf-parser
gopro/gpmf-parser/demo
gui
libInterpolate/src
)

target_link_libraries(sailvue PUBLIC
Expand All @@ -93,6 +102,9 @@ target_link_libraries(sailvue PUBLIC
Qt6::Multimedia
)

enable_testing ()
add_subdirectory (test)

# Resources:
set(qml_resource_files
"gui/main.qml"
Expand Down
45 changes: 45 additions & 0 deletions Eigen/Cholesky
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

#ifndef EIGEN_CHOLESKY_MODULE_H
#define EIGEN_CHOLESKY_MODULE_H

#include "Core"
#include "Jacobi"

#include "src/Core/util/DisableStupidWarnings.h"

/** \defgroup Cholesky_Module Cholesky module
*
*
*
* This module provides two variants of the Cholesky decomposition for selfadjoint (hermitian) matrices.
* Those decompositions are also accessible via the following methods:
* - MatrixBase::llt()
* - MatrixBase::ldlt()
* - SelfAdjointView::llt()
* - SelfAdjointView::ldlt()
*
* \code
* #include <Eigen/Cholesky>
* \endcode
*/

#include "src/Cholesky/LLT.h"
#include "src/Cholesky/LDLT.h"
#ifdef EIGEN_USE_LAPACKE
#ifdef EIGEN_USE_MKL
#include "mkl_lapacke.h"
#else
#include "src/misc/lapacke.h"
#endif
#include "src/Cholesky/LLT_LAPACKE.h"
#endif

#include "src/Core/util/ReenableStupidWarnings.h"

#endif // EIGEN_CHOLESKY_MODULE_H
48 changes: 48 additions & 0 deletions Eigen/CholmodSupport
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

#ifndef EIGEN_CHOLMODSUPPORT_MODULE_H
#define EIGEN_CHOLMODSUPPORT_MODULE_H

#include "SparseCore"

#include "src/Core/util/DisableStupidWarnings.h"

extern "C" {
#include <cholmod.h>
}

/** \ingroup Support_modules
* \defgroup CholmodSupport_Module CholmodSupport module
*
* This module provides an interface to the Cholmod library which is part of the <a href="http://www.suitesparse.com">suitesparse</a> package.
* It provides the two following main factorization classes:
* - class CholmodSupernodalLLT: a supernodal LLT Cholesky factorization.
* - class CholmodDecomposiiton: a general L(D)LT Cholesky factorization with automatic or explicit runtime selection of the underlying factorization method (supernodal or simplicial).
*
* For the sake of completeness, this module also propose the two following classes:
* - class CholmodSimplicialLLT
* - class CholmodSimplicialLDLT
* Note that these classes does not bring any particular advantage compared to the built-in
* SimplicialLLT and SimplicialLDLT factorization classes.
*
* \code
* #include <Eigen/CholmodSupport>
* \endcode
*
* In order to use this module, the cholmod headers must be accessible from the include paths, and your binary must be linked to the cholmod library and its dependencies.
* The dependencies depend on how cholmod has been compiled.
* For a cmake based project, you can use our FindCholmod.cmake module to help you in this task.
*
*/

#include "src/CholmodSupport/CholmodSupport.h"

#include "src/Core/util/ReenableStupidWarnings.h"

#endif // EIGEN_CHOLMODSUPPORT_MODULE_H

Loading

0 comments on commit 31ddc43

Please sign in to comment.