WPILibC++
2027.0.0-alpha-4
Loading...
Searching...
No Matches
S3UKF.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
7
#include "
wpi/math/estimator/S3SigmaPoints.hpp
"
8
#include "
wpi/math/estimator/UnscentedKalmanFilter.hpp
"
9
#include "
wpi/util/SymbolExports.hpp
"
10
11
namespace
wpi::math
{
12
13
template
<
int
States,
int
Inputs,
int
Outputs>
14
using
S3UKF
=
15
UnscentedKalmanFilter<States, Inputs, Outputs, S3SigmaPoints<States>
>;
16
17
// Because S3UKF is a type alias and not a class, we have to use
18
// UnscentedKalmanFilter instead
19
extern
template
class
EXPORT_TEMPLATE_DECLARE
(
WPILIB_DLLEXPORT
)
20
UnscentedKalmanFilter<3, 3, 1, S3SigmaPoints<3>
>;
21
extern
template
class
EXPORT_TEMPLATE_DECLARE
(
WPILIB_DLLEXPORT
)
22
UnscentedKalmanFilter<5, 3, 3, S3SigmaPoints<5>
>;
23
24
}
// namespace wpi::math
S3SigmaPoints.hpp
SymbolExports.hpp
EXPORT_TEMPLATE_DECLARE
#define EXPORT_TEMPLATE_DECLARE(export)
Definition
SymbolExports.hpp:94
WPILIB_DLLEXPORT
#define WPILIB_DLLEXPORT
Definition
SymbolExports.hpp:36
UnscentedKalmanFilter.hpp
wpi::math::UnscentedKalmanFilter
A Kalman filter combines predictions from a model and measurements to give an estimate of the true sy...
Definition
UnscentedKalmanFilter.hpp:62
wpi::math
Definition
LinearSystem.hpp:20
wpi::math::S3UKF
UnscentedKalmanFilter< States, Inputs, Outputs, S3SigmaPoints< States > > S3UKF
Definition
S3UKF.hpp:14
wpi
math
estimator
S3UKF.hpp
Generated on
for WPILibC++ by
1.15.0