WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
MerweUKF.hpp
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
10
11namespace wpi::math {
12
13template <int States, int Inputs, int Outputs>
14using MerweUKF = UnscentedKalmanFilter<States, Inputs, Outputs,
16
17// Because MerweUKF is a type alias and not a class, we have to use
18// UnscentedKalmanFilter instead
19extern template class EXPORT_TEMPLATE_DECLARE(WPILIB_DLLEXPORT)
21extern template class EXPORT_TEMPLATE_DECLARE(WPILIB_DLLEXPORT)
23
24} // namespace wpi::math
#define EXPORT_TEMPLATE_DECLARE(export)
Definition SymbolExports.hpp:94
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
Generates sigma points and weights according to Van der Merwe's 2004 dissertation[1] for the Unscente...
Definition MerweScaledSigmaPoints.hpp:28
A Kalman filter combines predictions from a model and measurements to give an estimate of the true sy...
Definition UnscentedKalmanFilter.hpp:62
Definition LinearSystem.hpp:20
UnscentedKalmanFilter< States, Inputs, Outputs, MerweScaledSigmaPoints< States > > MerweUKF
Definition MerweUKF.hpp:14