WPILibC++
2025.0.0-alpha-1-24-g6478ba6
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.Interpolate(
b
, t) } -> std::convertible_to<T>;
14
};
15
}
// namespace frc
frc::WheelPositions
Definition:
WheelPositions.h:11
frc
Definition:
AprilTagDetector_cv.h:11
units::b
b
Definition:
data.h:44
frc
kinematics
WheelPositions.h
Generated on Sun Jul 7 2024 13:45:43 for WPILibC++ by
1.9.4