WPILibC++
2023.4.3-108-ge5452e3
WheelPositions.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 <concepts>
8
9
namespace
frc
{
10
template
<
typename
T>
11
concept
WheelPositions
=
12
std::copy_constructible<T> &&
requires
(T a, T
b
,
double
t) {
13
{ a -
b
} -> std::convertible_to<T>;
14
{ a.Interpolate(
b
, t) } -> std::convertible_to<T>;
15
};
16
}
// namespace frc
frc::WheelPositions
Definition:
WheelPositions.h:11
frc
Definition:
AprilTagPoseEstimator.h:15
units::b
b
Definition:
data.h:44
frc
kinematics
WheelPositions.h
Generated on Mon Jul 10 2023 17:02:45 for WPILibC++ by
1.9.4