Skip to content
Snippets Groups Projects

WIP: Add getter for measurement covariance

Closed Valentin Volkl requested to merge vavolkl/acts-core:Add_CovarianceGetter into master

Fixes ACTS-305.

The proposed implementation is general in that it uses dynamic matrices, which comes at the expense of some performance. However, in the foreseen usecases (mainly debugging) this should not matter too much.

Edited by Valentin Volkl

Merge request reports

Checking pipeline status.

Approval is optional

Closed by avatar (Mar 10, 2025 12:27pm UTC)

Merge details

  • The changes were not merged into .

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Found 17 files with missing MPLv2 license statement:
    Core/src/Surfaces/RectangleBounds.cpp
    Core/src/Surfaces/LineBounds.cpp
    Core/src/Surfaces/TrapezoidBounds.cpp
    Core/src/Surfaces/RadialBounds.cpp
    Core/src/Surfaces/TriangleBounds.cpp
    Core/include/ACTS/Surfaces/BoundaryCheck.hpp
    Core/include/ACTS/Surfaces/EllipseBounds.hpp
    Core/include/ACTS/Surfaces/TrapezoidBounds.hpp
    Core/include/ACTS/Surfaces/LineBounds.hpp
    Core/include/ACTS/Surfaces/RectangleBounds.hpp
    Core/include/ACTS/Surfaces/PlanarBounds.hpp
    Core/include/ACTS/Surfaces/RadialBounds.hpp
    Core/include/ACTS/Surfaces/TriangleBounds.hpp
    Core/include/ACTS/Surfaces/DiscTrapezoidalBounds.hpp
    Core/include/ACTS/Surfaces/SurfaceBounds.hpp
    Core/include/ACTS/Surfaces/InfiniteBounds.hpp
    Core/include/ACTS/Utilities/detail/RealQuadraticEquation.hpp

  • :negative_squared_cross_mark: Jenkins Build FAILURE

    Results available at: Jenkins [ACTS-MERGE #201]

  • ATS Jenkins added 1 commit

    added 1 commit

    • 57d47896 - clang-format: enforce code style [ci-skip]

    Compare with previous version

  • Found 17 files with missing MPLv2 license statement:
    Core/src/Surfaces/RectangleBounds.cpp
    Core/src/Surfaces/LineBounds.cpp
    Core/src/Surfaces/TrapezoidBounds.cpp
    Core/src/Surfaces/RadialBounds.cpp
    Core/src/Surfaces/TriangleBounds.cpp
    Core/include/ACTS/Surfaces/BoundaryCheck.hpp
    Core/include/ACTS/Surfaces/EllipseBounds.hpp
    Core/include/ACTS/Surfaces/TrapezoidBounds.hpp
    Core/include/ACTS/Surfaces/LineBounds.hpp
    Core/include/ACTS/Surfaces/RectangleBounds.hpp
    Core/include/ACTS/Surfaces/PlanarBounds.hpp
    Core/include/ACTS/Surfaces/RadialBounds.hpp
    Core/include/ACTS/Surfaces/TriangleBounds.hpp
    Core/include/ACTS/Surfaces/DiscTrapezoidalBounds.hpp
    Core/include/ACTS/Surfaces/SurfaceBounds.hpp
    Core/include/ACTS/Surfaces/InfiniteBounds.hpp
    Core/include/ACTS/Utilities/detail/RealQuadraticEquation.hpp

  • test coverage result:
    Overall coverage rate:
    lines......: 33.9% (2844 of 8392 lines)
    functions..: 45.2% (1034 of 2288 functions)

    full test results can be found here

  • doxygen output:
    0 errors
    57 warnings
    full doxygen output can be found here

  • :white_check_mark: Jenkins Build SUCCESS

    Results available at: Jenkins [ACTS-MERGE #202]

378 378 static const SurfaceGetter sg = SurfaceGetter();
379 379 return boost::apply_visitor(sg, m);
380 380 }
381
382 struct CovarianceGetter
383 : public boost::static_visitor<const Eigen::Matrix<double,
  • 383 : public boost::static_visitor<const Eigen::Matrix<double,
    384 Eigen::Dynamic,
    385 Eigen::Dynamic>>
    386 {
    387 public:
    388 template <typename Meas_t>
    389 const Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>
    390 operator()(const Meas_t& m) const
    391 {
    392 return m.covariance();
    393 // return CovMatrix_t();
    394 }
    395 };
    396
    397 template <BOOST_VARIANT_ENUM_PARAMS(typename T)>
    398 const Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>
  • Valentin Volkl added 3 commits

    added 3 commits

    Compare with previous version

  • :negative_squared_cross_mark: Jenkins Build FAILURE

    Results available at: Jenkins [ACTS-MERGE #233]

  • ATS Jenkins added 1 commit

    added 1 commit

    • a8ada9ca - clang-format: enforce code style [ci-skip]

    Compare with previous version

  • :negative_squared_cross_mark: Jenkins Build FAILURE

    Results available at: Jenkins [ACTS-MERGE #234]

  • Valentin Volkl added 1 commit

    added 1 commit

    • d78854f0 - Don't return by const value

    Compare with previous version

  • :negative_squared_cross_mark: Jenkins Build FAILURE

    Results available at: Jenkins [ACTS-MERGE #237]

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading