WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
MerweUKF.h
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
7#include <wpi/SymbolExports.h>
8
11
12namespace frc {
13
14template <int States, int Inputs, int Outputs>
15using MerweUKF = UnscentedKalmanFilter<States, Inputs, Outputs,
17
18// Because MerweUKF is a type alias and not a class, we have to use
19// UnscentedKalmanFilter instead
20extern template class EXPORT_TEMPLATE_DECLARE(WPILIB_DLLEXPORT)
22extern template class EXPORT_TEMPLATE_DECLARE(WPILIB_DLLEXPORT)
24
25} // namespace frc
#define EXPORT_TEMPLATE_DECLARE(export)
Definition SymbolExports.h:94
#define WPILIB_DLLEXPORT
Definition SymbolExports.h:36
Generates sigma points and weights according to Van der Merwe's 2004 dissertation[1] for the Unscente...
Definition MerweScaledSigmaPoints.h:28
A Kalman filter combines predictions from a model and measurements to give an estimate of the true sy...
Definition UnscentedKalmanFilter.h:62
Definition SystemServer.h:9